On 29 Oct 2009, at 07:37, Lenart Rudel wrote:
> What about :lib false? I read somewhere that by using this the gem
> doesn't actually load or something? I read this here:
> http://szeryf.wordpress.com/2009/03/07/finally-getting-gettext-to-work-with-rails-22/#comment-1013
>  
> .
> Can someone explain this please?

It's basically as the poster say:

> this ensures they are installed, but will not load them

When you bootstrap the Rails environment (server, console, runner,  
etc.) it won't "require" any gems that have ":lib => false" specified,  
but Rails still "knows" about these gems, so things like "rake  
gems:install" still work as expected.

Hope this helps,

Peter

--

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