Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 2010 19:08:47 +0800
From:      Jyun-Yan You <crabtw@gmail.com>
To:        Stanislav Sedov <stas@freebsd.org>
Cc:        freebsd-ruby@freebsd.org
Subject:   Re: Rake dependency problem for Ruby 1.9.1
Message-ID:  <8e54b5841002030308o5311e2c4q34291dd26f54b473@mail.gmail.com>
In-Reply-To: <20100203021840.3cb12a90.stas@FreeBSD.org>
References:  <8e54b5841002030205r12c8787bmd311464dfdbfd8c2@mail.gmail.com> <20100203021840.3cb12a90.stas@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 3, 2010 at 6:18 PM, Stanislav Sedov <stas@freebsd.org> wrote:

> On Wed, 3 Feb 2010 18:05:50 +0800
> Jyun-Yan You <crabtw@gmail.com> mentioned:
>
> > I got a problem when I tried to install some gems that depends rake.
> >
> > For example, www/rubygem-passenger, it needs devel/rubygem-rake but I
> can't
> > install it.
> > It says that rake already included in Ruby 1.9.1.
> >
> > If I don't have rake in gem list, I can't install passenger
> >
> > How can I solve the problem?
>
> It shouldn't depend on it. rubygem-passenger has USE_RAKE=yes in Makefile,
> and this knob adds dependency only if ruby 1.8 is used.  What command
> do you use to install rubygem-passenger, and what the exact error message
> is?
>
> --
> Stanislav Sedov
> ST4096-RIPE
>

install rubygem-passenger:

    cd /usr/ports/www/rubygem-passenger
    make RUBY_VER=1.9 install clean

error message:

    /usr/bin/env  /usr/local/bin/gem19 install -l --no-update-sources
--no-ri --install-dir /usr/local/lib/ruby/gems/1.9
/usr/ports/distfiles/rubygem/passenger-2.2.7.gem -- --build-args
    ERROR:  Error installing
/usr/ports/distfiles/rubygem/passenger-2.2.7.gem:
            passenger requires rake (>= 0.8.1, runtime)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8e54b5841002030308o5311e2c4q34291dd26f54b473>