Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

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

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

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

pehrlich opened this issue Aug 7, 2012 · 4 comments

Comments

@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
Copy link

In Gemfile.lock change

Platform
  ruby

to

Platform
  java

That should help.

@tobsch
Copy link

tobsch commented Dec 8, 2012

+1

@trinary
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
Copy link
Member

indirect commented Mar 1, 2013

Think so. Thanks!

@indirect indirect closed this as completed Mar 1, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants