/ Published in: Other

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
config.load_paths += Dir["#{RAILS_ROOT}/vendor/gems/**"].map do |dir| File.directory?(lib = "#{dir}/lib") ? lib : dir end
Comments
