all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Björn Höfling" <bjoern.hoefling@bjoernhoefling.de>
To: Ben Woodcroft <b.woodcroft@uq.edu.au>, Guix-Help <help-guix@gnu.org>
Subject: Re: Help with Ruby: rouge 2.0.7
Date: Fri, 17 Mar 2017 23:48:22 +0100	[thread overview]
Message-ID: <20170317234822.03ba4da1@alma-ubu> (raw)
In-Reply-To: <ecaf45fd-61d8-d12b-65ad-2337198c8b7b@uq.edu.au>

Hi Ben,

On Wed, 15 Mar 2017 22:14:06 +1000
Ben Woodcroft <b.woodcroft@uq.edu.au> wrote:

> Hello there,
> 
> 
> On 15/03/17 08:08, Björn Höfling wrote:
> > Hello,
> >
> > I want to import the Ruby package 'rouge' 2.0.7 into Guix. I'm new
> > to Ruby, Gem, Rake, etc. and tried the importer with some success.
> > Maybe someone with more Ruby experience can tell me what's the
> > right way here?
> >
> > OK, I thought this is an easy one, because it has no dependencies:  
> Unfortunately, as you found, often the dependencies needed for
> testing are sometimes not listed at rubygems.org, since it is not
> common for tests to be run as part of the "gem install" installation
> process.
> 
> > https://rubygems.org/gems/rouge/versions/2.0.7
> >
> > I started with:
> >
> > guix import gem rouge > rouge.scm
> >
> > Then added some import headers in the file and tried to build it
> > with [..]
> > /gnu/store/6ks5gf4088qd23hac1cbd14aml6h1pgw-bundler-1.14.5/lib/ruby/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/resolver.rb:386:in
> > `block in verify_gemfile_dependencies_are_found!': Could not find
> > gem 'wrong' in any of the gem sources listed in your Gemfile.
> > (Bundler::GemNotFound)
> > from /gnu/store/6ks5gf4088qd23hac1cbd14aml6h1pgw-bundler-1.14.5/lib/ruby/gems/2.3.0/gems/bundler-1.14.5/lib/bundler/resolver.rb:356:in
> > `each'
> > [..]
> >
> > Does that mean that I have to install
> > 'wrong' (https://rubygems.org/gems/wrong) that itself has 5
> > dependencies, 4 are not in Guix?  
> That seems to be the case, unfortunately. There also seems to be some 
> other gems in the Gemfile which aren't yet packaged for Guix. There
> are also a number of packages in the wip-rails branch on savannah
> which might be of use - these aren't quite ready yet but if there was
> interest I could finish them off.
> 
> If the number of packages needed gets too large, then there may be a 
> case for not running the tests in some packages.
> 
> Good luck.
> ben.


Rouge was just a leaf node in my dependency graph to Jekyll. Now it is
no longer a leaf, it is a node nearly on top... That dependency hell is
frustrating.

I would prefer not skipping the tests. For now I installed Jekyll from
my current distribution (Guix is currently just on top of that). I will
try to find some real leaf nodes later and start with them. But that
has low priority for me.

Thank you for your help,

Björn

      reply	other threads:[~2017-03-17 22:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-14 22:08 Help with Ruby: rouge 2.0.7 Björn Höfling
2017-03-15 12:14 ` Ben Woodcroft
2017-03-17 22:48   ` Björn Höfling [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=20170317234822.03ba4da1@alma-ubu \
    --to=bjoern.hoefling@bjoernhoefling.de \
    --cc=b.woodcroft@uq.edu.au \
    --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.