Hi,

I have installed rubyzip successfully(see output below)
Successfully installed rubyzip-0.9.1
1 gem installed
Installing ri documentation for rubyzip-0.9.1...
Installing RDoc documentation for rubyzip-0.9.1...

if I put config.gem 'rubyzip' in environment.rb and then run rails it
fails to load rubyzip .. see below
geo...@geolaptop:~/Dropbox/git/paua$ ruby script/server
=> Booting WEBrick...
no such file to load -- rubyzip-0.9.1
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/
dependencies.rb:153:in `require'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/
dependencies.rb:521:in `new_constants_in'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/
dependencies.rb:153:in `require'

Also if I try to put the gem into vendor it doesnt complain but it
does nothing :
geo...@geolaptop:~/Dropbox/git/paua$ rake gems:unpack GEM=rubyzip
(in /home/george/Dropbox/git/paua)
geo...@geolaptop:~/Dropbox/git/paua$

My rake tasks which use rubyzip via a "require 'zip/zipfilesystem'"
work fine. I just cant do a config.gem or freeze it into vendor.

Any suggestions welcome. Gems seem like such a good idea but cause so
much grief!

Cheers
George
-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to