I'm slowly and painfully making some progress. Hope my efforts help :)
Looking through the code and scattered docs, the script/generate hobo
--add-routes does it work just fine. However, something is still
missing. I started reading through the sources and came across vendor/
plugins/hobo/bin/hobo script which seems to be what the hobo command
line interface offered by gem install hobo offered.
Now, since the gem is outdated and I'm installing hobo as a local
application vendor plugin, I had to make some adjustments in order to
properly use it. So, here is what I did:
mkdir -p agility/vendor/plugins
git clone git://
github.com/tablatom/hobo.git agility/vendor/hobo && rm
-rf agility/vendor/hobo/.git
cd agility/vendor/plugins
ln -s ../hobo/hobo .
ln -s ../hobo/hobofields .
ln -s ../hobo/hobosupport .
cd ../../..
./agility/vendor/plugins/hobo/bin/hobo agility
This installed all the rails stuff and then executed a bunch of ./
script/generate hobo stuff (including a User model).
I then had to:
cd agility
./script/generate hobo_migration
(you will need to respond 'm' and then give a migration name)
rake db:migrate
./script/server
And voila! Now pointing my browser to
http://localhost:3000/ works
like a charm.
I guess this may be a bit confusing for beginners. Maybe if I
installed the git repository as a ruby gem it would all be a lot
simpler, but I'm not too familiar how to do that.
Anyway, I hope this helps others. I'll continue on my quest to
learning hobo.
On Aug 14, 4:44 pm, devel <
de...@dscg-inc.com> wrote:
> Thanks to solar on the IRC, I was informed that the hobo gem is
> outdated. Instead, the process should be to:
>
> 1) rails {app}
> 2) cd {app}
> 3) git clone git://
github.com/tablatom/hobo vendor/hobo
> 4) optionally rm -rf vendor/hobo/.git
> 5) run vendor/hobo/script/symlink_plugins
>
> Now, there seems to be a problem with #5 because it incorrectly setup
> the symlinks for me, so what I would recommend (in the meantime):
>
> 5) cd vendor/plugins
> 5a) ln -s ../hobo/hobo vendor/plugins/.
> 5b) ln -s ../hobo/hobofields vendor/plugins/.
> 5c) ln -s ../hobo/hobosupport vendor/plugins/.
>
> And that should get a working hobo application directory.
>
> Now, according to the docs, if you want to get the bare bones
> application started, you then need to:
>
> script/generate hobo --add-routes
> script/generate hobo_rapid
>
> However, after I do this, I start Mongrel, and I point the browser tohttp://localhost:3000/, it shows the standard Rails index.html page. I