In Rails 3 the rails/init.rb in gems is not automatically executed anymore (see https://rails.lighthouseapp.com/projects/8994/tickets/3745-railsinitrb-is-not-being-called-anymore). As I see there a now two options: 1. Put scripts in config/initializers. 2. Create a lib/my_gem_name.rb The second alternative seems to be used for example by devise (http:// github.com/plataformatec/devise). Is that right? -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.