JRuby on Rails is a term to describe a Ruby On Rails application running on JRuby.
Questions tagged [jrubyonrails]
367 questions
5
votes
2 answers
Trying to deploy a jRoR app using rubber and getting NoMethodError: undefined method `authorize_port_range' for nil:NilClass
This is my first time using rubber or deploying to Amazon EC2. I am following this Railscast. I've googled all over and nobody else seems to be having this problem. Here's my console log when I run cap…

user529789
- 51
- 1
4
votes
2 answers
Installing JRuby 1.6.7 + Rails 3 with Ubuntu?
Any blog or tutorial for installation of JRuby 1.6.7 and Rails 3 on Ubuntu?

krunal shah
- 16,089
- 25
- 97
- 143
4
votes
1 answer
Unable to access jarfile start.jar when trying to use sunspot solr with JRuby on Rails on Windows 7 x64
My team and I are working on developing a JRuby on Rails application on top of Red Hat Enterprise Linux. Our customer may be asking us to convert to having it run on top of Windows, so I am starting to do some preliminary pathfinding using a Windows…

GLC
- 151
- 1
- 1
- 10
4
votes
1 answer
Profiling a JRUBY rails application outputs elements
Environment: Linux Mint 32 bit, JRuby-1.6.5 [ i386 ], Rails 3.1.3.
I am trying to profile my rails application deployed on JRuby 1.6.5 on WEBrick (in development mode).
My JRUBY_OPTS: "-Xlaunch.inproc=false --profile.flat"
In one of my models, I…

Kalyan Akella
- 168
- 1
- 11
4
votes
2 answers
Running Rake Tasks under Tomcat and JRuby
We've got our Rails (2.2.2) application running on a Tomcat7 server using warbler (1.2.1) and JRuby (1.5.6), but since we want to simplify deployment to multiple machines, we want to run the rake tasks, like db:migrate, under the tomcat WEB-INF…

Glenn
- 5,334
- 4
- 28
- 31
4
votes
5 answers
Vagrant won't recognize VirtualBox on x64-Windows7 (already running JRuby)
I'm trying to get Vagrant up and running on a 64-bit Windows 7 machine, and I'm continually getting an error that "Vagrant could not detect VirtualBox!" Here's what I've got installed:
JRE 6.0.230.25 x64
JRuby 1.6.0.0
Ruby 1.8.7.330…

Laurent Stanevich
- 285
- 1
- 3
- 8
4
votes
2 answers
Struts vs. [j]Ruby on Rails
I've spent the last 9 months using Ruby on Rails exclusively.
I've been asked to join project and they are currently using Struts with Tomcat. I've done Java in the past and vowed never to go back for several reasons. They are currently having…

Dex
- 12,527
- 15
- 69
- 90
4
votes
2 answers
Why does Tomcat return a 500 error for 14 minutes and then continues again?
We have a JRuby on Rails applications which runs fine until a certain moment.
Then suddenly Tocmat returns a 500 error for about 14 minutes (we've put a redirect to the login page in the 500 error html page). The redirect to the login page returns a…

Lieven Cardoen
- 25,140
- 52
- 153
- 244
4
votes
1 answer
using maven to manage java dependencies in a jruby rails app
I'm trying to write a pom.xml that will allow me to run a command locally and fetch all dependencies that my jruby Rails app has. I'm seeing two different configs though and I'm not totally sure which to use (as I'm not a java person…

brad
- 31,987
- 28
- 102
- 155
4
votes
2 answers
Rails Time Zone
I understand that default behavior of rails is to save the database records and any date/datetime related columns to UTC time. And we can control the display of date/datetime to the users with config.time_zone in environment.rb. So basically…

Dharam Gollapudi
- 6,328
- 2
- 34
- 42
4
votes
1 answer
Simplest way to have trinidad depend on an alternate version of jruby-rack?
The current Trinidad gem depends on jruby-rack 1.1.0 which has some errors being displayed in my development log for every single one of my assets
/Users/bijan/.rvm/gems/jruby-1.7.3/gems/rack-1.4.5/lib/rack/utils.rb:399 warning: multiple values for…

Bijan
- 6,675
- 6
- 33
- 29
4
votes
1 answer
warbler seems to use a different ffi that doesn't understand size_t
FFI understands :size_t when running rails through jRuby, but not after using Warbler to create a .war file and running that using java -jar my_project.war or Tomcat.
Linux |…

Chris
- 43
- 4
4
votes
1 answer
Gemfile causes torquebox env variables to come up empty
I think I've found a bug in torquebox. For some reason, if I "gem install torquebox" and then add a "gem 'torquebox'" line to my Gemfile, "torquebox env" stops working properly. This is very easy to reproduce, so if anyone knows what's going on…

Jon Stokes
- 213
- 2
- 7
4
votes
3 answers
PDF generation with Prawn and Prawnto
Is anyone using Prawn / Prawnto with Jruby on rails? I installed prawn 0.5.01 and rails 2.3.2. I just installed prawn and prawnto and started playing with the PDF generation capabilities. I am concerned that the pranwto web site is no longer…

Joe Dean
- 3,356
- 5
- 26
- 31
4
votes
2 answers
Using java servlet store doesn't work in my Jruby on Rails application running in Tomcat
I'm trying to use the java servlet store instead of the :cookie_store when running in Tomcat. My application runs fine with the :cookie_store, but when using the :java_servlet_store, nothing gets stored no longer...
This seems to work, however, when…

Lieven Cardoen
- 25,140
- 52
- 153
- 244