On Thu, Mar 5, 2009 at 3:18 PM, Arman <[email protected]> wrote:
>
> John,
>
> I think you missed a few steps after $ hobo hobotest . Try the
> following (from http://hobocentral.net/two-minutes/ )
>
> $ cd hobotest
> $ ruby script/generate hobo_model_resource thing name:string body:text
> $ ruby script/generate hobo_migration
>
> ...Respond to the prompt with 'm'
> ...then press enter to chose the default filename
>
> Then do script/server
You're absolutely right...I did miss that. So I removed the entire
project, started from scratch, and added these steps. However, I still
get the error....see below:
----------------------------
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_1]:
create db/migrate
create db/migrate/20090305203638_hobo_migration_1.rb
(in /opt/workspace/ruby/hobotest)
rake aborted!
no such file to load -- /opt/workspace/ruby/hobotest/app/controllers/application
(See full trace by running task with --trace)
[/opt/workspace/ruby/hobotest]-] script/server
=> Booting Mongrel
=> Rails 2.3.0 application starting on http://0.0.0.0:3000
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load --
/opt/workspace/ruby/hobotest/app/controllers/application
(MissingSourceFile)
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/dependencies.rb:156:in
`require'
from
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/dependencies.rb:521:in
`new_constants_in'
from
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/dependencies.rb:156:in
`require'
from
/usr/lib/ruby/gems/1.8/gems/hobo-0.8.5/lib/hobo/model_router.rb:76:in
`add_routes'
from /usr/lib/ruby/gems/1.8/gems/hobo-0.8.5/lib/hobo.rb:77:in
`add_routes'
from /opt/workspace/ruby/hobotest/config/routes.rb:6
from
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/routing/route_set.rb:226:in
`draw'
from /opt/workspace/ruby/hobotest/config/routes.rb:1
from
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/dependencies.rb:145:in
`load_without_new_constant_marking'
from
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/dependencies.rb:145:in
`load'
from
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/dependencies.rb:521:in
`new_constants_in'
from
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/dependencies.rb:145:in
`load'
from
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/routing/route_set.rb:286:in
`load_routes!'
from
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/routing/route_set.rb:286:in
`each'
from
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/routing/route_set.rb:286:in
`load_routes!'
from
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/routing/route_set.rb:266:in
`load!'
from
/usr/lib/ruby/gems/1.8/gems/hobo-0.8.5/lib/hobo/model_router.rb:10:in
`reload_without_hobo_assemble'
from
/usr/lib/ruby/gems/1.8/gems/hobo-0.8.5/lib/hobo/model_router.rb:22:in
`reload'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.0/lib/initializer.rb:498:in
`initialize_routing'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.0/lib/initializer.rb:179:in
`process'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.0/lib/initializer.rb:113:in
`send'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.0/lib/initializer.rb:113:in
`run'
from /opt/workspace/ruby/hobotest/config/environment.rb:9
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/dependencies.rb:156:in
`require'
from
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/dependencies.rb:521:in
`new_constants_in'
from
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/dependencies.rb:156:in
`require'
from /usr/lib/ruby/gems/1.8/gems/rails-2.3.0/lib/commands/server.rb:82
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from script/server:3
Thanks,
John
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---