I just did this. rails:freeze:gems just freezes the gems that make up
the rails distribution. There is a tutorial on how to freeze other
gems at:
http://www.hostingrails.com/forums/wiki_thread/2
It is specific for that host, but the process is generally the same.
With my particular host I had problems with it finding the gem after I
freezed it so id did a little work around.
In my environment.rb file I have
Rails::Initializer.run do |config|
require_gem ''fastercsv''
end
and I just copied the faster_csv.rb and fastercsv.rb files in the /lib
folder because it wasn''t reading them from the /vendor folder for some
reason and that worked fine.
-Jake
On 8/15/06, resgraph <resgraph@cox.net> wrote:> I am using fastercsv to process input files. I want to install it into
> my app/vendor directory as a gem (I guess). I used ''rake
> rails:freeze:gems'' to get rails into the vender dir. But I cannot
find
> any doc on how to do it for fastercsv or any third-party gem. Any help
> appreciated.
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>