This repository contains sample applications to demonstrate the use of the JRuby runtime on Cloud Foundry (http://www.cloudfoundry.com/).
You can find further sample applications at following links.
- https://github.com/cloudfoundry/vcap-test-assets/
- https://github.com/SpringSource/cloudfoundry-samples
- https://github.com/rabbitmq/rabbitmq-cloudfoundry-samples/
Runtime | Framework | Service | Status | Description |
---|---|---|---|---|
JRuby 1.8 / 1.9 | Sinatra(non Gemfile) | - | available | |
JRuby 1.8 / 1.9 | Sinatra(Gemfile) | - | available | |
JRuby 1.8 / 1.9 | Sinatra(Gemfile) | MongoDB | available | Use Mongoid 2.2.4 |
JRuby 1.8 / 1.9 | Sinatra(Gemfile) | Redis | available | Use redis-rb |
JRuby 1.8 / 1.9 | Sinatra(Gemfile) | MySQL | available | Use DataMapper(with do_jdbc) |
JRuby 1.8 / 1.9 | Sinatra(Gemfile) | PosgreSQL | available | Use ActiveRecord-JDBC, standalone-migrations[1] |
JRuby 1.8 / 1.9 | Sinatra(Gemfile) | RabbitMQ | available | Use Bunny |
JRuby 1.8 / 1.9 | Sinatra(Gemfile) | Neo4j | unavailable | Use Neography(?) |
JRuby 1.8 / 1.9 | Rails 3.0.x(use 3.0.5) | - | available[2] | |
JRuby 1.8 / 1.9 | Rails 3.0.x(use 3.0.5) | MongoDB | available | Use MongoMapper |
JRuby 1.8 / 1.9 | Rails 3.0.x(use 3.0.5) | Redis | available | Use DataMapper(with tweeked dm-redis-adapter[3]) |
JRuby 1.8 / 1.9 | Rails 3.0.x(use 3.0.5) | MySQL | available | Use ActiveRecord-JDBC |
JRuby 1.8 / 1.9 | Rails 3.0.x(use 3.0.5) | PosgreSQL | available | Use ActiveRecord-JDBC |
JRuby 1.8 / 1.9 | Rails 3.0.x(use 3.0.5) | RabbitMQ | unavailable | Use Bunny(?) |
JRuby 1.8 / 1.9 | Rails 3.0.x(use 3.0.5) | Neo4j | unavailable | Use Neography(?) |
- Use Caldecott(vmc tunnel) for Database Migration.
- "About your application’s environment" link not working(just like rails app on cloudfoundry.com).
- Current dm-redis-adapter depend on hiredis. so, dm-redis-adapter is unavailable on JRuby and mingw32 Ruby. I tweaked the gem for independent from hiredis.