尝试在具有服务器文件夹的目录中运行时,我一直遇到此问题。在其他地方,它很好,并说 Rails 3.2.8。这是问题消息:(我使用 ruby 1.9.2 )
$ rails -v
/Users/ngockhanhdao/.rvm/gems/ruby-1.9.2-p320/gems/railties-3.2.8/lib/rails/script_rails_loader.rb:11: warning: Insecure world writable dir /usr/local in PATH, mode 040777
Could not find builder-3.0.0 in any of the sources
Run `bundle install` to install missing gems.
我安装了bundle,它说:
$ sudo bundle install
/Users/ngockhanhdao/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find bundler (>= 0) amongst [actionmailer-3.2.8, actionpack-3.2.8, activemodel-3.2.8, activerecord-3.2.8, activeresource-3.2.8, activesupport-3.2.8, arel-3.0.2, builder-3.0.3, erubis-2.7.0, hike-1.2.1, i18n-0.6.1, journey-1.0.4, json-1.7.5, mail-2.4.4, mime-types-1.19, multi_json-1.3.6, polyglot-0.3.3, rack-1.4.1, rack-cache-1.2, rack-ssl-1.3.2, rack-test-0.6.2, rails-3.2.8, railties-3.2.8, rdoc-3.12, rubygems-update-1.8.24, sprockets-2.1.3, thor-0.16.0, tilt-1.3.3, treetop-1.4.10, tzinfo-0.3.33] (Gem::LoadError)
from /Users/ngockhanhdao/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'
from /Users/ngockhanhdao/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems.rb:1231:in `gem'
from /Users/ngockhanhdao/.rvm/gems/ruby-1.9.2-p320@global/bin/bundle:22:in `<main>'
谢谢