My production app is running on ruby 1.9.2 and rail 3.0.3.
What is the safest method to upgrade rails to 3.0.10, and is upgrading to rails 3.0.10 completely safe, or do I run the risk of some gem dependencies breaking something?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I had good success with the following approach:
Gemfileto ensure that the Rails version is upgrade to 3.0.10.bundle installtasks.Depending on the data you have in production, there may be extra steps necessary, but normally, you don’t change any functionality, you just upgrade the Rails version, so normally no migration change is necessary.
PS: The real job then is to upgrade to Rails 3.1.x …