kazakore
April 30th, 2015, 06:04 AM
I am trying to install Ruby 2.1 so that I can compile Sonic-Pi and give it a go.
https://github.com/samaaron/sonic-pi/blob/master/INSTALL.md#generic-linux (https://github.com/samaaron/sonic-pi/blob/master/INSTALL.md#generic-linux)
Running
sudo apt-get install supercollider ruby2.1 libqscintilla2-dev ruby-dev cmake pkg-config
and I get
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ruby2.1
E: Couldn't find any package by regex 'ruby2.1'
This page seems to list ruby2.1 as a valid package but clicking on APT Install button and it doesn't find it.
http://www.ubuntuupdates.org/package/core/vivid/main/base/ruby2.1 (http://www.ubuntuupdates.org/package/core/vivid/main/base/ruby2.1)
Installing just ruby installs ruby1.9 so not the correct version!
How do I install Ruby 2.1 via Apt so I can keep it updated?
EDIT: Ok I believe it's called 2.0 in Trusty.
http://www.ubuntuupdates.org/pm/ruby2.1 (http://http://www.ubuntuupdates.org/pm/ruby2.1)
...
except.
$ ruby2.0 -v
ruby 2.0.0p384 (2014-01-12) [x86_64-linux-gnu]
Sorry there a trusty 2.1 listed as well but it doesn't work!!
http://www.ubuntuupdates.org/package/brightbox_ruby_ng_experimental/trusty/main/base/ruby2.1
https://github.com/samaaron/sonic-pi/blob/master/INSTALL.md#generic-linux (https://github.com/samaaron/sonic-pi/blob/master/INSTALL.md#generic-linux)
Running
sudo apt-get install supercollider ruby2.1 libqscintilla2-dev ruby-dev cmake pkg-config
and I get
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ruby2.1
E: Couldn't find any package by regex 'ruby2.1'
This page seems to list ruby2.1 as a valid package but clicking on APT Install button and it doesn't find it.
http://www.ubuntuupdates.org/package/core/vivid/main/base/ruby2.1 (http://www.ubuntuupdates.org/package/core/vivid/main/base/ruby2.1)
Installing just ruby installs ruby1.9 so not the correct version!
How do I install Ruby 2.1 via Apt so I can keep it updated?
EDIT: Ok I believe it's called 2.0 in Trusty.
http://www.ubuntuupdates.org/pm/ruby2.1 (http://http://www.ubuntuupdates.org/pm/ruby2.1)
...
except.
$ ruby2.0 -v
ruby 2.0.0p384 (2014-01-12) [x86_64-linux-gnu]
Sorry there a trusty 2.1 listed as well but it doesn't work!!
http://www.ubuntuupdates.org/package/brightbox_ruby_ng_experimental/trusty/main/base/ruby2.1