Giter Site home page Giter Site logo

Cannot install latest bosh-gen about bosh-gen HOT 6 CLOSED

jacopen avatar jacopen commented on September 23, 2024
Cannot install latest bosh-gen

from bosh-gen.

Comments (6)

ssdowd avatar ssdowd commented on September 23, 2024

I also had issues with having bosh_cli (1.3104.0) and bosh-gen (latest) installed.

Failed to load plugin /Library/Ruby/Gems/2.0.0/gems/bosh-gen-0.21.1/lib/bosh/cli/commands/share_release.rb: Unable to activate bosh-gen-0.21.1, because fog-aws-0.7.6 conflicts with fog-aws (= 0.1.1)

from bosh-gen.

drnic avatar drnic commented on September 23, 2024

I wonder why bosh is now being very specific about fog version?

Perhaps bosh-gen can remove all ~> for a version and just assume you have a new enough fog version?

On Mon, Oct 19, 2015 at 10:57 PM, Kazuto Kusama [email protected]
wrote:

I tried to install latest bosh-gen but it failed.

gem install bosh-gen -v 0.21.1 --no-ri --no-rdoc
ERROR:  While executing gem ... (Gem::DependencyResolutionError)
    conflicting dependencies fog (~> 1.34.0) and fog (~> 1.11)
  Activated fog-1.11.0
  which does not match conflicting dependency (~> 1.34.0)
  Conflicting dependency chains:
    bosh-gen (= 0.21.1), 0.21.1 activated, depends on
    fog (~> 1.11), 1.11.0 activated
  versus:
    bosh-gen (= 0.21.1), 0.21.1 activated, depends on
    bosh_cli (>= 0), 1.3104.0 activated, depends on
    blobstore_client (~> 1.3104.0), 1.3104.0 activated, depends on
    fog (~> 1.34.0)

It seems current version of blobstore_client requires fog '>1.34.0' but bosh-gen requires '> 1.11'
https://github.com/cloudfoundry/bosh/blob/master/blobstore_client/blobstore_client.gemspec#L24
As a workaround, install a bit older version of bosh_cli(1.3094.0) at first and it successfully installed.

$ gem install bosh_cli -v 1.3094.0 --no-ri --no-rdoc
$ gem install bosh-gen -v 0.21.1 --no-ri --no-rdoc

Reply to this email directly or view it on GitHub:
#69

from bosh-gen.

drnic avatar drnic commented on September 23, 2024

I'm personally seeing the latter issue:

Failed to load plugin /Users/drnic/.rvm/gems/ruby-2.2.1/gems/bosh-gen-0.20.1/lib/bosh/cli/commands/share_release.rb: Unable to activate bosh-gen-0.20.1, because fog-aws-0.7.6 conflicts with fog-aws (= 0.1.1)

Will investigate.

from bosh-gen.

ssdowd avatar ssdowd commented on September 23, 2024

I suspect this is due to an underlying ruby version mismatch. I just updated to 2.3.0 via rbenv and bosh-gen installed cleanly. Prior to that I was using 1) the native OSX ruby and 2) 2.1.8. Install failed with each of those.

from bosh-gen.

poblin-orange avatar poblin-orange commented on September 23, 2024

tested ok with rvm ruby 2.3.0

from bosh-gen.

7hunderbird avatar 7hunderbird commented on September 23, 2024

@jacopen Have you tried this again with a more up-to-date version of ruby? Just checking in. Thanks!

from bosh-gen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.