From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: environments Date: Mon, 18 Apr 2016 09:59:55 +0200 Message-ID: <877ffv9wjo.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43438) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1as46D-0002FB-QH for help-guix@gnu.org; Mon, 18 Apr 2016 04:00:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1as46A-0000Py-M8 for help-guix@gnu.org; Mon, 18 Apr 2016 04:00:01 -0400 In-Reply-To: (catonano@gmail.com's message of "Sun, 17 Apr 2016 20:27:02 +0200") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Catonano Cc: help-guix@gnu.org Catonano skribis: > Now, this project has a gem file downloading tons of components that the > project depends on. > > Is it possible to type > > guix environment ruby > > then inside such an environment run bundler (or how it is called) and have > it do its thing ? Sure, but rather: guix environment --ad-hoc ruby to create an environment containing Ruby. > It will download to the local project folder not trying to affect anything > outside the project, right ? I=E2=80=99ve never used Bundler, but I think that=E2=80=99s what it does. So this is all possible, like on any other GNU/Linux system. The downside, of course, is that Bundler is not integrated with Guix and does not provide the same reproducibility guarantees and same level of control over environments. The ideal way would be to provide Guix packages for the Gems you need, using =E2=80=98guix import=E2=80=99, and then use that to manage your devel= opment environments. Ludo=E2=80=99.