Tom,

I'm running rails 2.2 and hobo 0.8.4.
I've gone ahead and pulled the latest copy of agility from your github  
repo and run into an interesting issue.

After cloning hobo 0.8.4 into vendor/plugins/ , I ran:

./script/generate hobo_migration

The migration went through just fine. Then I ran:

./script/server

The server started just fine.

Then I opened http://localhost:3000 and everything looked great. I  
figured "Awesome!" and clicked on "Sign up"
As soon as I clicked that, I received the following error: 
http://pastie.org/private/oznaaxeafkhvg9ovfz8u0g

Do you have any advice on how I can get this working and start  
exploring 0.8.4 w/rails 2.2?

-Greg


On Dec 8, 2008, at 10:23 AM, Tom Locke wrote:

>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to