{"issue":{"user":{"id":384415,"login":"schinen","url":"https://api.github.com/users/schinen","gravatar_id":"3feff5dc52e22cb7117fdc3ab4930cfb","avatar_url":"https://secure.gravatar.com/avatar/3feff5dc52e22cb7117fdc3ab4930cfb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"milestone":null,"created_at":"2011-12-21T16:29:31Z","title":"Add JRuby Support in rails3 and sinatra staging plugin","labels":[],"state":"open","updated_at":"2011-12-22T01:18:48Z","id":2626742,"pull_request":{"patch_url":"https://github.com/cloudfoundry/vcap/pull/156.patch","html_url":"https://github.com/cloudfoundry/vcap/pull/156","diff_url":"https://github.com/cloudfoundry/vcap/pull/156.diff"},"html_url":"https://github.com/cloudfoundry/vcap/issues/156","closed_at":null,"body":"Add JRuby Support in rails3 and sinatra staging plugin.\r\n\r\nThis pull request is based on the contribution (pull request) of tarcieri.\r\n\r\nhttps://github.com/cloudfoundry/vcap/pull/24\r\n\r\nLast month, By chance I found this pull request.\r\nI was very interested, and tried this feature on my VCAP.\r\n\r\nSimple app such as Sinatra trivial app, was easy to working,\r\nbut Slightly more complex apps such was not working at all.\r\n\r\nI was struggling with this problems, made the following fixes and improvements.\r\n\r\n- Fix the mismatch gem install path that GemfileTask#install_gems method installed and Bundler search path. \r\n  this fix is also necessary for other Ruby runtime (Ribinius, REE)\r\n- Correct JRuby C Extension on ubuntu (for thin server)\r\n- Make sample apps for test connectivity to current available services and servers. some of apps is put into vcap-test-assets.\r\n- Make specs for vcap-tests.\r\n\r\nMy JRuby on CloudFoundry sample apps are available on following link.\r\n\r\nhttps://github.com/schinen/jruby-cloudfoundry-samples\r\n\r\nApps is truly trivial, such as one model and one attribute scaffolding app for test connectivity to services.\r\n\r\nI'm really a beginner in Ruby, all inputs are welcome.\r\n\r\nThanks.\r\n","number":156,"url":"https://api.github.com/repos/cloudfoundry/vcap/issues/156","comments":1,"assignee":null},"comment":{"user":{"id":384415,"login":"schinen","url":"https://api.github.com/users/schinen","gravatar_id":"3feff5dc52e22cb7117fdc3ab4930cfb","avatar_url":"https://secure.gravatar.com/avatar/3feff5dc52e22cb7117fdc3ab4930cfb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"created_at":"2011-12-22T01:18:48Z","updated_at":"2011-12-22T01:18:48Z","id":3242270,"body":"vcap-test pull request : https://github.com/cloudfoundry/vcap-tests/pull/11\r\nvcap-test-assets pull request : https://github.com/cloudfoundry/vcap-test-assets/pull/1\r\n","url":"https://api.github.com/repos/cloudfoundry/vcap/issues/comments/3242270"},"action":"created"}