Hello,
I would like to package my radiant app before deployment.
I created a gems/ folder under vendor/, and copy the gems which are in
the radiant vendor/ folder and others for my project.
Then, I added the following lines to environment.rb to load my new path
:
config.load_paths += Dir["#{RAILS_ROOT}/vendor/gems/**"].map do |dir|
File.directory?(lib = "#{dir}/lib") ? lib : dir
end
But it doesn't work, the radiant gems like 'rubypants' can't be
loading... what is the best way to do that? Can you explain me?
Thank you !
Vincent
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant