From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id yJUcA8psbGYSSQEA62LTzQ:P1 (envelope-from ) for ; Fri, 14 Jun 2024 16:16:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id yJUcA8psbGYSSQEA62LTzQ (envelope-from ) for ; Fri, 14 Jun 2024 18:16:10 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=TqR3J7k0; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718381770; a=rsa-sha256; cv=none; b=ioVtrq2IrCrx8EGdfsfImV03eMClzr3cTWvHyEZLV5JH3pdiPl0k81Pv4kXJWM0pLVAS+R YDFPsukZDKiLVuCfZBpdwYehRNYkMgTJwi+QtkBJOx/53ebUDoN4KtSGpjtFxSDHwy/8vi JIlxLB6EVjKesiiXYEvuzhk2dqkAhmtImO/4g+fyY5WoOWnM72jG48Y7O/Ge7ZZYhkwF1Z XHwRjTarZdpJIomjs4h8ioajhsa9dEGAVdDWikIFwXP28XLDRYiSFQ1A5fTLQ2JY4SoSdb dbtzjxB8ieYAvyQK0qNaRFfsPR6u2QryJ5cLpmRkii9NxN6MgDnyYR9TcN+8Ig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=TqR3J7k0; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718381770; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=WfGMt58dgKw7gMD5cRy1o2M83pXpUPFV93sJjn4VR/4=; b=u1HM5kLtYKitxIxtzNwM1bF4ss5yD0SxhpdzdPO36wmbS3DflGjK6UyhXNAunbYeQgFjUU C6r/vwutRjJIXCMVQNFHvvVLDRp73pGWkYIiiuXIglhnp41i1RCczadPDWrEs8LV9941kZ qlypco7jlyp5y6Tg4fCfWx8BuKyTIRZXwHyrQQEzhmff9JOXNpUADC6VTwHWLm/ntrBG7B E3SxIpRXYjCWaI0r3t5Y6ri1stu7s3rUXI6Pz84rKHzYuBqB8vpwukHeDSnCkAvDPpT9Hf RMa3iDFw7OFB+p9oOpkcf+cpKBux7HpWvdJplIT2H19sFcSXmpTnPhMX8SRQQw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C708A12E66 for ; Fri, 14 Jun 2024 18:16:09 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sI9aZ-0007Ws-Av; Fri, 14 Jun 2024 12:15:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sI9aX-0007VZ-1h for help-guix@gnu.org; Fri, 14 Jun 2024 12:15:41 -0400 Received: from sail-ipv4.us-core.com ([208.82.101.137]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1sI9aU-0000Nl-Gd for help-guix@gnu.org; Fri, 14 Jun 2024 12:15:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=U3lfEBJrFhFnhg8 1mD6v26fTqqjs7boTMg0AsTabtEY=; h=date:references:in-reply-to:subject: to:from; d=lease-up.com; b=TqR3J7k07noixnpXKgOzUDjVEYbKeslQZl5kiPwCYz8 P0+kk4CphiBP2Oc/8OFW1K3NbR3XHNOp/XQfpkXf5F0XOCIgITnxrajKfZQKIWy5+AzAPd UteoOGyYzXY9EuHyZChJ10Rky2flcjVaFYk1A7gHql4evwOXnC7NiUEQ/o= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 52b3e995 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Fri, 14 Jun 2024 16:15:35 +0000 (UTC) To: Daniel Littlewood , help-guix Subject: Re: Ruby without RVM - what to do if the version I want is missing? In-Reply-To: References: Date: Fri, 14 Jun 2024 09:15:34 -0700 Message-ID: <87a5jn33h5.fsf@lease-up.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=208.82.101.137; envelope-from=felix.lechner@lease-up.com; helo=sail-ipv4.us-core.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Felix Lechner From: Felix Lechner via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: C708A12E66 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -5.85 X-Spam-Score: -5.85 X-TUID: Oj2PH61vDmVU 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