相关疑难解决方法(0)

bundle install不安装所有依赖项

我在Mac OS X上,当我运行sudo bundle install时,它在目标机器上安装了几个gem:

Installing ptools (1.2.1) 
Using thor (0.14.6) 
Using railties (3.0.5) 
Using rails (3.0.5) 
Installing rails_config (0.2.4) 
Using shoulda (2.11.3) 
Your bundle is updated! Use `bundle show [gemname]` to see where a bundled gem is installed.
imac-cf:gnymbus apple$ rails console
Could not find rake-0.9.2 in any of the sources
imac-cf:gnymbus apple$ sudo gem install rake-0.9.2
ERROR:  Could not find a valid gem 'rake-0.9.2' (>= 0) in any repository
imac-cf:gnymbus apple$ sudo gem install rake -v=0.9.2
Successfully installed …
Run Code Online (Sandbox Code Playgroud)

rubygems ruby-on-rails

3
推荐指数
2
解决办法
2万
查看次数

标签 统计

ruby-on-rails ×1

rubygems ×1