Change to the directory you want to create an application.
/apps/jruby-apps/
Create an application by running this command:
jruby -S rails imageprocess
Open the imageprocess/config/environment.rb file in a text editor.
Follow steps 2 and 3 from the instructions in, To Use Rails Without a Database.
Change to the imageprocess directory you just created.
Create a controller and default view for the application by running this command:
jruby script/generate controller home index
Change to the imageprocess/app/views/home directory.
Create a second view by copying the default view to seeimage.html.erb:
cp index.html.erb seeimage.html.erb