New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.2.0.rc1 doesn't switch to java platform correctly #2043

Closed
pehrlich opened this Issue Aug 7, 2012 · 4 comments

Comments

Projects
None yet
5 participants
@pehrlich
Copy link

pehrlich commented Aug 7, 2012

I started an app with ruby 1.9.3 on heroku, using the pre version of bundler

Gemfile

    ruby '1.9.3'
    # gem ... etc

Then I switched it to jruby, added new requirements for the neo4j-core and neo4j-wrapper gems, and started getting these sorts of errors (http://stackoverflow.com/questions/11840132/bundler-not-recognizing-platform-could-not-find-gem):

Could not find gem 'neo4j-core (>= 0) ruby' in the gems available on this machine.

Eventually I was able to get it working on a different app, so I deleted my Gemfile.lock, and tried again, this time successfully.

I can post the complete diff if you like, but it seems like the only relavent change was "java" added to the list of platforms.

EDIT: also, I had tried reverting to bundler 1.1.5, but that was same error.

Cheers

@estill01

This comment has been minimized.

Copy link

estill01 commented Oct 23, 2012

In Gemfile.lock change

Platform
  ruby

to

Platform
  java

That should help.

@tobsch

This comment has been minimized.

Copy link

tobsch commented Dec 8, 2012

+1

@trinary

This comment has been minimized.

Copy link

trinary commented Feb 27, 2013

Triaging: Just tried to reproduce with bundler 1.3. Procedure:

  • Make a minimal Gemfile with MRI (using rbenv)
  • rbenv shell jruby-1.7.3
  • bundle
  • check Platform section in Gemfile.lock: both java and ruby are present
  • add neo4j-core to Gemfile
  • bundle

"java" gets added to the Platform section, and neo4j-core installs. Think this can be closed?

@indirect

This comment has been minimized.

Copy link
Member

indirect commented Mar 1, 2013

Think so. Thanks!

@indirect indirect closed this Mar 1, 2013

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