On 25 December 2010 01:39, Colin Law <clan...@googlemail.com> wrote: > On 24 December 2010 14:31, Marnen Laibow-Koser <li...@ruby-forum.com> > wrote: > > Colin Law wrote in post #970471: > >> On 24 December 2010 12:16, Gordon Yeong <anexi...@gmail.com> wrote: > >>>> You have not provided the gem list output > >>> > >>> > >>> Here: > >>> > >>> ------- Start ----- > >>> *** LOCAL GEMS *** > >>> actionmailer (2.3.9) > >>> actionpack (2.3.9) > >>> activemodel (3.0.3) > >>> activerecord (3.0.3, 2.3.9) > >> > >> So you have some rails gems from 2.3.9, some from 3.0.3 and some from > >> both, and in environment.rb you ask for 2.3.5. I don't know why that > >> would cause it to say it was loading 2.3.2 > > > > Probably because it's picking up 2.3.2 from vendor/rails. > > Good point, I had not thought of that. I should have done. > > > > >> but it is certainly never > >> going to work as it is. > > > > Why do you say that? > > I said it because I had not thought of a version frozen in vendor, > which I think is a perfectly good reason for saying it, even though as > a statement of truth it is fatally flawed :) > > I did notice that it's picking up 2.3.2 from vendor/rails. I removed vendor/rails and when I ran "script/console", it does not look for 2.3.2 anymore. Instead, it was 2.3.8 (as i specified "RAILS_GEM_VERSION = '2.3.8' unless defined? RAILS_GEM_VERSION" in my config/environment.rb. I then looked up all the gems in http://rubygems.org/gems/ and made sure the versions were the right ones as per my working development and production machines. Problem solved but i somehow think removing vendor/rails is not so right....
-- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.