Getting Started on Heroku with Ruby (Microsoft Windows)

Introduction

Complete this tutorial to develop a sample Ruby app with JRuby in a local Microsoft Windows development environment and deploy it to Heroku.

If you’re not on Windows, follow the Getting Started with Ruby on Heroku guide.

The tutorial assumes that you have:

  • A verified Heroku Account
  • JDK 8 installed locally to get a Java virtual machine (JVM).
  • JRuby 9.4.1.0 installed locally.
  • Bundler installed locally. You can install it in a command prompt with jruby -S gem install bundler.

If you receive an error such as 'jruby' is not recognized as an internal or external command, operable program or batch file., close your terminal session and open a new terminal to ensure that the %PATH% environment variable is set correctly.

Using dynos and databases to complete this tutorial counts towards your usage. We recommend using our low-cost plans to complete this tutorial. Eligible students can apply for platform credits through our new Heroku for GitHub Students program.

View as single page I'm ready to start

(Log in to save and track your progress)