unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* RubyGem Local
@ 2016-07-13 15:25 Daniel Pimentel
  2016-07-13 15:54 ` Thompson, David
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Pimentel @ 2016-07-13 15:25 UTC (permalink / raw)
  To: guix-devel

Guix,

I did a hack to RubyGem (Rails and other ruby packages) work on GuixSD:

echo 'export GEM_HOME="$HOME/.gem"' >> ~.bashrc
echo 'export PATH="$PATH:$GEM_HOME/bin"' ~.bashrc

Is correct?

Are there better soluction for it?

Thanks,

-- 
Daniel Pimentel (aka d4n1)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: RubyGem Local
  2016-07-13 15:25 RubyGem Local Daniel Pimentel
@ 2016-07-13 15:54 ` Thompson, David
  2016-07-14  6:48   ` Pjotr Prins
  0 siblings, 1 reply; 3+ messages in thread
From: Thompson, David @ 2016-07-13 15:54 UTC (permalink / raw)
  To: Daniel Pimentel; +Cc: guix-devel

On Wed, Jul 13, 2016 at 11:25 AM, Daniel Pimentel <d4n1@d4n1.org> wrote:
> Guix,
>
> I did a hack to RubyGem (Rails and other ruby packages) work on GuixSD:
>
> echo 'export GEM_HOME="$HOME/.gem"' >> ~.bashrc
> echo 'export PATH="$PATH:$GEM_HOME/bin"' ~.bashrc
>
> Is correct?
>
> Are there better soluction for it?

This is a fine way to do things. It's pretty much exactly what I do at
work in my hybrid development environment where I use Guix to provide
Ruby and other "system" libraries, and gem to provide all the Ruby
stuff.

- Dave

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: RubyGem Local
  2016-07-13 15:54 ` Thompson, David
@ 2016-07-14  6:48   ` Pjotr Prins
  0 siblings, 0 replies; 3+ messages in thread
From: Pjotr Prins @ 2016-07-14  6:48 UTC (permalink / raw)
  To: Thompson, David; +Cc: guix-devel

I have a script to isolate versions:

https://github.com/pjotrp/guix-notes/blob/master/scripts/ruby-guix-env

On Wed, Jul 13, 2016 at 11:54:07AM -0400, Thompson, David wrote:
> On Wed, Jul 13, 2016 at 11:25 AM, Daniel Pimentel <d4n1@d4n1.org> wrote:
> > Guix,
> >
> > I did a hack to RubyGem (Rails and other ruby packages) work on GuixSD:
> >
> > echo 'export GEM_HOME="$HOME/.gem"' >> ~.bashrc
> > echo 'export PATH="$PATH:$GEM_HOME/bin"' ~.bashrc
> >
> > Is correct?
> >
> > Are there better soluction for it?
> 
> This is a fine way to do things. It's pretty much exactly what I do at
> work in my hybrid development environment where I use Guix to provide
> Ruby and other "system" libraries, and gem to provide all the Ruby
> stuff.
> 
> - Dave
> 

-- 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-07-14  6:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-13 15:25 RubyGem Local Daniel Pimentel
2016-07-13 15:54 ` Thompson, David
2016-07-14  6:48   ` Pjotr Prins

Code repositories for project(s) associated with this public inbox

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).