有谁知道这个错误意味着什么?我之前输入了相同的命令并且它工作得很好,但后来我销毁了控制器并设置了我的密钥。这就是我对我的应用所做的一切。之后,每当我尝试创建一个新的控制器时,我都会收到此错误。
zoltan@zoltan-VPCYB3V1E:~/website$ rails generate controller StaticPages home --no-test-framework
/home/zoltan/.rvm/rubies/ruby-2.0.0-p481/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- active_support (LoadError)
from /home/zoltan/.rvm/rubies/ruby-2.0.0-p481/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/vendor_ruby/railties/lib/rails_generator.rb:30:in `<top (required)>'
from /home/zoltan/.rvm/rubies/ruby-2.0.0-p481/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /home/zoltan/.rvm/rubies/ruby-2.0.0-p481/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/vendor_ruby/railties/bin/rails:16:in `<main>'
答案 0 :(得分:1)
当您输入“rvm gemset list”时,您看到了什么?