Get 'Could not find commonjs-0.2.7 in any of the sources' Error 'when generate bootstrap:install'
MarsWang42 opened this issue · 1 comments
MarsWang42 commented
Hi, I'm a newcomer for rails. I followed by the guidance in my Gemfile as
gem "therubyracer"
gem "less-rails" #Sprockets (what Rails 3.1 uses for its asset pipeline) supports LESS
gem "twitter-bootstrap-rails"
But when I run rails generate bootstrap:install static
to install the bootstrap, I've got the error message Could not find commonjs-0.2.7 in any of the sources
. Tried almost all the way, including reinstalling therubyrace, libv8, but nothing works. Anybody can help?
The version I've installed is
twitter-bootstrap-rails (3.2.2)
therubyracer (0.12.2)
I'm using osx 10.11.6, ruby 2.3.1, rails 5.0.0.1
MarsWang42 commented
Solved by killing the spring.