From: ludo@gnu.org (Ludovic Courtès)
To: Catonano <catonano@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: environments
Date: Mon, 18 Apr 2016 09:59:55 +0200 [thread overview]
Message-ID: <877ffv9wjo.fsf@gnu.org> (raw)
In-Reply-To: <CAJ98PDwZgwSsTbHKpVU0j-ETec_s_fcokWJGKx9_3EmxaF5B6w@mail.gmail.com> (catonano@gmail.com's message of "Sun, 17 Apr 2016 20:27:02 +0200")
Catonano <catonano@gmail.com> 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’ve never used Bundler, but I think that’s 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 ‘guix import’, and then use that to manage your development
environments.
Ludo’.
prev parent reply other threads:[~2016-04-18 8:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-17 18:27 environments Catonano
2016-04-18 7:59 ` Ludovic Courtès [this message]
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=877ffv9wjo.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=catonano@gmail.com \
--cc=help-guix@gnu.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.
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.