well, i just looked at it again. you're right: "rake gems:unpack"
should provide exactly the functionality you're looking for. however i
don't know why it's failing for you.

and on that snippet of yours: try it and tell us whether it's working
or not. looks promising.

On 9 Feb., 17:25, bingo bob <rails-mailing-l...@andreas-s.net> wrote:
> I made a little progress..
> I went to vendor
> mkdir gems
> went in there
> and unpacked fastercsv....sent it to my webhost...
>
> However on the webhost the line require 'fastercsv' still fails.
>
> I read on joyent knoweldeg base running this in environment.rb might do
> it...
>
> config.load_paths += Dir["#{RAILS_ROOT}/vendor/gems/**"].map do |dir|
>   File.directory?(lib = "#{dir}/lib") ? lib : dir
> end
>
> Will that code above solve the problem, claims to search within
> vendor/gems!
>
> bb
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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-talk@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