Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v0.2.0

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
app
config
db
doc
lib/tasks
public
script
src
test
vendor/plugins
.gitignore
Gemfile
Gemfile.files
Gemfile.pom
Mavenfile
README.textile
Rakefile
config.ru
pom.xml

README.textile

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.