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

Installation fails on Ubuntu 14.04 LTS (with workaround included) #28

Open
gnanet opened this issue Jun 8, 2018 · 0 comments
Open

Installation fails on Ubuntu 14.04 LTS (with workaround included) #28

gnanet opened this issue Jun 8, 2018 · 0 comments

Comments

@gnanet
Copy link

gnanet commented Jun 8, 2018

With time passing by, the dependencies listed in the Gemfile, are developed further, and require more recent version of Ruby, and the instructions for Linux Mint 17 LTS / Ubuntu 14.04 LTS need to be either updated, or the relevant dependencies version-locked conditionally if install is done on that system.

Currently

  • rake -> requires Ruby version >= 2.0.0.
    You can do sudo apt-get install git ruby2.0 ruby2.0-dev bundler build-essential
    And replace #!/usr/bin/env ruby with #!/usr/bin/env ruby2.0 in /usr/bin/bundle
    Or change the symlink /usr/bin/ruby to point to ruby2.0 instead of ruby1.9.1
    NOTE: the ruby version is in fact 1.9.3 but the name of the binary in Ubuntu don't reflect this

But after fixing the dependency rake:

  • nokogiri requires Ruby version >= 2.1.0.
    But no ruby2.1 is available for Ubuntu 14.04 on the simple way
    The last version that would work is nokogiri 1.6.8.1 which requires Ruby >= 1.9.2
    If you specify the version above for nokogiri in Gemfile like this: gem 'nokogiri', '1.6.8.1' the install succeeds

I did a quick research, and at the time of the last know commit on Jan 4, 2015, the versions of the "problem gems" were rake: 10.4.2 and nokogiri: 1.6.5 and the ruby version required to succeed was 1.9.2.

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