我安装了新的 Ruby (2.0) 和 Rails 4.0,当我执行“Rails new test_app”时,我得到以下信息。有人遇到这个吗?
[devuser@devbox ~]$ rails new test_app
/usr/local/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in
require': cannot load such >file -- active_support (LoadError) from /usr/local/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in
require' 来自 /usr/local/lib/ruby/gems/2.0.0/gems/railties-4.0.0。 beta1/lib/rails/generators.rb:4:in ><top (required)>' from /usr/local/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in
require' 来自 /usr/local/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:inrequire' from /usr/local/lib/ruby/gems/2.0.0/gems/railties->4.0.0.beta1/lib/rails/commands/application.rb:28:in
' 来自 /usr/local/lib/ ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:inrequire' from /usr/local/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in
require' 来自 /usr/local/lib/ruby/gems/2.0.0/gems/railties-4.0.0.beta1/lib/rails/cli .rb:15:in<top >(required)>' from /usr/local/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in
来自 /usr/local/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:inrequire' from /usr/local/lib/ruby/gems/2.0.0/gems/railties-4.0.0.beta1/bin/rails:7:in
' 来自 /usr/local/bin/rails:23:inload' from /usr/local/bin/rails:23:in
'