I have installed rails.2.3.11 and run rake rails:upgrade.
Do i need to modify anymore files ?
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.
Steps for upgrading Rails 2.2.2 to 2.3.11.
rails install -v=2.3.11modify
config/environment.rbrun rake task =>
rake rails:update # Update configs, scripts and javascriptsThis rake task will modify some of the files.
modify
config/environment.rbReplace
with
modify
app/controllers/application_controller.rbReplace
with
Replace
with
May be this will help…
EDIT:
Rails 2.3.11 + Rack 1.0.0 + Phusion Passenger 2.0.6 causing problem 500 internal server error undefined method ‘rewind’ to solve that issue.
I have installed.
sudo gem install rack -v=1.1.1sudo gem install passenger -v=2.2.8passenger-install-apache2-moduleIt would prompt you to replace few lines in /etc/httpd/conf/httpd.conf with the following at the end of installation of the 3nd step
This file would already have above three lines. So, it would be sufficient to replace 2.0.6 with 2.2.8.
After performing the above steps, restart apache2 and restart rails by the following commands.
sudo /etc/init.d/http.d restartcd /var/www/project_namesudo touch tmp/restart.txt