Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v0.2.0
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 69 lines (40 sloc) 1.745 kb

Start the demo application

note: Gemfile.lock is not part of the git repository since it is platform dependent and can not be use for MRI and JRuby at the same time.

with maven3 (using jetty)

mvn rails3:rake -Dargs="db:setup"
mvn jetty:run

note: there is no need to have jruby, rubygems, rails installed !!!

with ruby-maven gem (using jetty)

jruby -S gem install ruby-maven
rmvn rake db:setup
rmvn jetty:run

note: you need to have jruby installed but no rails or bundler !!!

with jruby (using webrick) without enforce-ssl

jruby -S bundle install
jruby -S rake db:setup
jruby script/rails server

or with ruby-maven

rmvn rake db:setup
rmvn rails server

enforce-ssl does not work since the server listens only on one port and it is kind of hacky to get SSL working

note: you to have jruby and bundler installed !!!

with ruby (using webrick) without enforce-ssl

bundle install
rake db:setup
script/rails server

enforce-ssl does not work since the server listens only on one port and it is kind of hacky to get SSL working

note: you to have bundler installed !!!

Run the integration test (selenium)

with maven3

mvn rails3:rake -Dargs="db:setup"
mvn integration-test

note: there is no need to have jruby, rubygems, rails installed !!!

with ruby-maven

jruby -S gem install ruby-maven
rmvn rake db:setup
rmvn integration-test

note: you need to have jruby installed but no rails or bundler !!!

Navigate through the application

I use the jetty port 8080 for the sample urls. starting point is

http://localhost:8080/users

any further link enforces SSL will switch over to port 8443 and https.

Something went wrong with that request. Please try again.