You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
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/bundleOr 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:
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 succeedsI 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.
The text was updated successfully, but these errors were encountered: