Github messages for voidlinux
 help / color / mirror / Atom feed
From: kotoko <kotoko@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: The path towards Ruby 3
Date: Mon, 11 Apr 2022 19:14:10 +0200	[thread overview]
Message-ID: <20220411171410.xZHdJAsSfaxD9rOUCYA83cleCTAOT0b7PcN_SeApFUk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31955@inbox.vuxu.org>

[-- 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!

  parent reply	other threads:[~2022-04-11 17:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-14 10:32 [ISSUE] " leahneukirchen
2021-07-23 13:14 ` [ISSUE] [CLOSED] " leahneukirchen
2022-04-11 17:14 ` kotoko [this message]
2023-01-05  8:45 ` Animeshz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220411171410.xZHdJAsSfaxD9rOUCYA83cleCTAOT0b7PcN_SeApFUk@z \
    --to=kotoko@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).