I'm a bit puzzled by this ticket. I looked into it before and I just tried it out now.
1. The error is odd: "'x' is not a valid style". I would expect this error to be consistent with all versions of JRuby. Yet, I can't reproduce it with all the versions I have. And there are no obvious causes.
2. All reports of the problem are using JRuby 1.6.0. This version of JRuby is not even available via RVM. That makes me think that there was a problem in JRruby 1.6.0 which caused them to pull it from distribution.
I'm going to guess that if you install a newer version of JRuby, you'll have better luck. Please let us know if that's the case.
Micah
-Tom
--
blog: http://blog.enebo.com twitter: tom_enebo
mail: tom....@gmail.com
These days it's best to use Bundler and put a standalone install of the gems inside the production directory.
bundle install --standalone --path=gems
Then in production.rb:
require File.expand_path(File.dirname(__FILE__) + "/gems/bundler/setup")
I have an example here:
https://github.com/slagyr/cleantracker/
https://github.com/slagyr/cleantracker/blob/master/Rakefile
https://github.com/slagyr/cleantracker/blob/master/production.rb
Micah