[Vpim-talk] Gem Install problem
Sam Roberts
sroberts at uniserve.com
Sat Mar 18 15:36:38 EST 2006
Quoting anejr at alevans.com, on Fri, Mar 17, 2006 at 02:03:22PM -0500:
> Installed via "gem install". It thinks it's installed correctly:
> alsmini:~ al$ irb
> irb(main):001:0> require 'rubygems'
> => true
> irb(main):002:0> require_gem 'vpim/maker/vcard'
It doesn't appear that you can require specific files within a gem, I'm
not sure what I can do about this, does anybody have suggestions?
ensemble:~/p/ruby/vpim/trunk/releases % /usr/local/bin/ruby18 -rrubygems -e "require_gem 'vpim/vpim'; p Vpim::VERSION"
/usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:204:in
`report_activate_error': Could not find RubyGem vpim/vpim (> 0.0.0) (Gem::LoadError)
I added a top-level vpim.rb that requires all the parts currently
implemented, and requiring that file seems to work:
ensemble:~/p/ruby/vpim/trunk/releases % /usr/local/bin/ruby18 -rrubygems -e "require_gem 'vpim'; p Vpim::Maker::Vcard"
Vpim::Maker::Vcard
ensemble:~/p/ruby/vpim/trunk/releases % /usr/local/bin/ruby18 -rrubygems -e "require_gem 'vpim'; p Vpim::VERSION"
"0.18"
Could you give the attached gem a whirl, and tell me if it works for
you, too?
Thanks
Sam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vpim-0.18.gem
Type: application/octet-stream
Size: 37888 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/vpim-talk/attachments/20060318/08a661bb/attachment-0001.obj
More information about the Vpim-talk
mailing list