I'm honestly surprised this hasn't been a problem before - the message (about 
LoadError) isn't specific to Hobo at all, but from the Rails autoloader. Are 
you manually bringing in FMSSession (with a require, for instance) someplace? 
I'd suspect that Hobo has messed that up by loading your models earlier than 
you were expecting...

--Matt Jones

On Oct 4, 2010, at 1:55 PM, Montgomery Kosma wrote:

> yep - that's it!  Looks like I have to conform capitalization across
> the entire app in order to bring up an admin layer.
> 
> 
> 
> 
> 
> On Oct 4, 11:13 am, Venka Ashtakala <[email protected]> wrote:
>> What is the class name for the model defined in this file:   /
>> Users/mkosma/matinee/app/models/fms_session.rb ? It is expecting FmsSession
>> - if it is spelt FMSSession then that would be causing the issue.
>> 
>> On 4 October 2010 20:38, Montgomery Kosma <[email protected]> wrote:
>> 
>> 
>> 
>> 
>> 
>>> Not terribly helpful - doesn't look like rake knows how to do that...
>> 
>>>> rake hobo:generate_taglibs --trace
>>> (in /Users/mkosma/matinee)
>>> rake aborted!
>>> Don't know how to build task 'hobo:generate_taglibs'
>>> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1728:in `[]'
>>> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2050:in
>>> `invoke_task'
>>> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
>>> `top_level'
>>> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
>>> `each'
>>> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
>>> `top_level'
>>> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
>>> `standard_exception_handling'
>>> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in
>>> `top_level'
>>> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
>>> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
>>> `standard_exception_handling'
>>> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
>>> /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
>>> /opt/local/bin/rake:19:in `load'
>>> /opt/local/bin/rake:19
>> 
>>> On Oct 3, 12:45 pm, Matt Jones <[email protected]> wrote:
>>>> On Oct 3, 2010, at 12:18 PM, Montgomery Kosma wrote:
>> 
>>>>> Hello, old friends.
>> 
>>>>> I'm back after a year-plus hiatus, and experimenting with adding a
>>>>> hobo admin backend to an existing rails app.  Nice to see how things
>>>>> have been progressing here in hobo-land!
>> 
>>>>> As a first step, I simply added config.gem 'hobo' to the appropriate
>>>>> place in environment.rb, and attempted to launch the (previously
>>>>> working fine) app.
>> 
>>>>> Here's my rake gems output -- does anything seem amiss?
>> 
>>>>> We're on rails 2.3.8 and ruby 1.8.7, will_paginate is 2.3.15...
>> 
>>>>>> rake gems
>>>>> (in /Users/mkosma/matinee)
>>>>> - [I] will_paginate ~> 2.3.11
>>>>> - [I] authlogic = 2.1.3
>>>>>    - [R] activesupport
>>>>> - [I] matthuhiggins-foreigner >= 0.3.1
>>>>> - [I] multipass >= 1.2.3
>>>>>    - [I] ezcrypto
>>>>> - [I] erubis >= 2.6.5
>>>>>    - [I] abstract >= 1.0.0
>>>>> - [I] ruby-filemagic >= 0.2.2
>>>>> - [I] nokogiri >= 1.4.2
>>>>> - [I] hobo
>>>>>    - [R] rails >= 2.2.2
>>>>>    - [I] will_paginate >= 2.3.11
>>>>>    - [I] hobosupport = 1.0.1
>>>>>    - [I] hobofields = 1.0.1
>>>>>       - [R] rails >= 2.2.2
>>>>>       - [I] hobosupport = 1.0.1
>> 
>>>> This looks fine.
>> 
>>>>> The error looks like this:
>> 
>>>>>> ruby script/server --port=3003
>>>>> => Booting Mongrel
>>>>> => Rails 2.3.8 application starting onhttp://0.0.0.0:3003
>>>>> ** Erubis 2.6.6
>>>>> => Call with -d to detach
>>>>> => Ctrl-C to shutdown server
>>>>> Sun Oct 03 01:54:11 -0400 2010: Read error: #<LoadError: Expected /
>>>>> Users/mkosma/matinee/app/models/fms_session.rb to define FmsSession>
>> 
>>>> It looks like the DRYML generator is trying to load the FmsSession model
>>> and something's crashing. Can you try running:
>> 
>>>> rake hobo:generate_taglibs --trace
>> 
>>>> to get a better stack trace?
>> 
>>>> --Matt Jones
>> 
>>> --
>>> 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]<hobousers%2bunsubscr...@googlegroups 
>>> .com>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/hobousers?hl=en.
>> 
>> --
>> Venka Ashtakala, B.Eng, G.C. Eng
>> Venka Ashtakala & Associates
>> Software Development Consultants
>> Office:  +1-703-596-0287
>> Fax:     +1-815-550-1356
>> Mobile: +91 9886304317
>> [email protected]
> 
> -- 
> 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.
> 

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