On Tue, Feb 22, 2011 at 8:28 AM, korssane korssane <li...@ruby-forum.com> wrote:

> 1- how can i cleaup every thing and start from zero .
> i have check the production environment and got the follwing :

Your best bet is to use either rvm or some virtualization technology
like VirtualBox or VMWare to create a "sandbox" that you can set up
*exactly* as the current production server is configured.

Same version of Ruby, RubyGems, Rails, and all the required gems.
If you do that, the app should run "as is". If it doesn't, figure out why.
Does the app have tests? If so, run them; if any of them fail, it'll tell
you a lot. If it doesn't have tests, write some.

In any case, get the tests to run and/or the app to run without any
apparent errors.

Then you can start upgrading things *one at a time*.

What you are trying to do is *not easy* for someone without much
Rails experience, but it *is* possible and you'll learn a lot.

But let me again emphasize:

>> use git. write tests. change one thing at a time. <<

Good luck!
-- 
Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
twitter: @hassan

-- 
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.

Reply via email to