Skip to content

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

@gnanet

Description

@gnanet

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions