Rails3Tasks » History » Version 2
Chris Cannam, 2013-01-07 03:45 PM
1 | 1 | Chris Cannam | h1. Moving to Rails 3 |
---|---|---|---|
2 | 1 | Chris Cannam | |
3 | 1 | Chris Cannam | h2. Test environment |
4 | 1 | Chris Cannam | |
5 | 1 | Chris Cannam | We have a Redmine 2.2 pristine branch (redmine-2.2) and an integration branch (redmine-2.2-integration) in which to fix errors arising from merging our own changes back in to Redmine 2.2. |
6 | 1 | Chris Cannam | |
7 | 1 | Chris Cannam | For Rails 2, we have been using Ruby Enterprise Edition v1.8.7 with Phusion Passenger v3.0.1. |
8 | 1 | Chris Cannam | |
9 | 1 | Chris Cannam | For Rails 3 we want to use a more mainstream Ruby v1.9.3, with Phusion Passenger v3.0.18. |
10 | 2 | Chris Cannam | |
11 | 2 | Chris Cannam | Ubuntu 10.04 LTS only has Ruby 1.9.1, so we use the Brightbox packages. |
12 | 2 | Chris Cannam | |
13 | 2 | Chris Cannam | <pre> |
14 | 2 | Chris Cannam | $ sudo apt-add-repository ppa:brightbox/ruby-ng |
15 | 2 | Chris Cannam | $ sudo apt-get update |
16 | 2 | Chris Cannam | $ sudo apt-get install ruby1.9.3 |
17 | 2 | Chris Cannam | $ sudo gem1.9.3 install rails |
18 | 2 | Chris Cannam | $ sudo gem1.9.3 install passenger |
19 | 2 | Chris Cannam | $ sudo apt-get install libcurl4-openssl-dev |
20 | 2 | Chris Cannam | $ sudo passenger-install-apache2-module |
21 | 2 | Chris Cannam | </pre> |