-1
from /home/rakesh/.rvm/gems/ruby-1.8.7-p374/gems/rails-2.3.5/lib/initializer.rb:298:in `add_gem_load_paths'
    from /home/rakesh/.rvm/gems/ruby-1.8.7-p374/gems/rails-2.3.5/lib/initializer.rb:132:in `process'
    from /home/rakesh/.rvm/gems/ruby-1.8.7-p374/gems/rails-2.3.5/lib/initializer.rb:113:in `send'
    from /home/rakesh/.rvm/gems/ruby-1.8.7-p374/gems/rails-2.3.5/lib/initializer.rb:113:in `run'
    from /home/rakesh/rails/rankfedena/config/environment.rb:6
    from /home/rakesh/.rvm/rubies/ruby-1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:112:in `gem_original_require'
    from /home/rakesh/.rvm/rubies/ruby-1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:112:in `require'
    from /home/rakesh/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require'
    from /home/rakesh/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in'
    from /home/rakesh/.rvm/gems/ruby-1.8.7-p374/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require'
    from /home/rakesh/.rvm/gems/ruby-1.8.7-p374/gems/rails-2.3.5/lib/commands/server.rb:84
    from /home/rakesh/.rvm/rubies/ruby-1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:64:in `gem_original_require'
    from /home/rakesh/.rvm/rubies/ruby-1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:64:in `require'
    from ./script/server:3
4

2 回答 2

7

将您的宝石更新到 1.8.25

gem update --system 1.8.25

可能会帮助你很多。

于 2014-03-11T08:01:53.197 回答
0

您可能可以更好地格式化您的问题,以便收到更多回复。根据您所写的内容,这有点模糊/难以理解。

试试这个,看看它是否对你有任何帮助。Gem:Module (NoMethodError) 的未定义方法“source_index”

于 2013-09-05T16:23:34.157 回答