-
Notifications
You must be signed in to change notification settings - Fork 27
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
docker-compose parsing issues #40
Comments
@xeger seems like ruby 2.0 is still either not sufficient enaugh or Sierra ships a special version of it. |
The gem declares that it requires Ruby 2.1: https://github.com/xeger/docker-compose/blob/master/docker-compose.gemspec#L22 But it seems that RubyGems does not provide any warning when someone installs it on an older version of Ruby. Given the number of people who have reported this bug (3-4), it seems obvious that many users prefer the OS X Ruby VM instead of a tool such as rbenv (https://github.com/rbenv/rbenv). I am considering adding support for Ruby 2.0, but I don't have any free time until next week. I'll leave this issue open to track that effort. |
In the meantime, @sandrodz, you can install a newer version of Ruby (2.1 or greater) as a workaround. I recommend using rbenv (https://github.com/rbenv/rbenv), but you can also install via Homebrew: https://www.ruby-lang.org/en/documentation/installation/#homebrew |
Well not all developers are ruby devs, and not all of them need rbenv :) Thanks for clarifiication, I will install rbenv, I was meaning to anyways dabbing in ROR. |
Yup; that's why I am considering re-adding Ruby 2.0 support, so it's easier to use |
Having 2.0 support would be key for docker-sync to reduce the amount of "prework" needed to try it. Is it possible to even go down to 1.9 for el Captian support? |
Going to 1.9 would require us to stop using keyword arguments, which would On Thu, Sep 22, 2016 at 4:41 AM, Eugen Mayer notifications@github.com
|
I see that, on the other side, OSX users have to install rbenv / ruby to just use docker-sync - that makes me think if i should really stick to the docker-compose gem, since this is a huge hurdle to people actually not wanting to install all this when they are actually planing with docker. Hard choices |
@EugenMayer people who moved to docker actually don't want anything on their host systems. So it would be better to come up with solution where docker-sync is run inside docker container with correct ruby version, this way avoiding keeping anything on host. |
this is impossible, docker-sync purpose is to fix what docker-for-mac fails on, it is host-based by defintion |
I added Ruby 2.0 support in docker-compose 1.0; @sandrodz if you upgrade from 0.8, that should fix your problems. I added CI coverage to ensure that we remain compatible. See PR @EugenMayer. |
great, thank you @xeger |
@xeger @EugenMayer thank you both! Though I've moved to rbenv |
Ruby 2.0 CI; add basic Mapper spec. Closes #40.
You forgot changing:
|
OSX sierra:
ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin16]
original issue EugenMayer/docker-sync#142 (comment)
The text was updated successfully, but these errors were encountered: