我使用Ruby 1.8.7,Rails 2.2.2和RubyGems 1.6.2
几个小时前,我安装了所有要求,然后使用
在rails app上制作了一个演示rubyrails demo
然后启动服务器,它工作正常! 重新启动计算机后,我尝试通过
创建一个新应用程序rails depot
它给了我以下错误: -
/home/vagrant/.rbenv/versions/1.8.7-p374/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/basic_object.rb:22: uninitialized constant ActiveSupport::BlankSlate (NameError)
from /home/vagrant/.rbenv/versions/1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:54:in `gem_original_require'
from /home/vagrant/.rbenv/versions/1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:54:in `require'
from /home/vagrant/.rbenv/versions/1.8.7-p374/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support.rb:25
from /home/vagrant/.rbenv/versions/1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:54:in `gem_original_require'
from /home/vagrant/.rbenv/versions/1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:54:in `require'
from /home/vagrant/.rbenv/versions/1.8.7-p374/lib/ruby/gems/1.8/gems/rails-2.2.2/bin/../lib/rails_generator.rb:28
from /home/vagrant/.rbenv/versions/1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:54:in `gem_original_require'
from /home/vagrant/.rbenv/versions/1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:54:in `require'
from /home/vagrant/.rbenv/versions/1.8.7-p374/lib/ruby/gems/1.8/gems/rails-2.2.2/bin/rails:13
from /home/vagrant/.rbenv/versions/1.8.7-p374/bin/rails:19:in `load'
from /home/vagrant/.rbenv/versions/1.8.7-p374/bin/rails:19
我尝试从我之前制作的演示应用程序运行服务器,它也发出错误: -
/home/vagrant/.rbenv/versions/1.8.7-p374/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/basic_object.rb:22: uninitialized constant ActiveSupport::BlankSlate (NameError)
from /home/vagrant/.rbenv/versions/1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:54:in `gem_original_require'
from /home/vagrant/.rbenv/versions/1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:54:in `require'
from /home/vagrant/.rbenv/versions/1.8.7-p374/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support.rb:25
from /home/vagrant/.rbenv/versions/1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:54:in `gem_original_require'
from /home/vagrant/.rbenv/versions/1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:54:in `require'
from /home/vagrant/.rbenv/versions/1.8.7-p374/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/server.rb:1
from /home/vagrant/.rbenv/versions/1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:54:in `gem_original_require'
from /home/vagrant/.rbenv/versions/1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:54:in `require'
from script/server:3
请帮忙!