The error is because of the new RubyGems version, not because of Rails 2. require_gem is deprecated. Replace all instances of require_gem with just gem
E.g. old ---- require_gem 'activesupport' new ----- gem 'activesupport' On Jan 22, 2008, at 3:31 PM, Yudi Soesanto wrote: > Guys, > Application: beast-1.0 > > Aku baru aja upgraded rails 2.0 di mac with these command; > - gem update --system > - gem install rails > > and my beast application is broken now. Waktu aku coba run script/ > server, I > got few errors, > > macbooks-computer:~/Desktop/work/beast-1.0 macbook$ script/server > => Booting Mongrel (use 'script/server webrick' to force WEBrick) > => Rails application starting on http://0.0.0.0:3000 > => Call with -d to detach > => Ctrl-C to shutdown server > ** Ruby version is up-to-date; cgi_multipart_eof_fix was not loaded > ** Starting Mongrel listening at 0.0.0.0:3000 > ** Starting Rails with development environment... > Exiting > /usr/local/lib/ruby/gems/1.8/gems/ruby-openid-1.1.4/lib/openid/ > discovery.rb:8: > undefined method `require_gem' for main:Object (NoMethodError) > from > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require' > from > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require' > from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/ > lib/active_support/dependencies.rb:496:in > `require' > from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/ > lib/active_support/dependencies.rb:342:in > `new_constants_in' > from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/ > lib/active_support/dependencies.rb:496:in > `require' > from /usr/local/lib/ruby/gems/1.8/gems/ruby-openid-1.1.4 > /lib/openid/consumer.rb:7 > from > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require' > from > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require' > ... 48 levels... > from /usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2 > /lib/commands/server.rb:39 > from > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require' > from > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require' > from script/server:3 > > > Ada yg tahu solusinya? kalau perlu detailnya, please let me know. > > Thanks, > -- > Yudi Soesanto > > > [Non-text portions of this message have been removed] > > > > ID-Ruby > Berdiskusi dan belajar bersama Bahasa Pemrograman Ruby, termasuk > segala varian Ruby (JRuby, Rubinius, IronRuby, XRuby), dan program > yang dibuat dengan Ruby (Ruby on Rails, JRuby on Rails) > > http://news.gmane.org/gmane.comp.lang.ruby.region.indonesia > > > Yahoo! Groups Links > > > Regards, Kamal

