This week I’ve updated all the RailsApps example applications to Ruby 2.1.3 and Rails 4.1.6, the latest versions.
I’ve added a Heroku Button for each of the example applications. If you visit the GitHub repository for any of the example applications, you’ll see a big purple button. Click the button and the application is automatically deployed to Heroku. Here is an example:
The button above will automatically deploy the popular rails-devise-roles application. With one click, the application is up and running on Heroku. Try it!
Heroku Support in Rails Composer
Rails Composer offers a new option, “Prepare for deployment?”
option Prepare for deployment? 1) no 2) Heroku 3) Capistrano
If you select Heroku, Rails Composer will set up your application so it is ready for deployment to Heroku. Here’s what is extra cool: Rails Composer makes sure the README file for your new application includes a big purple Heroku Button. You can commit your application to a public GitHub repository. Then, from the README page, anyone can automatically deploy to their own Heroku account. It’s all set up for you.
Of course, you can continue to deploy to Heroku from the command line. With the new support for Heroku in Rails Composer, the Gemfile is set up for Heroku.
Support for Other Providers
Heroku is not the only provider of platform-as-a-service hosting for Rails applications. Here are some others I know about:
If you like one of these services, and would like Rails Composer to set up an application for deployment, please let me know with a comment or an email to firstname.lastname@example.org.
As always, a big thanks to everyone who joins the RailsApps project with a subscription, supporting the project.