Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

gems bundled through git not found #147

betelgeuse opened this Issue Apr 3, 2013 · 3 comments


None yet
2 participants

betelgeuse commented Apr 3, 2013 edited by kares

bundling warbler through git and trying to run a jar I get:

betelgeuse@host ~ $ java -jar app.jar 
git://github.com/jruby/warbler.git (at master) is not checked out. Please run `bundle install`

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1446624-gems-bundled-through-git-not-found?utm_campaign=plugin&utm_content=tracker%2F136961&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F136961&utm_medium=issues&utm_source=github).

jkutner commented Apr 6, 2013

Can you share your Gemfile? If you using a :git => for warbler be aware that bundler will not work with shallow repos.

I used the following Gemfile to get latest warbler because the released gem had issues that I don't remember any more:

source 'https://rubygems.org'

gem 'google_drive'
gem 'launchy'
gem 'mail'
gem 'warbler', github: 'jruby/warbler'

Are you saying that warbler creates shallow repos and bundler can't handle them? I am just following the README that says: "Warbler supports Bundler for gems and git repositories, but not for plain path components."


jkutner commented Apr 7, 2013

No, it should handle git gems. The only reason I brought it up was that I got the same error on the CI server because it was pointing to a repo that was checked out with the --depth=50 option. I believe the error you are seeing is generated by Bundler (as opposed to Warbler) -- I'm not saying it's bundler's fault, though. I'll have to look into it some more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment