How do I move Ruby On Rails site to new web server

My client wants to move off their dedicated server and onto a shared hosting server to cut costs.
I set them up with bluehost with ssh enabled and a dedicated ip address.
I need to get the site working before transferring dns because of their email so I'm just using the new ip address:
70.40.197.119
I downloaded/uploaded the website and exported/imported the sql files. added the appropriate usernames/passwords edited in database.yml
I go to the site and nothing. I have no idea what I'm doing, I don't know ror. Is there good way to move websites programmed in ror?

Thanks in advance!
LVL 10
bbrunningAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

fridomCEO/ProgrammerCommented:
I think  you like to learn Capistrano
http://www.capify.org/index.php/Capistrano

or maybe Vlad
http://www.rubyhitsquad.com/Vlad_the_Deployer.html

Regards
Friedrich
0
wesgarrisonCommented:
Cap and vlad have nothing to do with actually running your application.

You need to start a service that actually serves the website.  If you've used php, you probably used apache with mod_php that takes the source php file and does the php-ness and outputs the html.

Similarly, there's a module for apache for rails:  Passenger aka mod_rails (http://modrails.com)

There's a big long list of deployment methods here:
http://rubyonrails.org/deploy

Here are the bluehost rails links, too:
http://helpdesk.bluehost.com/index.php/kb/browse/001014

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
wesgarrisonCommented:
Finally, I'd really suggest looking at heroku (http://heroku.com) to deploy your application.
Deploying is as easy as pushing to their server, but there are quite a few things you need to know (git, database config, etc) in order to use it easily.
0
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

JimOserCommented:
If you don't know what you are really doing, then I would strongly suggest not experimenting with your customers live data.

Whoever wrote the ruby on rails website, knows exactly how to get the website on another server, and also may know why it is on a dedicated server in the first place. By the way, it really a dedicated server, or is a slice, like what is available from linode.com

My concern would be what information is stored on the dedicated server. Suppose you successful get the ruby on rails website, up and running on the shared host, do you know what else is on the dedicated server?

Perhaps all the source code for the ruby on rails project is on the dedicated server. Perhaps there is a svn or git repository that has the complete history of the project. Perhaps there is an email program on the dedicated server that is hosting multiple domains or doing something else clever.

If you are willing to learn rails, and see what wesgarrison means when he suggests using heroku, then you can start with the material here, that is normally used in a 2 day workshop to learn ruby and rails. At the end of the 2 days, you host your own application on heroku. Once you figure out how to host on heroku, then you can figure out how to host on bluehost (but please be sure you really know what is on the dedicated server before you cancel the account, and forever lose the data)

Install rails on your machine.
http://wiki.devchix.com/index.php?title=Workshop_Installation_Notes


Create test app and push it to heroku.
http://wiki.devchix.com/index.php?title=Server_2003#Push_test_app_to_Github
0
wesgarrisonCommented:
+1 for JimOser's answer. Lots of concerns to worry about.
0
bbrunningAuthor Commented:
Thanks for all the info, I'll go through it tonight.
Jim: Thanks for the concerns....let me rephrase it. I understand how the server works. 've been managing the dedicated server for 5 years now. I know linux, I just don't know rails. I have multiple sites on the dedicated server which have already been moved over to new hosting locations. It's the ror site that I'm having problems with. Also is there a way to check for dependencies/libraries that rails is using so I can make sure I move them/install them on the new one.

The main reason we bought this dedicated server was because ruby wasn't standard on most hosting 5 years ago and their old web designer requested it, then quit right after the website was done and has since dropped off the face of the planet. So, there's no way to get back in touch with him.
0
fridomCEO/ProgrammerCommented:
@wesgarrison,

He want to migrate from one machine to another and for such kinds of task the  beforementioned libraries were developed....
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Ruby

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.