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

I posted a [ticket with travis-ci](https://github.com/travis-ci/travis-ci/issues/424) to record a workaround. It was suggested that I report the trouble to JRuby and bundler, in case this can help identify any unknown bugs.

Here is the content from the travis-ci ticket describing the problem:

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