JRuby on Rails is a term to describe a Ruby On Rails application running on JRuby.
Questions tagged [jrubyonrails]
367 questions
0
votes
1 answer
Gotchas for deploying jRuby on Rails 3.2 on Tomcat7 packaged with Warbler
I'm experiencing some weird behaviours trying to deploying a jRuby on Rails (3.2) app on Tomcat7 using Warbler (warble executable war). And wanted to find out if they are normal or am I just doing some newbie mistake.
The app deploys fine when the…

Zhao Li
- 4,936
- 8
- 33
- 51
0
votes
1 answer
How to use bigint data type for primary keys in Rails 2.3 using activerecord-jdbc
I have a Rails app that I'm porting from Rails 1.2 to 2.3. I'm also moving from the Ruby MRI to the latest version of JRuby as well.
In the existing (Rails 1.2) app I use the mysql_bigint plugin to provide support for 64-bit ints as primary keys.
I…

David Collie
- 665
- 2
- 7
- 21
0
votes
1 answer
Foreground or background image manipulations in Rails (Jruby, Torquebox)
I have uploading photos with ajax, manipulations and uploading to s3 take a lot of time. I heard that it's better to complete that tasks on background. My app need to wait while photos become uploaded. But if I choose background way then I will need…

makrusak
- 459
- 5
- 21
0
votes
1 answer
How do I setup/launch Sidekiq (or Resque) on a Tomcat server?
I'm playing around with JRuby on Rails and want to use Sidekiq (or Resque) as part of a stack I'm building. Things work well locally, but I'm stumbling to find a way to boostrap a Sidekiq server within the production environment (I'm using a Bitnami…

David Carney
- 2,200
- 1
- 19
- 28
0
votes
1 answer
AppEngine JRuby - OutOfMemoryError: Java heap space - can it be solved?
I use AppEngine JRuby on Rails (SDK version 1.3.3.1) - a problem I encounter often is that after a few requests the server is getting really SLOW, until it dies and throws OutOfMemoryError on the terminal (OSX).
The requests themselves are very…

elado
- 8,510
- 9
- 51
- 60
0
votes
1 answer
bundle install hangs in Jruby with rails 4.2
I am running on a standard Digital Ocean Ubuntu 14.04 droplet.
I installed my rails app with rails 4.2.0.beta4 and did my first bundle install with mri ruby 2.1.4 installed via RVM and using a gemset I called r420. After making some minor edits to…

Alex Webb
- 35
- 4
0
votes
1 answer
Running JRuby/Rails app "off-premises" using Heroku Postgres
I'm running a JRuby/Rails app on my own app server. I don't want to run my own Postgres boxes right now, and want to use Heroku. So, I spun up some Heroku Postgres instances and can connect to them fine via Sequel, but am having a hard time with…

alkaloids
- 145
- 1
- 9
0
votes
1 answer
jRuby on Rails can't connect to db on Amazon EB
Yesterday I wanted to try Amazon Elastic Beanstalk, so I created a Java environment, with an RDS (postgres) instance.
I packaged my simple CMS app using warbler into a war file, uploaded it, but rails outputs the usual "Something went wrong"…

Allanon
- 547
- 4
- 24
0
votes
1 answer
Very large retained heap size for org.jruby.RubyRegexp$RegexpCache in JRuby Rails App
We have analysed a heap dump file for our application (running on Tomcat with jruby 1.7.8).
It shows us that the retained heap size is very large (439,459,128) for the class org.jruby.RubyRegexp$RegexpCache. This is 48% of our memory usage
Looking…

Ash McConnell
- 1,340
- 1
- 17
- 28
0
votes
0 answers
jRuby error when running rake
I run Rails 4.1.5 with java version 1.7.0_55 and jruby 1.7.12.
When I run any rake command (eg. rake db:create, jruby -S rake db:create) I get this error:
NameError: missing class or uppercase package name (org.pryrepl.InterceptionEventHook'),…

Webspirit
- 1,013
- 3
- 12
- 18
0
votes
1 answer
JRuby on Rails: issue date parse issue for stylesheet_link_tag
I am developing a project using Rails on jRuby. All were good until a strange issue triggers an internal server error. It's strange that in some occasions it loads perfectly, although there's no change in code anywhere.
It originates from the…

intellidiot
- 11,108
- 4
- 34
- 41
0
votes
0 answers
rails email function gives 501 5.1.3 Invalid address
I have this in my config file
myApp::Application.configure do
config.cache_classes = false
config.action_view.debug_rjs = true
config.action_controller.perform_caching = false
…

user3677652
- 93
- 1
- 2
- 7
0
votes
2 answers
Invalid SQL while Embedding HSQLDB into a Rails App
I am working on porting a Rails app to JRuby and HSQLDB. My goal is to embed a database and the site within a single JAR file for deployment at customer sites. I have the site working quite well from the JAR, with a few notable problems.
When I do…

Alex
- 4,122
- 5
- 34
- 40
0
votes
1 answer
rails authentication using SAML and jruby
I'm trying to figure out what are my gem options for Rails user authentication using SAML 2.0 and jruby 1.7.12 (1.9.3p392).
It seems like I could use omniauth-saml but not ruby-saml or samlr. Can anyone recommend a gem?
Many thanks.

Ringo
- 5,097
- 3
- 31
- 46
0
votes
2 answers
Rails Warbler Deployment
I am doing some testing to determine resource usage of a rails war. I have used Warbler to package the "15-minute Blog" application using Rails 2.3.5 and JRuby 1.4.0. I am deploying into Tomcat 6.0.24 and create multiple deployments by copying the…

Tim Kuntz
- 11
- 1