On Mar 25, 2:00 pm, "sol.manager" <sol.mana...@gmail.com> wrote: > When I change the Rails gem version from 2.2.2 to 2.3.4 and restart > the site, I get: > Error message: > undefined local variable or method `version_requirements' for > #<Rails::GemDependency:0x102b8d988> > Exception class: > NameError > > I did some investigating and realized that on my system I cannot > generate a new app in 2.3.4, 2.3.5 or 2.3.8, but I can in 2.2.2, > 2.3.11 and of course 3.0.x. From my limited understanding there is a > conflict with the version of rubygems for these. I did an experiment > and jumped from 2.2.2 to 2.3.11 and this error disappears (to be > replaced with a different one). This is why I am trying to see what > versions I can skip over. >
Yep, Rubygems deprecated the version_requirements method a while back and then dropped it in the last month or so. I'd recommend you skip the versions that don't work, or figure out how to get a <1.6 version of Rubygems running (not recommended). --Matt Jones -- 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@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.