On Sat, 2017-07-01 at 23:53 +0200, Cornelius Schumacher wrote:
On 2017 M06 28, Wed 17:15:10 CEST Marcus Rückert
I really hope that having to call a binary with a slightly
name is something that the average developer can do.
Developers certainly can do that once they noticed that they have to.
It still is annoying when you have to type more than necessary and if
you have to change instructions and scripts you find elsewhere.
I understand the versioning from a packaging
perspective, but from a
user's perspective it doesn't provide the best experience. I would
prefer if we had a great out-of-the-box experience for Ruby on
openSUSE which follows the conventions everybody else is using.
yes. everybody else supports just one ruby version or does a lot of
mangling of shell variables to make it work otherwise. I prefer a
solution where i can call all rubies all the time.
And as i said
this only affects a few very core binaries. all our
rubygem rpms are using update-alternatives.
Which doesn't feel to be very consistent.
Well unless we make the effort to handle the she bang lines in all ruby
scripts we have no other choices than locking down a few binaries.
pointed out already do not change the system ruby.
Might it be possible to make YaST use a versioned version of
that the system Ruby would be a bit more flexible?
Sure. Will you and your team help with the work and the maintenance
to keep it working in the long run?
If YaST would rely on the specific version it is tested with and not
use the default "ruby" executable it would not change the maintenance
effort, would it? Wouldn't this even make things easier as there are
more specific dependencies and less chance of breakage through
unrelated changes in the system?
no the story is differently: we only tested and verified yast with the
default ruby. over time more rubies got added, but given that we can
not put in the effort to make sure that yast and co work on all ruby
versions at the same time, we need to lock down she bang lines. which
we dont do right now. gems do that automatically.
openSUSE - SUSE Linux is my linux
openSUSE is good for you
To unsubscribe, e-mail: opensuse-ruby+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-ruby+owner(a)opensuse.org