On Mar 17, 2010, at 6:35 AM, kika wrote:

I am stuck trying to do hobo_migration and I don“t really know what to
look for. Can anyone point me into the right direction?

Thanks Keno

What now: [g]enerate migration, generate and [m]igrate now or
[c]ancel? m

Migration filename:
(you can type spaces instead of '_' -- every little helps)
Filename [hobo_migration_2]:
     exists  db/migrate
     create  db/migrate/20100317095956_hobo_migration_2.rb
(in /Users/kenokuhlmann/Dev/Ruby/hobo/bmsotogrande)
rake aborted!
uninitialized constant Property

Server log:
script/server
=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails 2.2.2 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
Exiting
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:
445:in `load_missing_constant': uninitialized constant Property
(NameError)
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/
dependencies.rb:77:in `const_missing'
        from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/
dependencies.rb:89:in `const_missing_before_generators'
.....


The bit you've trimmed here is important - something in your environment.rb (or initializers) is trying to access a constant that doesn't exist. Can you post a full 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].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to