Could not find gem

D:\Ruby\projects\demo1>bundle install --local
Resolving dependencies...

Could not find gem 'uglifier (>= 1.0.3) x86-mingw32' in the gems available on this machine.


Solution:

D:\Ruby\projects\demo1>bundle install --gemfile=Gemfile
Fetching source index from https://rubygems.org/
Resolving dependencies...
Installing rake (10.0.4)
Using i18n (0.6.1)
Installing multi_json (1.7.2)
Using activesupport (3.2.13)
Using builder (3.0.4)
...

...

Using rails (3.2.13)
Using sqlite3 (1.3.7)
Installing uglifier (1.3.0)
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
Post-install message from rdoc:
Depending on your version of ruby, you may need to install ruby rdoc/ri data:

<= 1.8.6 : unsupported
 = 1.8.7 : gem install rdoc-data; rdoc-data --install
 = 1.9.1 : gem install rdoc-data; rdoc-data --install
>= 1.9.2 : nothing to do! Yay!



你可能感兴趣的:(Ruby)