question on upgrading ruby

Hello

Here I am the newbie.
My system (ubuntu 16.04) has the default ruby installed with the version
2.5.
I want to upgrade to ruby 3.0.
After google I implemented it with snap, who gets the latest ruby
installation.
But I have to make soft links to all the binary files one by one by hand,
such as:

*gem* -> /snap/bin/gem

*rake* -> /snap/bin/rake

*bundle* -> /snap/bin/bundle

*ruby* -> /snap/bin/ruby

Can you tell me what's the more standard process to upgrade ruby?

Thanks.

Do you need to upgrade the system ruby? I just use asdf [
https://asdf-vm.com/\] to install ruby as user to develop with.

martin

···

On Mon, Nov 15, 2021 at 1:44 AM Hoffman S <hoff@tsolr.com> wrote:

Hello

Here I am the newbie.
My system (ubuntu 16.04) has the default ruby installed with the version
2.5.
I want to upgrade to ruby 3.0.
After google I implemented it with snap, who gets the latest ruby
installation.
But I have to make soft links to all the binary files one by one by hand,
such as:

*gem* -> /snap/bin/gem

*rake* -> /snap/bin/rake

*bundle* -> /snap/bin/bundle

*ruby* -> /snap/bin/ruby

Can you tell me what's the more standard process to upgrade ruby?

Thanks.

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

yes, I meant the system ruby.

···

On Mon, Nov 15, 2021 at 5:53 PM Martin DeMello <martindemello@gmail.com> wrote:

Do you need to upgrade the system ruby? I just use asdf [
https://asdf-vm.com/\] to install ruby as user to develop with.

martin

On Mon, Nov 15, 2021 at 1:44 AM Hoffman S <hoff@tsolr.com> wrote:

Hello

Here I am the newbie.
My system (ubuntu 16.04) has the default ruby installed with the version
2.5.
I want to upgrade to ruby 3.0.
After google I implemented it with snap, who gets the latest ruby
installation.
But I have to make soft links to all the binary files one by one by hand,
such as:

*gem* -> /snap/bin/gem

*rake* -> /snap/bin/rake

*bundle* -> /snap/bin/bundle

*ruby* -> /snap/bin/ruby

Can you tell me what's the more standard process to upgrade ruby?

Thanks.

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

No, I'm asking whether you really need to upgrade the system ruby, or if
you just need a 3.0 ruby to do your own development with. The system ruby
is typically what any other system tools that happen to be written in ruby
will rely on, and those tools will tend to be compatible with the version
that is installed by default.

martin

···

On Mon, Nov 15, 2021 at 1:55 AM Hoffman S <hoff@tsolr.com> wrote:

yes, I meant the system ruby.

On Mon, Nov 15, 2021 at 5:53 PM Martin DeMello <martindemello@gmail.com> > wrote:

Do you need to upgrade the system ruby? I just use asdf [
https://asdf-vm.com/\] to install ruby as user to develop with.

martin

On Mon, Nov 15, 2021 at 1:44 AM Hoffman S <hoff@tsolr.com> wrote:

Hello

Here I am the newbie.
My system (ubuntu 16.04) has the default ruby installed with the version
2.5.
I want to upgrade to ruby 3.0.
After google I implemented it with snap, who gets the latest ruby
installation.
But I have to make soft links to all the binary files one by one by
hand, such as:

*gem* -> /snap/bin/gem

*rake* -> /snap/bin/rake

*bundle* -> /snap/bin/bundle

*ruby* -> /snap/bin/ruby

Can you tell me what's the more standard process to upgrade ruby?

Thanks.

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org
?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

ok I got your meaning. One of my library "ignite-client" requires the
latest ruby to use. So how can I develop and deploy with the latest ruby
version?

Thanks.

···

On Mon, Nov 15, 2021 at 6:02 PM Martin DeMello <martindemello@gmail.com> wrote:

No, I'm asking whether you really need to upgrade the system ruby, or if
you just need a 3.0 ruby to do your own development with. The system ruby
is typically what any other system tools that happen to be written in ruby
will rely on, and those tools will tend to be compatible with the version
that is installed by default.

martin

On Mon, Nov 15, 2021 at 1:55 AM Hoffman S <hoff@tsolr.com> wrote:

yes, I meant the system ruby.

On Mon, Nov 15, 2021 at 5:53 PM Martin DeMello <martindemello@gmail.com> >> wrote:

Do you need to upgrade the system ruby? I just use asdf [
https://asdf-vm.com/\] to install ruby as user to develop with.

martin

On Mon, Nov 15, 2021 at 1:44 AM Hoffman S <hoff@tsolr.com> wrote:

Hello

Here I am the newbie.
My system (ubuntu 16.04) has the default ruby installed with the
version 2.5.
I want to upgrade to ruby 3.0.
After google I implemented it with snap, who gets the latest ruby
installation.
But I have to make soft links to all the binary files one by one by
hand, such as:

*gem* -> /snap/bin/gem

*rake* -> /snap/bin/rake

*bundle* -> /snap/bin/bundle

*ruby* -> /snap/bin/ruby

Can you tell me what's the more standard process to upgrade ruby?

Thanks.

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org
?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org
?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Install asdf first, instructions here:

Then you can install ruby 3.0 via asdf, and switch to it. Here's a guide to
using asdf to manage ruby:

martin

···

On Mon, Nov 15, 2021 at 2:08 AM Hoffman S <hoff@tsolr.com> wrote:

ok I got your meaning. One of my library "ignite-client" requires the
latest ruby to use. So how can I develop and deploy with the latest ruby
version?

Thanks.

On Mon, Nov 15, 2021 at 6:02 PM Martin DeMello <martindemello@gmail.com> > wrote:

No, I'm asking whether you really need to upgrade the system ruby, or if
you just need a 3.0 ruby to do your own development with. The system ruby
is typically what any other system tools that happen to be written in ruby
will rely on, and those tools will tend to be compatible with the version
that is installed by default.

martin

On Mon, Nov 15, 2021 at 1:55 AM Hoffman S <hoff@tsolr.com> wrote:

yes, I meant the system ruby.

On Mon, Nov 15, 2021 at 5:53 PM Martin DeMello <martindemello@gmail.com> >>> wrote:

Do you need to upgrade the system ruby? I just use asdf [
https://asdf-vm.com/\] to install ruby as user to develop with.

martin

On Mon, Nov 15, 2021 at 1:44 AM Hoffman S <hoff@tsolr.com> wrote:

Hello

Here I am the newbie.
My system (ubuntu 16.04) has the default ruby installed with the
version 2.5.
I want to upgrade to ruby 3.0.
After google I implemented it with snap, who gets the latest ruby
installation.
But I have to make soft links to all the binary files one by one by
hand, such as:

*gem* -> /snap/bin/gem

*rake* -> /snap/bin/rake

*bundle* -> /snap/bin/bundle

*ruby* -> /snap/bin/ruby

Can you tell me what's the more standard process to upgrade ruby?

Thanks.

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org
?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org
?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org
?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;

Unsubscribe: <mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt;