I have not used red hat for years but with ubuntu 14.04 LTS (and some other similar systems) I have configured the system to support rails 2.3.18 using this script <http://opencampground.com/SWinstall.sh>. Take a look at it and you will see there is a lot needing to be changed from a vanilla system. You will have no luck running rails 2.3.18 with a ruby later than 1.9.1 which is about impossible to find. You really need ruby 1.8.7. Make sure you grab the apache passenger virtual host definition files from the old system before it vanishes.

Norm

On 04/13/2016 08:39 AM, Vince Laurent wrote:
I have been given task to move an app, the database, and all required
software from an old system (going away soon) to a new one.  I think I
have all the software BUT can't get the app to 'work'.  So, my question
is what is the step to migrate a ruby on rails app?

“old” server

saptip:/etc# ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [ia64-linux]
saptip:/etc# rails -v
Rails 2.3.5
saptip:/# apache2 -v
Server version: Apache/2.2.9 (Debian)
Server built:   Nov 14 2009 21:10:54
saptip:/# mysql -h localhost -V
mysql  Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (ia64) using
readline 5.2
saptip:/etc# uname -a
Linux saptip 2.6.26-2-mckinley #1 SMP Thu Feb 11 11:08:30 UTC 2010 ia64
GNU/Linux

“new” server

[root@s928-apsaptip etc]# rails -v
Rails 4.2.5
[root@s928-apsaptip etc]# httpd -v
Server version: Apache/2.4.6 (Red Hat Enterprise Linux)
Server built:   Sep 17 2015 09:06:30
[root@s928-apsaptip etc]# mysql -h localhost -V
mysql  Ver 14.14 Distrib 5.6.29, for Linux (x86_64) using  EditLine
wrapper
[root@s928-apsaptip etc]# uname -a
Linux s928-apsaptip.ssmhc.com 3.10.0-229.4.2.el7.x86_64 #1 SMP Fri Apr
24 15:26:38 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux


--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/57100347.6000803%40earthlink.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to