Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] The path towards Ruby 3
@ 2021-07-14 10:32 leahneukirchen
  2021-07-23 13:14 ` [ISSUE] [CLOSED] " leahneukirchen
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: leahneukirchen @ 2021-07-14 10:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 775 bytes --]

New issue by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/issues/31955

Description:
I would like to update Ruby to the new major release 3, and I'd rather not provide a package for 2.7 anymore.

This results in the following implications:
- According to Arch, they have 2.7 around for: facter, hiera, puppet, vagrant
- According to upstream, vagrant 2.2.17 should support Ruby 3.
- The puppet-related packages were not touched since 2019 (by @ndowens), which suggests they are not used.
- Only Puppet 7.8 has experimental support for Ruby 3.

Therefore I'll prepare a PR for Ruby 3 which removes Puppet, unless someone is interested in updating and maintaining them. All other uses of Ruby in Void should work with Ruby 3.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ISSUE] [CLOSED] The path towards Ruby 3
  2021-07-14 10:32 [ISSUE] The path towards Ruby 3 leahneukirchen
@ 2021-07-23 13:14 ` leahneukirchen
  2022-04-11 17:14 ` kotoko
  2023-01-05  8:45 ` Animeshz
  2 siblings, 0 replies; 4+ messages in thread
From: leahneukirchen @ 2021-07-23 13:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 778 bytes --]

Closed issue by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/issues/31955

Description:
I would like to update Ruby to the new major release 3, and I'd rather not provide a package for 2.7 anymore.

This results in the following implications:
- According to Arch, they have 2.7 around for: facter, hiera, puppet, vagrant
- According to upstream, vagrant 2.2.17 should support Ruby 3.
- The puppet-related packages were not touched since 2019 (by @ndowens), which suggests they are not used.
- Only Puppet 7.8 has experimental support for Ruby 3.

Therefore I'll prepare a PR for Ruby 3 which removes Puppet, unless someone is interested in updating and maintaining them. All other uses of Ruby in Void should work with Ruby 3.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: The path towards Ruby 3
  2021-07-14 10:32 [ISSUE] The path towards Ruby 3 leahneukirchen
  2021-07-23 13:14 ` [ISSUE] [CLOSED] " leahneukirchen
@ 2022-04-11 17:14 ` kotoko
  2023-01-05  8:45 ` Animeshz
  2 siblings, 0 replies; 4+ messages in thread
From: kotoko @ 2022-04-11 17:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1040 bytes --]

New comment by kotoko on void-packages repository

https://github.com/void-linux/void-packages/issues/31955#issuecomment-1095319117

Comment:
I personally use puppet and wanted to show a workaround if someone else want to use puppet on void (with missing puppet in xbps repository).

1. First install ruby. After installation command `gem` will become available.

```
xbps-install ruby
```

2a. If you want install puppet system-wide run:

```
gem install puppet
```

And add this to your .bashrc file:

```
GEM_BIN_PATH=`(gem env | grep 'EXECUTABLE DIRECTORY' | sed --quiet "s/.*EXECUTABLE DIRECTORY: \(.*\)/\1/p")`"/bin"
export PATH="$GEM_BIN_PATH:$PATH"
```

2b. If you want to install in current user home directory run:

```
gem install --user-install puppet
```

And add this to your .bashrc file:

```
GEM_BIN_PATH=`(gem env | grep 'USER INSTALLATION DIRECTORY' | sed --quiet "s/.*USER INSTALLATION DIRECTORY: \(.*\)/\1/p")`"/bin"
export PATH="$GEM_BIN_PATH:$PATH"
```

3. Restart your shell. Done!

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: The path towards Ruby 3
  2021-07-14 10:32 [ISSUE] The path towards Ruby 3 leahneukirchen
  2021-07-23 13:14 ` [ISSUE] [CLOSED] " leahneukirchen
  2022-04-11 17:14 ` kotoko
@ 2023-01-05  8:45 ` Animeshz
  2 siblings, 0 replies; 4+ messages in thread
From: Animeshz @ 2023-01-05  8:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 307 bytes --]

New comment by Animeshz on void-packages repository

https://github.com/void-linux/void-packages/issues/31955#issuecomment-1371931719

Comment:
Thanks @kotoko! I needed puppet, but wasn't sure of using ruby-gem as it was nowhere mentioned in the docs, seems like latest puppet runs perfectly fine with gem.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-05  8:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-14 10:32 [ISSUE] The path towards Ruby 3 leahneukirchen
2021-07-23 13:14 ` [ISSUE] [CLOSED] " leahneukirchen
2022-04-11 17:14 ` kotoko
2023-01-05  8:45 ` Animeshz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).