Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Gem add_dependency failing

15 views
Skip to first unread message

Matt Mower

unread,
Apr 21, 2005, 5:18:05 AM4/21/05
to
Hi,

I am about to release a newer version of Bishop which depends upon the
Stemmer gem. At the end of my Gemspec I have added

s.add_dependency( "stemmer", ">= 1.0.1" )

and rebuilt the gem. I made sure Stemmer was not installed and then
tried to install the new Bishop gem using the local gem file.

According to Page 226 of PickAxe2 when attempting a local installation
of a gem where a dependency is not satisfied I should get an error:

Could not find RubyGem stemmer (>= 1.0.1)

However I am finding that it performs the local installation despite
the dependency not being satisfied and, later, if I try to require
'bishop' I get:

irb(main):001:0> require 'bishop'
Gem::LoadError: Could not find RubyGem Stemmer (>= 1.0.1)

I'm using RubyGems 0.8.10. Can anyone help me?

Matt

--
Matt Mower :: http://matt.blogs.it/

Chad Fowler

unread,
Apr 21, 2005, 6:14:19 AM4/21/05
to
Hi Matt!

On 4/21/05, Matt Mower <matt....@gmail.com> wrote:
> Hi,
>
> I am about to release a newer version of Bishop which depends upon the
> Stemmer gem. At the end of my Gemspec I have added
>
> s.add_dependency( "stemmer", ">= 1.0.1" )
>
> and rebuilt the gem. I made sure Stemmer was not installed and then
> tried to install the new Bishop gem using the local gem file.
>
> According to Page 226 of PickAxe2 when attempting a local installation
> of a gem where a dependency is not satisfied I should get an error:
>
> Could not find RubyGem stemmer (>= 1.0.1)
>
> However I am finding that it performs the local installation despite
> the dependency not being satisfied and, later, if I try to require
> 'bishop' I get:
>


This is a new bug. Thanks for pointing it out. We'll look into it
and try to get it fixed quickly.

Chad

--

Chad Fowler
http://chadfowler.com
http://rubycentral.org
http://rubygarden.org
http://rubygems.rubyforge.org (over 300,000 gems served!)

Chad Fowler

unread,
Apr 21, 2005, 6:28:21 AM4/21/05
to
On 4/21/05, Chad Fowler <chadf...@gmail.com> wrote:
> Hi Matt!
>
> On 4/21/05, Matt Mower <matt....@gmail.com> wrote:
> > Hi,
> >
> > I am about to release a newer version of Bishop which depends upon the
> > Stemmer gem. At the end of my Gemspec I have added
> >
> > s.add_dependency( "stemmer", ">= 1.0.1" )
> >
> > and rebuilt the gem. I made sure Stemmer was not installed and then
> > tried to install the new Bishop gem using the local gem file.
> >
> > According to Page 226 of PickAxe2 when attempting a local installation
> > of a gem where a dependency is not satisfied I should get an error:
> >
> > Could not find RubyGem stemmer (>= 1.0.1)
> >
> > However I am finding that it performs the local installation despite
> > the dependency not being satisfied and, later, if I try to require
> > 'bishop' I get:
> >
>
> This is a new bug. Thanks for pointing it out. We'll look into it
> and try to get it fixed quickly.
>
> Chad
>

Fixed in CVS. I've sent it to Jim for a review. Hopefully we can
make a point release in the next few days.

Matt Mower

unread,
Apr 21, 2005, 4:19:15 PM4/21/05
to
Hi Chad,

On 4/21/05, Chad Fowler <chadf...@gmail.com> wrote:
> On 4/21/05, Chad Fowler <chadf...@gmail.com> wrote:
> > Hi Matt!
> >
> > On 4/21/05, Matt Mower <matt....@gmail.com> wrote:
> > > Hi,
> > >
> > > I am about to release a newer version of Bishop which depends upon the
> > > Stemmer gem. At the end of my Gemspec I have added
> > >
> > > s.add_dependency( "stemmer", ">= 1.0.1" )
> > >
> > > and rebuilt the gem. I made sure Stemmer was not installed and then
> > > tried to install the new Bishop gem using the local gem file.
> > >
> > > According to Page 226 of PickAxe2 when attempting a local installation
> > > of a gem where a dependency is not satisfied I should get an error:
> > >
> > > Could not find RubyGem stemmer (>= 1.0.1)
> > >
> > > However I am finding that it performs the local installation despite
> > > the dependency not being satisfied and, later, if I try to require
> > > 'bishop' I get:
> > >
> >
> > This is a new bug. Thanks for pointing it out. We'll look into it
> > and try to get it fixed quickly.
> >
> > Chad
> >
>
> Fixed in CVS. I've sent it to Jim for a review. Hopefully we can
> make a point release in the next few days.
>

Cool. Thanks for fixing it so fast! :-)

M

0 new messages