Paolo Lancelli
2008-May-30 19:20 UTC
[Backgroundrb-devel] Adding vendor folder to $load_path
I''m using backgroundrb in a rails project, with packet and chronic unpacked in the vendor folder, to make backgroundrb I''ve added the following line to scribts/backgroundrb $LOAD_PATH << File.join(RAILS_HOME, "vendor") Do you believe it''s a good idea? I don''t like depend on the installed gems ciao ciao paolo -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20080530/6c24539c/attachment-0001.html>
hemant kumar
2008-May-31 08:33 UTC
[Backgroundrb-devel] Adding vendor folder to $load_path
On Fri, 2008-05-30 at 21:20 +0200, Paolo Lancelli wrote:> I''m using backgroundrb in a rails project, with packet and chronic > unpacked in the vendor folder, to make backgroundrb I''ve added the > following line to scribts/backgroundrb > > $LOAD_PATH << File.join(RAILS_HOME, "vendor") > > Do you believe it''s a good idea? I don''t like depend on the installed > gems >yeah, that''s perfectly alright. Also, it means that require "packet" should go after require "enviroment.rb" so as use customization, hold on.