Installing Ruby on Rails
Since there is group hack-session during these events, we strongly recommend that everyone bring a laptop with Ruby on Rails installed! If for any reason you run into issues with that tutorial and can’t get things running, that’s okay too. Just bring your laptop to the event and we can help you get set up.
Recommended for Beginners
Cloud9 is an Interactive Development Environment (IDE) in the cloud. You can use it for a lot of different sorts of development, including Node.js, PHP, WordPress, and, of course, Ruby on Rails.
There is a special version specifically for using Michael Hartl’s RailsTutorial and a more general Ruby on Rails option.
Recommended for Experienced Developers
Install a Docker image with pre-installed Ruby on Rails.
For more details, go to the Docker Tutorial to get started.
Install a virtual machine for a Ruby on Rails development environment.
This setup involves installing a virtual machine, so that Ruby and Rails run inside a managed environment. This limits installation headaches and puts everyone on a project, a class, or on your team on similar footing, regardless of whether your laptop is running Windows, GNU/Linux, or macOS (OSX).
Follow the instructions here.
Keep this in mind while developing using Vagrant:
|Things you do on the host Machine||Things you do on the Vagrant VM|
|Edit files||Run tests and the rails server|
|Manage source with Git||Install gems|
|Keep backups||Run rails generators|
Some people find setting up Vagrant and VirtualBox to be an unnecessary headache, or just want the experience of running Rails on their own machine. For whatever reason, if you want to skip the virtual machine and install Ruby and Rails on your own laptop, the Railsbridge Installfest will guide you through the process.