all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Felix Lechner via <help-guix@gnu.org>
To: Daniel Littlewood <danielittlewood@gmail.com>,
	help-guix <help-guix@gnu.org>
Subject: Re: Ruby without RVM - what to do if the version I want is missing?
Date: Fri, 14 Jun 2024 09:15:34 -0700	[thread overview]
Message-ID: <87a5jn33h5.fsf@lease-up.com> (raw)
In-Reply-To: <CAFDSbVcda1Bw+4J_eiNtfXC=DW5LqbDrMGuAw2Bvd=rmE3RzHw@mail.gmail.com>

Hi Daniel,

On Fri, Jun 14 2024, Daniel Littlewood wrote:

> I am trying to migrate from Debian to Guix.

Congratulations & welcome!  I did the same thing two and half years ago.

The next two months were some of the most painful weeks in my life, but
now I'm in a very happy place.

> I am used to using RVM/rbenv to manage my ruby versions

Unfortunately, I cannot help you with Ruby and will leave that to others
reading this list .

> Which parts of the manual should I read

Please put both the Guix and the Guile manual on speed dial.  An easy
way to do that is to type "C-h R" in Emacs and them select the manual.
Typing "i" will search the index of that manual.

Over time you will memorize large parts of both manuals.

You may be able to find some Scheme help in the IRC channel #scheme on
Libera.chat.

> `(package (name ruby-pry)...` and another `(define-public ruby-pg
> (package (name "ruby-pg")...`. What is the significance of
> define-public?

The (package declaration is a Guix record. [1] Those can be confusing
because field names do not result in command execution even though they
follow an opening parenthesis.

The procedure 'define-public' will define a new variable and export it
for use in other modules. [2]

> would it be useful for someone to have another channel where things
> like extra ruby versions are packaged and pre-built?

Almost everyone here has their own channel or contributes to a channel
outside the mainline.

> I wouldn't mind if there was a lower standard for stuff being pulled
> naively via rubygems or whatever.

You are not alone.  A lot of folks at Guix would appreciate that type of
automation.  Please have a look at 'guix import'. [3]

Good luck & thanks for trying GNU Guix!

Kind regards
Felix

[1] https://lepiller.eu/en/a-deep-dive-into-guix-records.html
[2] https://www.gnu.org/software/guile/manual/html_node/Creating-Guile-Modules.html#index-define_002dpublic
[3] https://guix.gnu.org/manual/devel/en/html_node/Invoking-guix-import.html


  reply	other threads:[~2024-06-14 16:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-14 15:43 Ruby without RVM - what to do if the version I want is missing? Daniel Littlewood
2024-06-14 16:15 ` Felix Lechner via [this message]
2024-06-14 17:36 ` Andreas Enge
2024-06-15  6:39   ` Nils Landt
2024-06-16 10:27   ` Andreas Enge
2024-06-17 19:09     ` Daniel Littlewood
2024-06-17 19:09       ` [bug#71559] " Daniel Littlewood
2024-06-19 15:50       ` Remco van 't Veer
2024-06-20 17:09       ` Andreas Enge
2024-06-15  7:43 ` Remco van 't Veer

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=87a5jn33h5.fsf@lease-up.com \
    --to=help-guix@gnu.org \
    --cc=danielittlewood@gmail.com \
    --cc=felix.lechner@lease-up.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.