seyhunak / twitter-bootstrap-rails

Twitter Bootstrap for Rails 6.0, Rails 5 - Rails 4.x Asset Pipeline
https://github.com/seyhunak/twitter-bootstrap-rails
4.5k stars 1k forks source link

Get 'Could not find commonjs-0.2.7 in any of the sources' Error 'when generate bootstrap:install' #917

Closed MarsWang42 closed 7 years ago

MarsWang42 commented 7 years ago

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 7 years ago

Solved by killing the spring.