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 Arman On Mar 5, 11:38 am, John Wells <[email protected]> wrote: > Guys, > > I've done the following: > > $ gem update --system > $ gem sources -ahttp://gems.github.com > $ gem install hobo > (installs 0.8.5) > $ hobo hobotest > (everything generates) > But... > > $ script/server > [/opt/workspace/ruby/hobotest]-] script/server > => Booting Mongrel > => Rails 2.3.0 application starting > onhttp://0.0.0.0:3000/usr/local/lib/site_ruby/1.8/rubygems/custom_requi... > `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 > > Can some tell me what might be going on? > > 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 -~----------~----~----~----~------~----~------~--~---
