[opensuse-ruby] to get ruby 2.1 in Tumbleweed -- official way?
Hello, is it possible to get ruby2.1 on Tumbleweed now? As I can see, 2.2 and 2.3 versions are available, but both are broken[1,2] for me. I can download tarball and install it, but would like to use official-openSUSE-way to do that :) Does anybody installed already ruby2.1 package for older oS' version? I'm beginner in ruby and would like to install it on my system at work, i.e. don't wont to broke something (gem's links, irb or something like this) Thank you, Alex [1] https://bugs.ruby-lang.org/issues/12393 [2] https://bugs.ruby-lang.org/issues/12478 -- To unsubscribe, e-mail: opensuse-ruby+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-ruby+owner@opensuse.org
It works. Yes, it's workaround, but it's possible to take ruby2.1 and ruby-devel version 2.1 from the Leap42.1 repo. If you use "direct install" (ymp) it will automatically add leap repo. Don't forget to delete it after installation. Just one thing you will need to care about is... ruby PATH.
sudo rm -rf /usr/local/bin/ruby sudo ln -s /usr/bin/ruby.ruby2.1 /usr/local/bin/ruby
cat /etc/SuSE-release | grep openSUSE openSUSE 20160728 (x86_64)
ruby -v ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux-gnu]
which gem.ruby2.1 /usr/bin/gem.ruby2.1
irb irb(main):001:0> RUBY_VERSION => "2.1.2"
Have fun :) Alex On Fri, Aug 19, 2016 at 5:57 PM, Alex Naumov <alexander_naumov@opensuse.org> wrote:
Hello,
is it possible to get ruby2.1 on Tumbleweed now? As I can see, 2.2 and 2.3 versions are available, but both are broken[1,2] for me.
I can download tarball and install it, but would like to use official-openSUSE-way to do that :)
Does anybody installed already ruby2.1 package for older oS' version? I'm beginner in ruby and would like to install it on my system at work, i.e. don't wont to broke something (gem's links, irb or something like this)
Thank you, Alex
[1] https://bugs.ruby-lang.org/issues/12393 [2] https://bugs.ruby-lang.org/issues/12478 -- To unsubscribe, e-mail: opensuse-ruby+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-ruby+owner@opensuse.org
participants (1)
-
Alex Naumov