Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Closed
pehrlich opened this Issue · 4 comments

5 participants

@pehrlich

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

In Gemfile.lock change

Platform
  ruby

to

Platform
  java

That should help.

@tobsch

+1

@trinary

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
Owner

Think so. Thanks!

@indirect indirect closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.