Run the hobo generators locally, check the results in to git, then
push that to heroku.

If hobo expects to be able to generate files at run-time then it isn't
going to work out of the box with Heroku.  It won't be able to create
the files on the read-only filesystem.

Mike

On Thu, Oct 14, 2010 at 11:42 AM, Richard Conroy
<[email protected]> wrote:
> Why are you ignoring dependencies?
> I would take that out for a start, and see what gems heroku is trying to
> source
> when it builds your slug.
> I usually far too sloppy in my hobby projects and never know what gems I
> am using when I push to heroku. Its just discipline to stay on top of your
> gems.
> Not saying its a gem dependency problem, but thats the first place I would
> look.
> On Thu, Oct 14, 2010 at 7:26 PM, Adam <[email protected]> wrote:
>>
>> First off im new to Heroku but aside from a few frustrations I think
>> its pretty cool.
>>
>> Ive been trying to Heroku to play nicely with the Hobo gem. The app im
>> using is just the default app hobo generates. The process im using to
>> create and deploy my application is as follows:
>>
>> 1) hobo test_app
>> 2) ./script/generate hobo_migration
>> 3) edit .gems file to look like:
>> --------------------------
>> will_paginate
>> hobosupport
>> hobofields --ignore-dependencies
>> hobo --ignore-dependencies
>> --------------------------
>> 4) commit to git
>> 5) push to heroku
>> 6) heroku rake db:migrate
>>
>> Unfortunately when i visit the page I get this in my logs:
>> --------------------------
>> >> Thin web server (v1.2.6 codename Crazy Delicious)
>> >> Maximum connections set to 1024
>> >> Listening on 0.0.0.0:17742, CTRL+C to stop
>>
>> ==> production.log <==
>> # Logfile created on Thu Oct 14 11:20:05 -0700 2010
>>
>> Processing FrontController#index (for 99.23.17.198 at 2010-10-14
>> 11:20:28) [GET]
>> Rendering front/index
>>  DRYML: Compiled /home/slugs/318794_74472be_24cd/mnt/.gems/gems/
>> hobo-1.0.1/taglibs/core.dryml in 0.01s
>>  DRYML: Compiled /home/slugs/318794_74472be_24cd/mnt/.gems/gems/
>> hobo-1.0.1/taglibs/rapid_core.dryml in 0.13s
>>  DRYML: Compiled /home/slugs/318794_74472be_24cd/mnt/.gems/gems/
>> hobo-1.0.1/taglibs/rapid_support.dryml in 0.01s
>>  DRYML: Compiled /home/slugs/318794_74472be_24cd/mnt/.gems/gems/
>> hobo-1.0.1/taglibs/rapid_document_tags.dryml in 0.02s
>>  DRYML: Compiled /home/slugs/318794_74472be_24cd/mnt/.gems/gems/
>> hobo-1.0.1/taglibs/rapid_pages.dryml in 0.11s
>>  DRYML: Compiled /home/slugs/318794_74472be_24cd/mnt/.gems/gems/
>> hobo-1.0.1/taglibs/rapid_editing.dryml in 0.08s
>>  DRYML: Compiled /home/slugs/318794_74472be_24cd/mnt/.gems/gems/
>> hobo-1.0.1/taglibs/rapid_forms.dryml in 0.16s
>>  DRYML: Compiled /home/slugs/318794_74472be_24cd/mnt/.gems/gems/
>> hobo-1.0.1/taglibs/rapid_navigation.dryml in 0.07s
>>  DRYML: Compiled /home/slugs/318794_74472be_24cd/mnt/.gems/gems/
>> hobo-1.0.1/taglibs/rapid_plus.dryml in 0.04s
>>  DRYML: Compiled /home/slugs/318794_74472be_24cd/mnt/.gems/gems/
>> hobo-1.0.1/taglibs/rapid_generics.dryml in 0.01s
>>  DRYML: Compiled /home/slugs/318794_74472be_24cd/mnt/.gems/gems/
>> hobo-1.0.1/taglibs/rapid_lifecycles.dryml in 0.00s
>>  DRYML: Compiled /home/slugs/318794_74472be_24cd/mnt/.gems/gems/
>> hobo-1.0.1/taglibs/rapid_summary.dryml in 0.11s
>>  DRYML: Compiled /home/slugs/318794_74472be_24cd/mnt/.gems/gems/
>> hobo-1.0.1/taglibs/rapid_user_pages.dryml in 0.12s
>>  DRYML: Compiled /home/slugs/318794_74472be_24cd/mnt/.gems/gems/
>> hobo-1.0.1/taglibs/rapid.dryml in 0.88s
>>
>> ActionView::TemplateError (No such taglib: /disk1/home/slugs/
>> 318794_74472be_24cd/mnt/app/views {:type=>:include, :src=>"taglibs/
>> auto/rapid/cards", :template_dir=>"app/views/taglibs"} /disk1/home/
>> slugs/318794_74472be_24cd/mnt/app/views/taglibs/auto/rapid/
>> cards.dryml) in app/views/front/index.dryml:
>>
>>    hobo (1.0.1) lib/hobo/dryml/taglib.rb:45:in `taglib_filename'
>>    hobo (1.0.1) lib/hobo/dryml/taglib.rb:12:in `get'
>>    hobo (1.0.1) lib/hobo/dryml/dryml_builder.rb:121:in
>> `import_taglib'
>>    hobo (1.0.1) lib/hobo/dryml/dryml_builder.rb:94:in `build'
>>    hobo (1.0.1) lib/hobo/dryml/dryml_builder.rb:78:in `each'
>>    hobo (1.0.1) lib/hobo/dryml/dryml_builder.rb:78:in `build'
>>    hobo (1.0.1) lib/hobo/dryml/template.rb:73:in `compile'
>>    hobo (1.0.1) lib/hobo/dryml/taglib.rb:91:in `load'
>>    hobo (1.0.1) lib/hobo/dryml/taglib.rb:53:in `initialize'
>>    hobo (1.0.1) lib/hobo/dryml/taglib.rb:17:in `new'
>>    hobo (1.0.1) lib/hobo/dryml/taglib.rb:17:in `get'
>>    hobo (1.0.1) lib/hobo/dryml/dryml_builder.rb:121:in
>> `import_taglib'
>>    hobo (1.0.1) lib/hobo/dryml/dryml_builder.rb:76:in `build'
>>    hobo (1.0.1) lib/hobo/dryml/dryml_builder.rb:76:in `each'
>>    hobo (1.0.1) lib/hobo/dryml/dryml_builder.rb:76:in `build'
>>    hobo (1.0.1) lib/hobo/dryml/template.rb:73:in `compile'
>>    hobo (1.0.1) lib/hobo/dryml.rb:173:in `compile_renderer_class'
>>    hobo (1.0.1) lib/hobo/dryml.rb:159:in `make_renderer_class'
>>    hobo (1.0.1) lib/hobo/dryml.rb:112:in `page_renderer'
>>    hobo (1.0.1) lib/hobo/dryml.rb:78:in `page_renderer_for_template'
>>    hobo (1.0.1) lib/hobo/dryml/template_handler.rb:19:in
>> `render_for_rails22'
>>    hobo (1.0.1) lib/hobo/dryml/template_handler.rb:142:in
>> `render_dryml'
>>    hobo (1.0.1) lib/hobo/dryml/template_handler.rb:138:in
>> `render_dryml'
>>    hobo (1.0.1) lib/hobo/dryml/template_handler.rb:106:in `render'
>>    hobo (1.0.1) lib/hobo/dryml/template_handler.rb:83:in
>> `render_for_file'
>>    hobo (1.0.1) lib/hobo/controller.rb:23:in `call'
>>    hobo (1.0.1) lib/hobo/controller.rb:23:in `included_in_class'
>>    /home/heroku_rack/lib/static_assets.rb:9:in `call'
>>    /home/heroku_rack/lib/last_access.rb:15:in `call'
>>    /home/heroku_rack/lib/date_header.rb:14:in `call'
>>    thin (1.2.6) lib/thin/connection.rb:76:in `pre_process'
>>    thin (1.2.6) lib/thin/connection.rb:74:in `catch'
>>    thin (1.2.6) lib/thin/connection.rb:74:in `pre_process'
>>    thin (1.2.6) lib/thin/connection.rb:57:in `process'
>>    thin (1.2.6) lib/thin/connection.rb:42:in `receive_data'
>>    eventmachine (0.12.10) lib/eventmachine.rb:256:in `run_machine'
>>    eventmachine (0.12.10) lib/eventmachine.rb:256:in `run'
>>    thin (1.2.6) lib/thin/backends/base.rb:57:in `start'
>>    thin (1.2.6) lib/thin/server.rb:156:in `start'
>>    thin (1.2.6) lib/thin/controllers/controller.rb:80:in `start'
>>    thin (1.2.6) lib/thin/runner.rb:177:in `send'
>>    thin (1.2.6) lib/thin/runner.rb:177:in `run_command'
>>    thin (1.2.6) lib/thin/runner.rb:143:in `run!'
>>    thin (1.2.6) bin/thin:6
>>    /usr/ruby1.8.7/bin/thin:19:in `load'
>>    /usr/ruby1.8.7/bin/thin:19
>>
>> Rendering /disk1/home/slugs/318794_74472be_24cd/mnt/public/500.html
>> (500 Internal Server Error)
>> --------------------------
>>
>>
>> any ideas?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Heroku" 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/heroku?hl=en.
>>
>
>
>
> --
> http://richardconroy.blogspot.com http://twitter.com/RichardConroy
>
> --
> You received this message because you are subscribed to the Google Groups
> "Heroku" 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/heroku?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" 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/heroku?hl=en.

Reply via email to