0

dilip@linuxmint~ rails new treebook

/home/dilip/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/site_ruby/1.9.1/rubygems/core_ext  /kernel_require.rb:53:in `require': cannot load such file -- active_support (LoadError)
from /home/dilip/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:53:in `require'
from /usr/lib/ruby/vendor_ruby/railties/lib/rails_generator.rb:30:in `<top (required)>'
from /home/dilip/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:53:in `require'
from /home/dilip/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:53:in `require'
from /usr/lib/ruby/vendor_ruby/railties/bin/rails:16:in `<main>'

谁能帮我解决这个错误?

4

2 回答 2

1

确保你已经完成

    gem install rails

另外,请确保您拥有对 gem 的所有适当权限(即它们不属于 root)

于 2013-10-08T15:08:02.623 回答
0

确保已安装 Rails,然后使用命令

捆绑安装

于 2013-10-08T15:49:49.030 回答