[Rails] Re: upgrading from Rails 2.1.0 to 3.0 the "right way" makes my head hurt

2011-03-27 Thread Matt Jones
On Mar 25, 2:00 pm, "sol.manager" 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 > # > Exception class: > NameError > > I did some investigating and realized that on

[Rails] Re: upgrading from Rails 2.1.0 to 3.0 the "right way" makes my head hurt

2011-03-25 Thread sol.manager
I have been debating this same thing. There are so many changes that have been made since our site was first built (late 2006) that I almost wonder if starting a clean site from blank, fixing all the gems that need replacing, replacing test with Rspec and then regenerating the models, controllers a

[Rails] Re: upgrading from Rails 2.1.0 to 3.0 the "right way" makes my head hurt

2011-03-25 Thread sol.manager
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 # 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.

Re: [Rails] Re: upgrading from Rails 2.1.0 to 3.0 the "right way" makes my head hurt

2011-03-25 Thread Adrian Perez
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/25/2011 11:22 AM, Paul wrote: > I don't know if this is feasable in your case, but I'd be tempted to > start a brand new project in Rails 3, try to get the Gemfile correct > and work out problems there, generate scaffolding for all your > control

Re: [Rails] Re: upgrading from Rails 2.1.0 to 3.0 the "right way" makes my head hurt

2011-03-25 Thread Andre Joseph Cubeta
+1 on this, me too, i thought I can upgrade easily but it's different so I used RVM. So from 2.3.8 to 3.0.1 rails using RVM Thanks! Andre On Mar 25, 2011, at 11:22 PM, Paul wrote: > I don't know if this is feasable in your case, but I'd be tempted to > start a brand new project in Rails 3,

Re: [Rails] Re: upgrading from Rails 2.1.0 to 3.0 the "right way" makes my head hurt

2011-03-25 Thread Paul
I don't know if this is feasable in your case, but I'd be tempted to start a brand new project in Rails 3, try to get the Gemfile correct and work out problems there, generate scaffolding for all your controllers, etc, from scratch, then use a diff tool to move your existing code into the new files

[Rails] Re: upgrading from Rails 2.1.0 to 3.0 the "right way" makes my head hurt

2011-03-25 Thread Matt Jones
On Mar 24, 5:48 pm, "sol.manager" wrote: > We have an app that is at Rails 2.1.0 and our web developer has let us > know going to 3.0 will cost some money. I have embarked on a personal > project to see what is involved in getting from 2.1.0 to 3.0. I have > the app up and running on 2.2.2 (with