electric-it / minimart

MiniMart RubyGem for Chef cookbook mirroring and storage.
Apache License 2.0
52 stars 20 forks source link

ruby required version constraint #47

Closed AnalogJ closed 8 years ago

AnalogJ commented 8 years ago

I'm running into issues when installing the latest version of minimart:

    ...
    Using serverspec 2.35.0
    Using http-cookie 1.0.2
    Using ridley 4.4.2
    Using chef 12.10.24
    Using rest-client 1.8.0
    Using berkshelf 4.0.1
    Installing minimart 1.1.6 (was 1.1.4)

    Gem::InstallError: minimart requires Ruby version ~> 2.1, ~> 2.2.
    An error occurred while installing minimart (1.1.6), and Bundler cannot continue.
    Make sure that `gem install minimart -v '1.1.6'` succeeds before bundling.
    automation_scripts kulatung$ ruby --version
    ruby 2.1.8p440 (2015-12-16 revision 53160) [x86_64-darwin13.0]

Any idea what's going on?

tapickell commented 8 years ago

I will look into this @AnalogJ

tapickell commented 8 years ago

@AnalogJ what is the earliest version you have been able to install on Ruby 2.1.8 ??

AnalogJ commented 8 years ago

I was using 1.4 earlier with no problems On Mon, May 16, 2016 at 7:57 PM Todd Pickell notifications@github.com wrote:

@AnalogJ https://github.com/AnalogJ what is the earliest version you have been able to install on Ruby 2.1.8 ??

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/electric-it/minimart/issues/47#issuecomment-219607190

tapickell commented 8 years ago

Ok cool, I am trying to track down where this started. It works fine with Ruby --version 2.2.X but breaks with 2.1.8 for me as well, which it should not.

tapickell commented 8 years ago

@AnalogJ I am getting a fix in and will push it to latest version. I will ping @berniedurfee-ge to make sure it gets to RubyGems.org ASAP.

tapickell commented 8 years ago

@AnalogJ just pushed version 1.2.3 up on RubyGems, give that a shot, it should work fine now.

AnalogJ commented 8 years ago

Confirmed, this is now fixed. Thanks for the quick turn-around guys 👍

berniedurfee-ge commented 8 years ago

Excellent work guys, thanks!! 👍