1

I have a Rails app I am trying to test in Jruby on Engineyard. I can get it locally working when i switch ruby version in rvm to 1.9.2 (jruby) However when on engineyard a deploy fails:

syntax error, unexpected ':'

I solved this error locally using 1.9.2 export JRUBY_OPTS=--1.9 I have tried this on engineayrd but i am still getting the same error.

Does anyone know how to set EngineYard to default to 1.9.2 not ruby-1.8.7-p330?

Any help is greatly appreciate

Charlie Davies
  • 1,814
  • 4
  • 29
  • 50

1 Answers1

1

Try putting the following in /home/deploy/.jrubyrc:

compat.version=1.9
Nick Sieger
  • 3,315
  • 20
  • 14