Problem deploying Hobo app to Heroku. Any assistance would be welcome!

45 views
Skip to first unread message

Peter Pavlovich

unread,
Feb 24, 2012, 12:00:16 PM2/24/12
to Hobo Users
Greetings!

I have a first cut at my first hobo app ready to deploy and test out.
It runs fine on my local machine but when I pushed it to heroku, it
dies. It appears to be having troubles while compiling one of the
dryml libraries. Can you look at this log and make any sense out of
it? I am so close and it is killing me that I can't get this to
run!!!!

Again, any assistance would be most definitely appreciated! Thanks in
advance!!!

Peter



2012-02-24T04:54:02+00:00 app[web.1]: => Booting WEBrick
2012-02-24T04:54:02+00:00 app[web.1]: => Rails 3.0.11 application
starting in production on http://0.0.0.0:49312
2012-02-24T04:54:02+00:00 app[web.1]: => Call with -d to detach
2012-02-24T04:54:02+00:00 app[web.1]: => Ctrl-C to shutdown server
2012-02-24T04:54:02+00:00 app[web.1]: DRYML: Compiled app/views/
taglibs/themes/clean-sidemenu/clean-sidemenu.dryml in 1.02s
2012-02-24T04:54:02+00:00 app[web.1]: DRYML: Compiled app/views/
taglibs/themes/clean/clean.dryml in 0.01s
2012-02-24T04:54:03+00:00 app[web.1]: DRYML: Compiled vendor/bundle/
ruby/1.9.1/bundler/gems/hobo-jquery-0a08832c7553/taglibs/hobo-
jquery.dryml in 0.36s
2012-02-24T04:54:03+00:00 app[web.1]: DRYML: Compiled vendor/bundle/
ruby/1.9.1/bundler/gems/hobo-80236822dd14/hobo/lib/hobo/rapid/taglibs/
rapid_core.dryml in 0.10s
2012-02-24T04:54:03+00:00 app[web.1]: DRYML: Compiled vendor/bundle/
ruby/1.9.1/bundler/gems/hobo-80236822dd14/hobo/lib/hobo/rapid/taglibs/
rapid_document_tags.dryml in 0.01s
2012-02-24T04:54:03+00:00 app[web.1]: DRYML: Compiled vendor/bundle/
ruby/1.9.1/bundler/gems/hobo-80236822dd14/hobo/lib/hobo/rapid/taglibs/
rapid_support.dryml in 0.01s
2012-02-24T04:54:03+00:00 app[web.1]: DRYML: Compiled vendor/bundle/
ruby/1.9.1/bundler/gems/hobo-80236822dd14/hobo/lib/hobo/rapid/taglibs/
rapid_pages.dryml in 0.07s
2012-02-24T04:54:03+00:00 app[web.1]: DRYML: Compiled vendor/bundle/
ruby/1.9.1/bundler/gems/hobo-80236822dd14/hobo/lib/hobo/rapid/taglibs/
rapid_forms.dryml in 0.13s
2012-02-24T04:54:03+00:00 app[web.1]: DRYML: Compiled vendor/bundle/
ruby/1.9.1/bundler/gems/hobo-80236822dd14/hobo/lib/hobo/rapid/taglibs/
rapid_navigation.dryml in 0.02s
2012-02-24T04:54:03+00:00 app[web.1]: DRYML: Compiled vendor/bundle/
ruby/1.9.1/bundler/gems/hobo-80236822dd14/hobo/lib/hobo/rapid/taglibs/
rapid_plus.dryml in 0.09s
2012-02-24T04:54:03+00:00 app[web.1]: DRYML: Compiled vendor/bundle/
ruby/1.9.1/bundler/gems/hobo-80236822dd14/hobo/lib/hobo/rapid/taglibs/
rapid_generics.dryml in 0.01s
2012-02-24T04:54:03+00:00 app[web.1]: DRYML: Compiled vendor/bundle/
ruby/1.9.1/bundler/gems/hobo-80236822dd14/hobo/lib/hobo/rapid/taglibs/
rapid_lifecycles.dryml in 0.01s
2012-02-24T04:54:03+00:00 app[web.1]: DRYML: Compiled vendor/bundle/
ruby/1.9.1/bundler/gems/hobo-80236822dd14/hobo/lib/hobo/rapid/taglibs/
rapid_summary.dryml in 0.04s
2012-02-24T04:54:03+00:00 app[web.1]: DRYML: Compiled vendor/bundle/
ruby/1.9.1/bundler/gems/hobo-80236822dd14/hobo/lib/hobo/rapid/taglibs/
rapid_user_pages.dryml in 0.08s
2012-02-24T04:54:03+00:00 app[web.1]: DRYML: Compiled vendor/bundle/
ruby/1.9.1/bundler/gems/hobo-80236822dd14/hobo/lib/hobo/rapid/taglibs/
rapid_i18n.dryml in 0.01s
2012-02-24T04:54:03+00:00 app[web.1]: DRYML: Compiled vendor/bundle/
ruby/1.9.1/bundler/gems/hobo-80236822dd14/hobo/lib/hobo/rapid/taglibs/
rapid.dryml in 0.58s
2012-02-24T04:54:03+00:00 app[web.1]: Exiting
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/bundler/gems/hobo-80236822dd14/dryml/lib/dryml/taglib.rb:10:in
`get'
2012-02-24T04:54:03+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/
bundler/gems/hobo-80236822dd14/dryml/lib/dryml/taglib.rb:59:in
`taglib_filename': No such taglib: taglibs/auto/admin/rapid/cards
{:src=>"taglibs/auto/admin/rapid/
cards", :type=>:include, :template_dir=>"app/views/taglibs"} /app/app/
views/taglibs/auto/admin/rapid/cards.dryml (Dryml::DrymlException)
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/bundler/gems/hobo-80236822dd14/dryml/lib/dryml/dryml_builder.rb:
159:in `import_taglib'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/bundler/gems/hobo-80236822dd14/dryml/lib/dryml/dryml_builder.rb:
132:in `block in build'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/bundler/gems/hobo-80236822dd14/dryml/lib/dryml/dryml_builder.rb:
116:in `each'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/bundler/gems/hobo-80236822dd14/dryml/lib/dryml/dryml_builder.rb:
116:in `build'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/bundler/gems/hobo-80236822dd14/dryml/lib/dryml/template.rb:75:in
`compile'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/bundler/gems/hobo-80236822dd14/dryml/lib/dryml/taglib.rb:105:in
`load'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/bundler/gems/hobo-80236822dd14/dryml/lib/dryml/taglib.rb:67:in
`initialize'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/bundler/gems/hobo-80236822dd14/dryml/lib/dryml/taglib.rb:15:in
`new'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/bundler/gems/hobo-80236822dd14/dryml/lib/dryml/taglib.rb:15:in
`get'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/bundler/gems/hobo-80236822dd14/dryml/lib/dryml.rb:46:in `block
(2 levels) in precompile_taglibs'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/bundler/gems/hobo-80236822dd14/dryml/lib/dryml.rb:45:in `each'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/bundler/gems/hobo-80236822dd14/dryml/lib/dryml.rb:45:in `block
in precompile_taglibs'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/bundler/gems/hobo-80236822dd14/dryml/lib/dryml.rb:44:in `chdir'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/bundler/gems/hobo-80236822dd14/dryml/lib/dryml.rb:44:in
`precompile_taglibs'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/config/initializers/
dryml_taglibs.rb:1:in `<top (required)>'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/activesupport-3.0.11/lib/active_support/dependencies.rb:
235:in `block in load'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/activesupport-3.0.11/lib/active_support/dependencies.rb:
235:in `load'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/activesupport-3.0.11/lib/active_support/dependencies.rb:
235:in `load'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/activesupport-3.0.11/lib/active_support/dependencies.rb:
227:in `load_dependency'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/railties-3.0.11/lib/rails/engine.rb:201:in `block (2
levels) in <class:Engine>'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/railties-3.0.11/lib/rails/engine.rb:200:in `each'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/railties-3.0.11/lib/rails/engine.rb:200:in `block in
<class:Engine>'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/railties-3.0.11/lib/rails/initializable.rb:25:in
`instance_exec'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/railties-3.0.11/lib/rails/initializable.rb:25:in `run'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/railties-3.0.11/lib/rails/initializable.rb:50:in `block in
run_initializers'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/railties-3.0.11/lib/rails/initializable.rb:49:in `each'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/railties-3.0.11/lib/rails/initializable.rb:49:in
`run_initializers'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/railties-3.0.11/lib/rails/application.rb:134:in
`initialize!'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/railties-3.0.11/lib/rails/application.rb:77:in
`method_missing'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/config/environment.rb:
5:in `<top (required)>'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/activesupport-3.0.11/lib/active_support/dependencies.rb:
239:in `require'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/activesupport-3.0.11/lib/active_support/dependencies.rb:
239:in `block in require'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/activesupport-3.0.11/lib/active_support/dependencies.rb:
225:in `block in load_dependency'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/activesupport-3.0.11/lib/active_support/dependencies.rb:
593:in `new_constants_in'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/activesupport-3.0.11/lib/active_support/dependencies.rb:
225:in `load_dependency'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/config.ru:3:in `block
in <main>'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/activesupport-3.0.11/lib/active_support/dependencies.rb:
239:in `require'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/rack-1.2.5/lib/rack/builder.rb:46:in `initialize'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/config.ru:1:in `new'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/rack-1.2.5/lib/rack/builder.rb:46:in `instance_eval'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/config.ru:1:in
`<main>'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/rack-1.2.5/lib/rack/builder.rb:35:in `eval'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/rack-1.2.5/lib/rack/builder.rb:35:in `parse_file'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/rack-1.2.5/lib/rack/server.rb:162:in `app'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/rack-1.2.5/lib/rack/server.rb:253:in `wrapped_app'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/rack-1.2.5/lib/rack/server.rb:204:in `start'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/railties-3.0.11/lib/rails/commands/server.rb:65:in `start'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/railties-3.0.11/lib/rails/commands.rb:30:in `block in <top
(required)>'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/railties-3.0.11/lib/rails/commands.rb:27:in `tap'
2012-02-24T04:54:03+00:00 app[web.1]: from /app/vendor/bundle/ruby/
1.9.1/gems/railties-3.0.11/lib/rails/commands.rb:27:in `<top
(required)>'
2012-02-24T04:54:03+00:00 app[web.1]: from script/rails:6:in
`require'
2012-02-24T04:54:03+00:00 app[web.1]: from script/rails:6:in `<main>'
2012-02-24T04:54:04+00:00 heroku[web.1]: Process exited with status 1
2012-02-24T04:54:04+00:00 heroku[web.1]: State changed from starting
to crashed
2012-02-24T04:54:07+00:00 app[run.1]: Awaiting client
2012-02-24T04:54:07+00:00 app[run.1]: Starting process with command
`bundle exec rake db:migrate`
2012-02-24T04:54:08+00:00 heroku[run.1]: State changed from starting
to up
2012-02-24T04:54:21+00:00 heroku[run.1]: Process exited with status 0
2012-02-24T04:54:21+00:00 heroku[run.1]: State changed from up to
complete
2012-02-24T04:54:37+00:00 heroku[router]: Error H16 (Redirect to
herokuapp.com) -> GET x.herokuapp.com/ dyno= queue= wait= service=
status=301 bytes=
2012-02-24T04:54:37+00:00 heroku[router]: Error H10 (App crashed) ->
GET x.herokuapp.com/ dyno= queue= wait= service= status=503 bytes=
2012-02-24T04:54:37+00:00 heroku[router]: Error H10 (App crashed) ->
GET x.herokuapp.com/favicon.ico dyno= queue= wait= service= status=503
bytes=
2012-02-24T04:54:37+00:00 heroku[router]: Error H10 (App crashed) ->
GET x.herokuapp.com/favicon.ico dyno= queue= wait= service= status=503
bytes=
2012-02-24T04:54:51+00:00 heroku[router]: Error H10 (App crashed) ->
GET x.herokuapp.com/ dyno= queue= wait= service= status=503 bytes=
2012-02-24T04:56:23+00:00 heroku[router]: Error H10 (App crashed) ->
GET x.herokuapp.com/ dyno= queue= wait= service= status=503 bytes=
2012-02-24T04:56:28+00:00 heroku[router]: Error H10 (App crashed) ->
GET x.herokuapp.com/ dyno= queue= wait= service= status=503 bytes=
2012-02-24T04:56:29+00:00 heroku[router]: Error H10 (App crashed) ->
GET x.herokuapp.com/ dyno= queue= wait= service= status=503 bytes=
2012-02-24T04:59:09+00:00 heroku[run.1]: State changed from created to
starting
2012-02-24T04:59:16+00:00 app[run.1]: Awaiting client
2012-02-24T04:59:16+00:00 app[run.1]: Starting process with command
`db:push`
2012-02-24T04:59:16+00:00 heroku[run.1]: State changed from starting
to up
2012-02-24T04:59:18+00:00 heroku[run.1]: Process exited with status 1
2012-02-24T04:59:18+00:00 heroku[run.1]: State changed from up to
complete
2012-02-24T05:01:52+00:00 heroku[router]: Error H10 (App crashed) ->
GET x.herokuapp.com/ dyno= queue= wait= service= status=503 bytes=

kevinpfromnm

unread,
Feb 24, 2012, 12:49:16 PM2/24/12
to hobo...@googlegroups.com
Heroku is a readonly file system.  You should have all the auto generated files in your git repo if you're deploying to heroku.

Peter Pavlovich

unread,
Feb 24, 2012, 2:48:41 PM2/24/12
to Hobo Users
Greetings!

Thanks for the prompt response!!!

How would I go about ensuring that this is the case? Specifically, how
do I force the generation of these files on my local machine? I assume
this has not been done since when I do a "git status" it shows that
all files have been added to git already. Perhaps there is some
setting I am missing? Or does hobo automatically exclude the generated
files from git?

Again, I appreciate all of the help from the community!

Regards,

Peter

On Feb 24, 12:49 pm, kevinpfromnm <kevinpfro...@gmail.com> wrote:
> Heroku is a readonly file system.  You should have all the auto generated
> files in your git repo if you're deploying to heroku.
>
>
>
>
>
>
>
> On Friday, February 24, 2012 10:00:16 AM UTC-7, Peter Pavlovich wrote:
>
> > Greetings!
>
> > I have a first cut at my first hobo app ready to deploy and test out.
> > It runs fine on my local machine but when I pushed it to heroku, it
> > dies. It appears to be having troubles while compiling one of the
> > dryml libraries. Can you look at this log and make any sense out of
> > it? I am so close and it is killing me that I can't get this to
> > run!!!!
>
> > Again, any assistance would be most definitely appreciated! Thanks in
> > advance!!!
>
> > Peter
>
> > 2012-02-24T04:54:02+00:00 app[web.1]: => Booting WEBrick
> > 2012-02-24T04:54:02+00:00 app[web.1]: => Rails 3.0.11 application
> > starting in production onhttp://0.0.0.0:49312
> ...
>
> read more »

Bryan Larsen

unread,
Feb 24, 2012, 2:53:40 PM2/24/12
to hobo...@googlegroups.com
Yup, Hobo added those items to your .gitignore when you told it that
you weren't using Heroku. :)

remove these two lines from .gitignore:

app/views/taglibs/auto/**/*
config/hobo_routes.rb

You may also want to add

config.hobo.read_only_file_system=true

to your production.rb. Hobo tries to autodetect Heroku so that
shouldn't be necessary, but it's available if that doesn't work.

Bryan

> --
> You received this message because you are subscribed to the Google Groups "Hobo Users" group.
> To post to this group, send email to hobo...@googlegroups.com.
> To unsubscribe from this group, send email to hobousers+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
>

Peter Pavlovich

unread,
Feb 24, 2012, 4:33:14 PM2/24/12
to Hobo Users
Fantastic! Thanks! I will give this a go this evening.

I appreciate the prompt assistance.

Best regards,

Peter
> ...
>
> read more »

Peter Pavlovich

unread,
Feb 25, 2012, 1:16:10 AM2/25/12
to Hobo Users
Greetings,

Thanks to everyone who helped on this matter. the solution proposed
worked like a charm!!!

Regards,

Peter
> ...
>
> read more »
Reply all
Reply to author
Forward
0 new messages