Create a new Rails application

If you are using JRuby, to create a new Rails application, change to the /home/bitnami directory and initialize a new project as below. Remember to replace the APPNAME placeholder with the actual name of your project.

$ cd /home/bitnami
$ jruby -S rails new APPNAME

Next, start the Rails server by running the following command:

$ cd /home/bitnami/APPNAME
$ jruby -S bundle exec rails s

This will start the Rails server for your application on port 3000.

Find more information about how to access the application using your Web browser.

Last modification September 5, 2018