travis-ci/travis-ci — Issue #424: JRuby 1.9 mode executing rake task requiring bundler raises 'stack level too deep'
Author: yellow5
Created: 2012-02-20 04:02:26+00:00
State: open

I setup a gem project with travis-ci that is deployed by bundler. The Rakefile requires some code requiring bundler and installing some rake tasks for deployment.

When configuring the project to test on jruby-19mode, it raised a 'stack level too deep' error:

http://travis-ci.org/#!/yellow5/foreigner-matcher/jobs/704384

The same project did not raise any such errors on the other rubies, including jruby-18mode.

Fortunately it's easy to get around:

https://github.com/yellow5/foreigner-matcher/commit/0f256a2c38d6c2a101ce9b921d12097a7bbaf551

Hope this helps anyone else that runs in to this issue!