Forum: Ruby gem install getopt problem

Posted by vjoel (Guest)
on 2005-11-18 19:14
(Received via mailing list)
$ gem install getopt
Attempting local installation of 'getopt'
Local gem file not found: getopt*.gem
Attempting remote installation of 'getopt'
Successfully installed getopt-1.3.0
Installing RDoc documentation for getopt-1.3.0...
File not found: lib
$ ls /usr/local/lib/ruby/gems/1.8/gems/getopt-1.3.1
CHANGES  MANIFEST  README  test

So it seems the lib subdir is not being created for some reason.

Anyone else see this? Other gems seem fine.

$ gem -v
0.8.11
$ ruby -v
ruby 1.8.2 (2004-12-25) [i686-linux]
Posted by Daniel.Berger (Guest)
on 2005-11-18 19:26
(Received via mailing list)
Joel VanderWerf wrote:
> So it seems the lib subdir is not being created for some reason.
> 
> Anyone else see this? Other gems seem fine.
> 
> $ gem -v
> 0.8.11
> $ ruby -v
> ruby 1.8.2 (2004-12-25) [i686-linux]
> 

That's weird.  It looks like the gem file is broken for some reason (I 
just
tried a local install).  The only thing I changed was the version, from 
1.3.0
to 1.3.1.

I have absolutely no idea what's wrong.

Dan
Posted by jim (Guest)
on 2005-11-18 19:50
(Received via mailing list)
Joel VanderWerf said:
> So it seems the lib subdir is not being created for some reason.
>
> Anyone else see this? Other gems seem fine.

The lib and examples directories are not included in the gem archive 
itself.
Posted by Daniel.Berger (Guest)
on 2005-11-18 20:29
(Received via mailing list)
Jim Weirich wrote:
>>CHANGES  MANIFEST  README  test
>>
>>So it seems the lib subdir is not being created for some reason.
>>
>>Anyone else see this? Other gems seem fine.
> 
> 
> The lib and examples directories are not included in the gem archive itself.

Whoopsie.  I messed up the gemspec (fixed now).  I'll upload a new gem 
shortly.

Dan
Posted by vjoel (Guest)
on 2005-11-18 21:21
(Received via mailing list)
Daniel Berger wrote:
>>> File not found: lib
>> itself.
> 
> 
> Whoopsie.  I messed up the gemspec (fixed now).  I'll upload a new gem
> shortly.
> 
> Dan
> 

Thanks. Looking forward to trying getopt.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.