Go to <JRUBY_HOME>/samples.
Create an application by running this command:
jruby -S rails imageprocess
Open the <JRUBY_HOME>/samples/imageprocess/config/environment.rb file in a text editor.
Follow steps 2 and 3 from the instructions in section, Using Rails Without a Database.
Go to the <JRUBY_HOME>/samples/imageprocess directory you just created.
Create a controller and default view for the application by running this command:
jruby script/generate controller home index
Go to the <JRUBY_HOME>/samples/imageprocess/app/views/home directory.
Create a second view by copying the default view into a view called seeimage.html.erb:
cp index.html.erb seeimage.html.erb