all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: vincent@cloutier.co
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: On my way to my first patch, need review
Date: Mon, 28 Mar 2016 08:47:58 +0200	[thread overview]
Message-ID: <87fuvbxfmp.fsf@elephly.net> (raw)
In-Reply-To: <KDudso0--3-0@cloutier.co>


vincent@cloutier.co writes:

>> and it built fine but when I tried to run it I got this error:
>>
>>
>> ~$ wayback_machine_downloader
>> /gnu/store/jaf2s3paa3fswfpzi6amlqjxd3fwiw9x-ruby-2.3.0/lib/ruby/2.3.0/rubygems/dependency.rb:319:in 
>> `to_specs': Could not find 'wayback_machine_downloader' (>= 0.a) among 11 
>> total gem(s) (Gem::LoadError)
>> Checked in 
>> 'GEM_PATH=/home/rain/.gem/ruby/2.3.0:/gnu/store/jaf2s3paa3fswfpzi6amlqjxd3fwiw9x-ruby-2.3.0/lib/ruby/gems/2.3.0', 
>> execute `gem env` for more information
>> 	from 
>> /gnu/store/jaf2s3paa3fswfpzi6amlqjxd3fwiw9x-ruby-2.3.0/lib/ruby/2.3.0/rubygems/dependency.rb:328:in 
>> `to_spec'
>> 	from 
>> /gnu/store/jaf2s3paa3fswfpzi6amlqjxd3fwiw9x-ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_gem.rb:65:in 
>> `gem'
>> 	from /home/rain/.guix-profile/bin/wayback_machine_downloader:22:in 
>> `<main>'
>>
>> I'm not sure what the fix would be.
>
>
>
>
> It worked for me when I added `export 
> GEM_PATH="/home/vincent/.guix-profile/lib/ruby/gems/2.3.0"
> ` to my bashrc. I run Guix on top of Debian, so there might be subtle 
> difference with ruby gems on GuixSD.

In that case the executable should be wrapped with the appropriate
GEM_PATH.  There are a couple of packages under “gnu/packages/” that
have a “wrap-programs” phase doing the same.

~~ Ricardo

  reply	other threads:[~2016-03-28  6:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-26 22:49 On my way to my first patch, need review vincent
2016-03-27 20:29 ` rain1
2016-03-28  0:37   ` vincent
2016-03-28  6:47     ` Ricardo Wurmus [this message]
2016-03-28  5:11 ` Ben Woodcroft
2016-03-28  6:43   ` Chris Marusich
2016-03-28 16:29     ` Translating package descriptions Ludovic Courtès
2016-03-30 16:01       ` vincent
2016-03-30 21:30         ` Ludovic Courtès

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=87fuvbxfmp.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=guix-devel@gnu.org \
    --cc=vincent@cloutier.co \
    /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.