Jruby 1.7.4 not working with Heroku

here’s what Heroku spits back when I try to push my app up,

Total 16 (delta 0), reused 0 (delta 0)

-----> Ruby/Rack app detected
!
! Invalid RUBY_VERSION specified: ruby-2.0.0-jruby-1.7.4
! Valid versions: ruby-2.0.0, ruby-1.9.3, ruby-1.9.2, ruby-1.8.7,
ruby-1.9.3-jruby-1.7.0, ruby-1.8.7-jruby-1.7.0, ruby-1.9.3-jruby-1.7.1,
ruby-1.8.7-jruby-1.7.1, ruby-1.9.3-rbx-2.0.0dev, ruby-1.8.7-rbx-2.0.0dev
!

! Push rejected, failed to compile Ruby/Rack app

the latest Jruby supported apparently is Jruby 1.7.1 ?

Is this a political thing ? does EngineYard support the latest ? The
great thing about heroku though is that I can do dev work for basically
free

Charles\

That error message is misleading. This works for me (in Gemfile)

ruby ‘1.9.3’, :engine => ‘jruby’, :engine_version => ‘1.7.5’

On Oct 11, 2013, at 1:26 PM, Charles M. [email protected]
wrote:

! Push rejected, failed to compile Ruby/Rack app

the latest Jruby supported apparently is Jruby 1.7.1 ?

Is this a political thing ? does EngineYard support the latest ? The great thing
about heroku though is that I can do dev work for basically free

You’ll need to ask Heroku. There is no politics involved here. Heroku
and Engine Y. make their own decisions when it comes what versions of
JRuby to support.

Hiro

ok, I’ll try that , still a drag since I have moved on to use 2.0 named
arg syntax

Charles

2.0 should work as well. I will verify.

Confirmed:

-----> Using Ruby version: ruby-2.0.0-jruby-1.7.5

yes , I can reconfirm that as well !

but this :

ruby ‘2.0.0’, :engine => ‘jruby’, :engine_version => ‘1.7.4’

gives me this:

----> Ruby/Rack app detected
!
! Invalid RUBY_VERSION specified: ruby-2.0.0-jruby-1.7.4
! Valid versions: ruby-2.0.0, ruby-1.9.3, ruby-1.9.2, ruby-1.8.7,
ruby-1.9.3-jruby-1.7.0, ruby-1.8.7-jruby-1.7.0, ruby-1.9.3-jruby-1.7.1,
ruby-1.8.7-jruby-1.7.1, ruby-1.9.3-rbx-2.0.0dev, ruby-1.8.7-rbx-2.0.0dev
!

! Push rejected, failed to compile Ruby/Rack app

guess its time to move up to 1.7.5 :slight_smile:

Charles M.
[email protected]