Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Patrick Kelly
Patrick Kelly
6,200 Points

How do I setup Ruby on Rails on a normal self-managed VPS?

Hi,

After learning quite a lot about Ruby on Rails, I'm keen to setup my own development area on my self-managed VPS (Virtual Private Server).

Unfortunately Team Treehouse have yet to cover such a topic in their wide variety of videos, and whilst the do cover how to setup a Ruby on Rails application through specific RoR hosts/services - they've yet to cover how to get this setup on your own hosting.

I'd like to utilise my current hosting as I don't want to have to pay more to host an application with another provider, especially when it should be feasible with my own.

I hope someone out there can help!! :)

Thanks, Patrick

2 Answers

Kevin Korte
Kevin Korte
28,149 Points

What OS is your VPS running? Assuming Ubuntu.

I haven't done it, but I would imagine that you should be able to SSH into your VPS and install/set up everything on the command line. Does that make sense?

Patrick Kelly
Patrick Kelly
6,200 Points

Hi Kevin,

Many thanks for your quick response!

I believe I've installed Ruby and Rails onto my server in previous attempts via SSH & the command line, I think it's the trouble of setting up an application to run permanently (I.e so I can map a domain to it).

I hope you can help me further!

Best, Patrick