I tried to freeze Rails version 1.2.3, but after doing so I get this error when starting my development server: ./script/../config/../vendor/rails/railties/lib/initializer.rb:43:in `send'': undefined method `install_gem_spec_stubs'' for #<Rails::Initializer:0x2b70410> (NoMethodError) from ./script/../config/../vendor/rails/railties/lib/initializer.rb: 43:in `run'' from ./script/../config/boot.rb:46:in `load_initializer'' from ./script/../config/boot.rb:38:in `run'' from ./script/../config/boot.rb:11:in `boot!'' from ./script/../config/boot.rb:109 from C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:27:in `gem_original_require'' from C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:27:in `require'' from ./script/server:2 from -e:4:in `load'' from -e:4 Anyone have any ideas as to why this is happening? Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, if you used the following command to freeze Rails: rake rails:freeze:edge a) update your environment.rb by making sure that it contains RAILS_GEM_VERSION = ''2.1.1'' b) run the following command in the root of your rails application: rake rails:update rake rails:freeze:gems a) run the following command in the root of your rails application: rake rails:update Good luck, -Conrad On Fri, Sep 5, 2008 at 10:43 PM, Dan <dankim3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I tried to freeze Rails version 1.2.3, but after doing so I get this > error when starting my development server: > > ./script/../config/../vendor/rails/railties/lib/initializer.rb:43:in > `send'': undefined method `install_gem_spec_stubs'' for > #<Rails::Initializer:0x2b70410> (NoMethodError) > from ./script/../config/../vendor/rails/railties/lib/initializer.rb: > 43:in `run'' > from ./script/../config/boot.rb:46:in `load_initializer'' > from ./script/../config/boot.rb:38:in `run'' > from ./script/../config/boot.rb:11:in `boot!'' > from ./script/../config/boot.rb:109 > from C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:27:in `gem_original_require'' > from C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:27:in `require'' > from ./script/server:2 > from -e:4:in `load'' > from -e:4 > > > Anyone have any ideas as to why this is happening? Thanks. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Sounds like you''ve got a mismatch between the version of rails frozen and the boot.rb in your app. rake rails:update should update boot.rb to the correct version. Fred On 6 Sep 2008, at 06:43, Dan <dankim3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I tried to freeze Rails version 1.2.3, but after doing so I get this > error when starting my development server: > > ./script/../config/../vendor/rails/railties/lib/initializer.rb:43:in > `send'': undefined method `install_gem_spec_stubs'' for > #<Rails::Initializer:0x2b70410> (NoMethodError) > from ./script/../config/../vendor/rails/railties/lib/ > initializer.rb: > 43:in `run'' > from ./script/../config/boot.rb:46:in `load_initializer'' > from ./script/../config/boot.rb:38:in `run'' > from ./script/../config/boot.rb:11:in `boot!'' > from ./script/../config/boot.rb:109 > from C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:27:in `gem_original_require'' > from C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:27:in `require'' > from ./script/server:2 > from -e:4:in `load'' > from -e:4 > > > Anyone have any ideas as to why this is happening? Thanks. > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---