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

Can't download or delete Java gem #99

jphastings opened this Issue Feb 18, 2013 · 6 comments


None yet
5 participants

This looks like it may have the same root as #16.

I cannot download, delete or gem install a JRuby gem I have uploaded to geminabox.

The problem appears to be that the files are stored as geminabox/data/gems/my_gem-0.0.1.gem not geminabox/data/gems/my_gem-0.0.1-java.gem, as renaming them fixes the issue.


docwhat commented Apr 2, 2013

This did work, but something changed in my setup (updating a gem someplace?) and now it doesn't.

What happens is it is saving the gem without the -java in the name. e.g. the gem foobar-1.2.3-java.gem is saved on disk as foobar-1.2.3.gem. The web UI still seems to expect the -java portion and fails to download or delete.

The workaround (sucky as it is) is to go into the underlying gems directory and rename foobar-1.2.3.gem back to foobar-1.2.3-java.gem and run gem generate_index --directory .


docwhat commented Apr 2, 2013

To clarify the instructions:

  1. cd /path/to/your/gem/repository
  2. mv gems/foobar-1.2.3.gem gems/foobar-1.2.3-java.gem
  3. gem generate_index --directory .

The generate_index is done in the directory above the directory full of gem files.

Pull request #97 fixes this issue as well.

Can we get a new release of geminabox with this?


docwhat commented Apr 4, 2013

Yup, #97 FTW. When will 0.10.2 be out, @cwninja?

mikegee commented Jun 12, 2014

Since #97 fixes this, and is merged, this issue may now be closed.


reggieb commented Jun 12, 2014

I agree.

@reggieb reggieb closed this Jun 12, 2014

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