hobocookbook error

4 views
Skip to first unread message

Andy Orahood

unread,
Oct 17, 2008, 11:13:44 AM10/17/08
to Hobo Users
I grabbed the source for hobocookbook and installed it. I tried
running it, and I get this error:

No such taglib: /home/jorahood/rails/hobocookbook/app/views
{:src=>"taglibs/themes/clean/clean", :template_dir=>"app/views/
taglibs"} /home/jorahood/rails/hobocookbook/app/views/taglibs/themes/
clean/clean.dryml

Is there an extra "clean" in the :src param? I don't know where to
look to fix this.

Thanks,
Andy

Tom Locke

unread,
Oct 17, 2008, 11:15:54 AM10/17/08
to hobo...@googlegroups.com
Did you do

git submodule init
git submodule update

?

T

Orahood, James A

unread,
Oct 17, 2008, 11:46:39 AM10/17/08
to hobo...@googlegroups.com
Great, thanks, that installed hobo as a plugin.

Orahood, James A

unread,
Oct 17, 2008, 11:50:40 AM10/17/08
to hobo...@googlegroups.com
Now I get:
undefined method 'preview_with_more'

Orahood, James A

unread,
Oct 17, 2008, 1:36:53 PM10/17/08
to hobo...@googlegroups.com
oops, forgot to restart the server. NOW everything's good!

Owen Dall

unread,
Oct 17, 2008, 1:43:25 PM10/17/08
to hobo...@googlegroups.com
Hmmm.  I got the same error, and I did the submodule stuff and "rake db:migrate"

http://screencast.com/t/0xZ28hQL

http://screencast.com/t/gdyH8wYV

-Owen

Owen Dall

unread,
Oct 17, 2008, 1:50:37 PM10/17/08
to hobo...@googlegroups.com
Video off all the steps from scratch in Windows:

http://screencast.com/t/32SaZlvCTA
And the same result:

http://screencast.com/t/7apImVUaiy

Tom Locke

unread,
Oct 17, 2008, 2:00:24 PM10/17/08
to hobo...@googlegroups.com
Argh!

I used symbolic links to the public assets that Hobo provides.

Windows doesn't support symbolic links. *sigh*

Running

ruby script/generate hobo_rapid

might get things back on track

Tom

Owen Dall

unread,
Oct 17, 2008, 2:10:13 PM10/17/08
to hobo...@googlegroups.com
I tried that:

http://screencast.com/t/c2EmYqwWLZV

Another suggestions for us poor Windows guys.. :)

blizz

unread,
Oct 17, 2008, 4:34:52 PM10/17/08
to Hobo Users
Delete the symlink first. There will be a file there that doesn't
mean anything to windows


C:>erase \HoboApps\hobocookbook\public\hobothemes\clean
C:>mkdir \HoboApps\hobocookbook\public\hobothemes\clean

Then try the

C:>cd \HoboApps\hobocookbook
C:>ruby script/generate hobo_rapid

That will get you a little further. After that I run into

undefined method `preview_with_more' for #<ActionView::Base:0x4357ec0>

Brett

Tom Locke

unread,
Oct 17, 2008, 5:39:19 PM10/17/08
to hobo...@googlegroups.com
> That will get you a little further. After that I run into
>
> undefined method `preview_with_more' for #<ActionView::Base:0x4357ec0>


This is a bit of a mystery. As you can see the tag is defined here:

http://github.com/tablatom/hobo/tree/master/hobo/taglibs/rapid_plus.dryml#L70

Can you check if you see that in your copy of rapid_plus.dryml?

Obviously it's working on the live version...

Maybe you need to do another git submodule update -- changes are
always coming.

Tom

Owen

unread,
Oct 17, 2008, 5:55:17 PM10/17/08
to Hobo Users, t...@tomlocke.com
Thanks, Brett...

I found I had to delete this file as per the video:

http://screencast.com/t/FhB8JTPcdN1

Then

C:>cd \HoboApps\hobocookbook
C:>ruby script/generate hobo_rapid


Now it works!

http://screencast.com/t/haXo54HSxX

Owen

Owen

unread,
Oct 17, 2008, 5:58:26 PM10/17/08
to Hobo Users, t...@tomlocke.com
Well, now I can't get to the signup screen...need to look more
tomorrow :)
http://screencast.com/t/ngjZxOlZ
> > Brett- Hide quoted text -
>
> - Show quoted text -

Owen

unread,
Oct 18, 2008, 8:18:06 AM10/18/08
to Hobo Users
Just started working this morning w/o a change from yesterday.
Something weird on the PC..

http://screencast.com/t/c4Mm0VCVyF



On Oct 17, 5:58 pm, Owen <owen.d...@gmail.com> wrote:
> Well, now I can't get to the signup screen...need to look more
> tomorrow :)http://screencast.com/t/ngjZxOlZ
> > - Show quoted text -- Hide quoted text -

Owen

unread,
Oct 18, 2008, 9:10:02 AM10/18/08
to Hobo Users
To recap what we found for windows users:

After these steps:

c:\hoboapps> git clone git://github.com/tablatom/hobocookbook.git
c:\hoboapps\hobocookbook> git submodule init
c:\hoboapps\hobocookbook> git submodule update
c:\hoboapps\hobocookbook> rake db:migrate

We still get an error when you try to run the app:

http://screencast.com/t/ih80fMJU0

Because it is looking for this file:

C:/HoboApps/hobocookbook/app/views/taglibs/themes/clean/clean.dryml


For you 'nix guys, the symbolic link that is in the files:

\hobocookbook\app\users\taglibs\themes\clean

and
\hobocookbook\public\hobothemes\clean

work



If you look what is in the app:

http://screencast.com/t/lihqoTGZS0

C:\HoboApps\hobocookbook\app\views\taglibs\themes\clean (a file
containing the symbolic link)


We also see one here:

http://screencast.com/t/G5Vjnd0N3m

C:\HoboApps\hobocookbook\public\hobothemes\clean (a file containing
the symbolic link)

So we need to erase each of these and regenerate Hobo rapid:

c:\hoboapps\hobocookbook> erase app\views\taglibs\themes\clean
c:\hoboapps\hobocookbook> erase public\hobothemes\clean
c:\hoboapps\hobocookbook> ruby script/generate hobo_rapid

Now the folders we aneed appear:
http://screencast.com/t/eBFWvqDgBzp


And the app works liked expected:

http://screencast.com/t/sHjnFUrSP

Voila!

Now for Tom to help us not to need these steps!

Owen

On Oct 17, 5:58 pm, Owen <owen.d...@gmail.com> wrote:
> Well, now I can't get to the signup screen...need to look more
> tomorrow :)http://screencast.com/t/ngjZxOlZ
> > - Show quoted text -- Hide quoted text -
Reply all
Reply to author
Forward
0 new messages