Quickly set up a Ruby on Rails app on Nanobox, the ideal platform for developers. With Nanobox, Rails app developers can set up instant, isolated development environments that can be shared among team members. Rails apps created using Nanobox can be automatically deployed to AWS, Azure, Google Cloud, and other cloud hosts without the need for devops. Once in production, your Rails app can be monitored, scaled, and managed using our tool suite for live apps.
Run a local rails app with nothing but Nanobox.
git clone https://github.com/nanobox-quickstarts/nanobox-rails.git
cd nanobox-rails
nanobox dns add local rails.local
nanobox run rake db:create
nanobox run rails s
Now you can visit your app at rails.dev:3000
With Nanobox, you don’t have to have anything installed on your machine to run app specific commands. To open a nanobox console type nanobox run
into your console and hit enter.
Now you can run commands like ruby -v
and gem list
to check the ruby version and see a list of installed gems respectively.
For more details about running rails apps with nanobox visit guides.nanobox.io/ruby/rails/