Skip to content
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

CentOS 7 build failing sass gem test install due to old Ruby version #56

Closed
geerlingguy opened this issue Dec 16, 2018 · 2 comments
Closed

Comments

@geerlingguy
Copy link
Owner

geerlingguy commented Dec 16, 2018

TASK [geerlingguy.ruby : Install configured gems.] *****************************
    failed: [instance] (item=sass) => {"changed": false, "cmd": "/bin/gem install --user-install --no-document sass", "item": "sass", "msg": "WARNING:  You don't have /root/.gem/ruby/bin in your PATH,
    gem executables will not run.
ERROR:  Error installing sass:
  rb-inotify requires Ruby version >= 2.2.", "rc": 1, "stderr": "WARNING:  You don't have /root/.gem/ruby/bin in your PATH,
    gem executables will not run.
ERROR:  Error installing sass:
  rb-inotify requires Ruby version >= 2.2.
", "stderr_lines": ["WARNING:  You don't have /root/.gem/ruby/bin in your PATH,", "    gem executables will not run.", "ERROR:  Error installing sass:", "  rb-inotify requires Ruby version >= 2.2."], "stdout": "Successfully installed rb-fsevent-0.10.3
Building native extensions.  This could take a while...
Successfully installed ffi-1.9.25
", "stdout_lines": ["Successfully installed rb-fsevent-0.10.3", "Building native extensions.  This could take a while...", "Successfully installed ffi-1.9.25"]}

See failed build: https://travis-ci.org/geerlingguy/ansible-role-ruby/jobs/468516715#L765

@geerlingguy
Copy link
Owner Author

Going to switch the test to use json instead of sass for now (https://rubygems.org/gems/json). I think it should work with CentOS 7.

@geerlingguy
Copy link
Owner Author

Ha, now:

    TASK [geerlingguy.ruby : Install Bundler.] *************************************
    fatal: [instance]: FAILED! => {"changed": false, "cmd": "/bin/gem install --no-user-install --no-document bundler", "msg": "ERROR:  Error installing bundler:\n\tbundler requires Ruby version >= 2.3.0.", "rc": 1, "stderr": "ERROR:  Error installing bundler:\n\tbundler requires Ruby version >= 2.3.0.\n", "stderr_lines": ["ERROR:  Error installing bundler:", "\tbundler requires Ruby version >= 2.3.0."], "stdout": "", "stdout_lines": []}

So I'll disable bundler install on CentOS 7 for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant