Nice job tracking this down Matt... About to add the 'config.gem' thing to the hobo command.
Tom On 7 Dec 2008, at 20:41, Matt Jones wrote: > > We appear to have tripped over an obscure bug in Rails; I've filed a > ticket for it > (http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1524 > ). > Fixing this will also let this line: > > ActiveSupport::Dependencies.load_paths |= [ File.dirname(__FILE__)] > > from hobo.rb go away. Turns out, autoloading from gems didn't work > some of the time. > > --Matt Jones > [EMAIL PROTECTED] > > On Dec 7, 2008, at 2:14 PM, Tom Locke wrote: >> >>> In addition, activating the gem using config.gem 'hobo' in >>> environment.rb fixes the problem. >> >> It's not a bug it's a feature! : ) >> >> config.gem 'hobo' should be the switch that turns a Rails app into a >> Hobo app, right? >> >> So we just need to fix the hobo command so that it sets this >> automatically. And get rid of this: >> >> unless defined? Hobo >> gem 'hobo' >> require 'hobo' >> end >> >> From initializers/hobo.rb >> > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en -~----------~----~----~----~------~----~------~--~---
