DON'T DO THAT. That's from a very old tip that no longer applies to
current (2.2+) versions of Rails. See this link:
http://api.rubyonrails.org/classes/Rails/Configuration.html#M002480

--Matt Jones

On Feb 26, 4:07 pm, Sean Mcgilvray <[email protected]>
wrote:
> Hello everyone,
>
> Rails 2.2.2
> Gems  1.8
>
> When I add this to my config/environment.rb file my app fails to start.
>
> config.load_paths += Dir["#{RAILS_ROOT}/vendor/gems/**"].map do |dir|
>   File.directory?(lib = "#{dir}/lib") ? lib : dir
> end
>
> Does anyone know why that might be happening?
>
> Thank You
> --
> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to