Migrating Ruby on Rails Website to New Server (Linux)
- by GarytheWorm
I have an existing website that is a Ruby on Rails project. I have another server i need to transfer the existing website too. The server i wish to transfer too was originally hosting the website so has the necessary gems/configuration are installed.
I have tar the current releases shared dir from the old server and transfered them over to the new server.
I have then unpack the tar in the apps directory to the new location which is a different URL path.
My problem is now as you can see below that the path on the current - is pointing to the old url. ( i ran ls -la to see owenership)
How can i change this current path to read with my new web address?
current releases shared sitepack.tar
root@server1:/var/www/clients/client1/NEWSITE.com/web/apps# ls -la
current - /var/www/OLDSITE.com/web/apps/releases/20120130171636
root@server1:/var/www/clients/client1/NEWSITE.com/web/apps#