I know this looks like a mess, but I have a feeling the solution is
quite simple; please excuse the wall of text >_<
I'm attempting to deploy on a heroku cedar stack with freshly cloned
ffcrm from github.
I execute the following:
$git push heroku master
Counting objects: 31270, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (7929/7929), done.
Writing objects: 100% (31270/31270), 7.10 MiB | 557 KiB/s, done.
Total 31270 (delta 22608), reused 31180 (delta 22550)
-----> Heroku receiving push
-----> Ruby/Rails app detected
-----> Installing dependencies using Bundler version 1.1.0
Running: bundle install --without development:test --path
vendor/bundle --binstubs bin/ --deployment
fatal: Not a git repository (or any of the parent
directories): .git
fatal: Not a git repository (or any of the parent
directories): .git
fatal: Not a git repository (or any of the parent
directories): .git
fatal: Not a git repository (or any of the parent
directories): .git
Fetching gem metadata from
http://rubygems.org/.......
Fetching git://
github.com/fatfreecrm/chosen-rails.git
Fetching git://
github.com/fatfreecrm/ransack.git
Fetching
https://github.com/LessonPlanet/responds_to_parent.git
Installing rake (0.9.2.2)
Installing i18n (0.6.0)
Installing multi_json (1.1.0)
Installing activesupport (3.2.2)
Installing builder (3.0.0)
Installing activemodel (3.2.2)
Installing erubis (2.7.0)
Installing journey (1.0.3)
Installing rack (1.4.1)
Installing rack-cache (1.1)
Installing rack-test (0.6.1)
Installing hike (1.2.1)
Installing tilt (1.3.3)
Installing sprockets (2.1.2)
Installing actionpack (3.2.2)
Installing mime-types (1.17.2)
Installing polyglot (0.3.3)
Installing treetop (1.4.10)
Installing mail (2.4.1)
Installing actionmailer (3.2.2)
Installing arel (3.0.2)
Installing tzinfo (0.3.31)
Installing activerecord (3.2.2)
Installing activeresource (3.2.2)
Using bundler (1.1.0)
Installing rack-ssl (1.3.2)
Installing json (1.6.5) with native extensions
Installing rdoc (3.12)
Installing thor (0.14.6)
Installing railties (3.2.2)
Installing rails (3.2.2)
Installing acts-as-taggable-on (2.2.2)
Installing acts_as_commentable (3.0.1)
Installing acts_as_list (0.1.5)
Using chosen-rails (0.9.5) from git://
github.com/fatfreecrm/chosen-rails.git
(at master)
Installing ajax-chosen-rails (0.1.5)
Installing authlogic (3.1.0)
Installing chronic (0.6.7)
Installing cocaine (0.2.1)
Installing coffee-script-source (1.2.0)
Installing execjs (1.3.0)
Installing coffee-script (2.2.0)
Installing coffee-rails (3.2.2)
Installing dynamic_form (1.1.4)
Installing ffaker (1.13.0)
Installing haml (3.1.4)
Installing jquery-rails (2.0.1)
Installing libv8 (3.3.10.4)
Installing paper_trail (2.6.0)
Installing paperclip (2.7.0)
Installing pg (0.13.2) with native extensions
Installing polyamorous (0.5.0)
Installing prototype-rails (3.2.1)
Using ransack (0.6.0) from git://
github.com/fatfreecrm/ransack.git
(at master)
Using responds_to_parent (1.0.20091013) from
https://github.com/LessonPlanet/responds_to_parent.git (at master)
Installing sass (3.1.15)
Installing sass-rails (3.2.4)
Installing simple_form (2.0.1)
Installing therubyracer (0.9.10) with native extensions
Installing uglifier (1.2.3)
Installing will_paginate (3.0.3)
Your bundle is complete! It was installed into ./vendor/bundle
Post-install message from rdoc:
Depending on your version of ruby, you may need to install ruby
rdoc/ri data:
<= 1.8.6 : unsupported
= 1.8.7 : gem install rdoc-data; rdoc-data --install
= 1.9.1 : gem install rdoc-data; rdoc-data --install
>= 1.9.2 : nothing to do! Yay!
Cleaning up the bundler cache.
-----> Writing config/database.yml to read from DATABASE_URL
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
fatal: Not a git repository (or any of the parent
directories): .git
fatal: Not a git repository (or any of the parent
directories): .git
fatal: Not a git repository (or any of the parent
directories): .git
fatal: Not a git repository (or any of the parent
directories): .git
fatal: Not a git repository (or any of the parent
directories): .git
fatal: Not a git repository (or any of the parent
directories): .git
fatal: Not a git repository (or any of the parent
directories): .git
fatal: Not a git repository (or any of the parent
directories): .git
fatal: Not a git repository (or any of the parent
directories): .git
fatal: Not a git repository (or any of the parent
directories): .git
-----> Rails plugin injection
Injecting rails_log_stdout
Injecting rails3_serve_static_assets
-----> Discovering process types
Procfile declares types -> web
Default types for Ruby/Rails -> console, rake, worker
-----> Compiled slug size is 26.2MB
-----> Launching... done, v3
http://***.
herokuapp.com deployed to Heroku
To g...@heroku.com:mastersroofingcrm.git
* [new branch] master -> master
<END PRINTOUT>
Now, i run:
$ heroku ps
Process State Command
------- -------------- ------------------------------------
web.1 crashed for 0s bundle exec unicorn -p $PORT -c co..
<END PRINTOUT>
$ heroku logs
2012-03-21T04:45:36+00:00 heroku[run.1]: State changed from created to
starting
2012-03-21T04:45:38+00:00 app[run.1]: Awaiting client
2012-03-21T04:45:38+00:00 app[run.1]: Starting process with command
`rake crm:setup USERNAME=james PASSWORD=*** EMAIL=james@***.com`
2012-03-21T04:45:40+00:00 heroku[run.1]: Process exited with status 1
2012-03-21T04:45:40+00:00 heroku[run.1]: State changed from starting
to complete
2012-03-21T04:46:16+00:00 heroku[run.1]: State changed from created to
starting
2012-03-21T04:46:18+00:00 app[run.1]: Awaiting client
2012-03-21T04:46:18+00:00 app[run.1]: Starting process with command
`bundler install`
2012-03-21T04:46:18+00:00 heroku[run.1]: State changed from starting
to up
2012-03-21T04:46:20+00:00 heroku[run.1]: Process exited with status 1
2012-03-21T04:46:20+00:00 heroku[run.1]: State changed from up to
complete
2012-03-21T04:46:30+00:00 heroku[run.1]: State changed from created to
starting
2012-03-21T04:46:32+00:00 app[run.1]: Awaiting client
2012-03-21T04:46:32+00:00 app[run.1]: Starting process with command
`rake crm:setup USERNAME=james PASSWORD=*** EMAIL=james@***.com`
2012-03-21T04:46:33+00:00 heroku[run.1]: Process exited with status 0
2012-03-21T04:46:33+00:00 heroku[run.1]: State changed from starting
to complete
2012-03-21T04:46:52+00:00 heroku[router]: Blank App -> GET
mastersroofingcrm.herokuapp.com/ dyno= queue= wait= service=
status=200 bytes=
2012-03-21T04:46:53+00:00 heroku[router]: Blank App -> GET
mastersroofingcrm.herokuapp.com/favicon.ico dyno= queue= wait=
service= status=200 bytes=
2012-03-21T04:46:53+00:00 heroku[router]: Blank App -> GET
mastersroofingcrm.herokuapp.com/favicon.ico dyno= queue= wait=
service= status=200 bytes=
2012-03-21T04:48:12+00:00 heroku[slugc]: Slug compilation started
2012-03-21T04:49:54+00:00 heroku[api]: Add-on add shared-database:5mb
by
fera...@gmail.com
2012-03-21T04:49:54+00:00 heroku[api]: Release v1 created by
fera...@gmail.com
2012-03-21T04:49:54+00:00 heroku[api]: Config add RAILS_ENV, LANG,
PATH, RACK_ENV, GEM_PATH by
fera...@gmail.com
2012-03-21T04:49:54+00:00 heroku[api]: Release v2 created by
fera...@gmail.com
2012-03-21T04:49:55+00:00 heroku[api]: Release v3 created by
fera...@gmail.com
2012-03-21T04:49:55+00:00 heroku[api]: Deploy 4eb1907 by
fera...@gmail.com
2012-03-21T04:49:56+00:00 heroku[web.1]: State changed from created to
starting
2012-03-21T04:49:56+00:00 heroku[slugc]: Slug compilation finished
2012-03-21T04:50:04+00:00 heroku[web.1]: Starting process with command
`bundle exec unicorn -p 20508 -c config/unicorn.rb`
2012-03-21T04:50:05+00:00 app[web.1]: fatal: Not a git repository (or
any of the parent directories): .git
2012-03-21T04:50:05+00:00 app[web.1]: fatal: Not a git repository (or
any of the parent directories): .git
2012-03-21T04:50:05+00:00 app[web.1]: Install missing gem executables
with `bundle install`
2012-03-21T04:50:05+00:00 app[web.1]: bundler: command not found:
unicorn
2012-03-21T04:50:06+00:00 heroku[web.1]: Process exited with status
127
2012-03-21T04:50:06+00:00 heroku[web.1]: State changed from starting
to crashed
2012-03-21T04:50:06+00:00 heroku[web.1]: State changed from crashed to
created
2012-03-21T04:50:06+00:00 heroku[web.1]: State changed from created to
starting
2012-03-21T04:50:14+00:00 heroku[web.1]: Starting process with command
`bundle exec unicorn -p 27418 -c config/unicorn.rb`
2012-03-21T04:50:14+00:00 app[web.1]: fatal: Not a git repository (or
any of the parent directories): .git
2012-03-21T04:50:14+00:00 app[web.1]: fatal: Not a git repository (or
any of the parent directories): .git
2012-03-21T04:50:15+00:00 app[web.1]: bundler: command not found:
unicorn
2012-03-21T04:50:15+00:00 app[web.1]: Install missing gem executables
with `bundle install`
2012-03-21T04:50:16+00:00 heroku[web.1]: Process exited with status
127
2012-03-21T04:50:16+00:00 heroku[web.1]: State changed from starting
to crashed
2012-03-21T05:00:18+00:00 heroku[web.1]: State changed from crashed to
created
2012-03-21T05:00:18+00:00 heroku[web.1]: State changed from created to
starting
2012-03-21T05:00:26+00:00 heroku[web.1]: Starting process with command
`bundle exec unicorn -p 38876 -c config/unicorn.rb`
2012-03-21T05:00:27+00:00 app[web.1]: fatal: Not a git repository (or
any of the parent directories): .git
2012-03-21T05:00:27+00:00 app[web.1]: fatal: Not a git repository (or
any of the parent directories): .git
2012-03-21T05:00:27+00:00 app[web.1]: bundler: command not found:
unicorn
2012-03-21T05:00:27+00:00 app[web.1]: Install missing gem executables
with `bundle install`
2012-03-21T05:00:28+00:00 heroku[web.1]: Process exited with status
127
2012-03-21T05:00:28+00:00 heroku[web.1]: State changed from starting
to crashed
2012-03-21T05:10:19+00:00 heroku[web.1]: State changed from crashed to
created
2012-03-21T05:10:19+00:00 heroku[web.1]: State changed from created to
starting
2012-03-21T05:10:26+00:00 heroku[web.1]: Starting process with command
`bundle exec unicorn -p 37838 -c config/unicorn.rb`
2012-03-21T05:10:27+00:00 app[web.1]: fatal: Not a git repository (or
any of the parent directories): .git
2012-03-21T05:10:27+00:00 app[web.1]: fatal: Not a git repository (or
any of the parent directories): .git
2012-03-21T05:10:27+00:00 app[web.1]: bundler: command not found:
unicorn
2012-03-21T05:10:27+00:00 app[web.1]: Install missing gem executables
with `bundle install`
2012-03-21T05:10:28+00:00 heroku[web.1]: Process exited with status
127
2012-03-21T05:10:28+00:00 heroku[web.1]: State changed from starting
to crashed
2012-03-21T05:11:23+00:00 heroku[web.1]: State changed from crashed to
created
2012-03-21T05:11:24+00:00 heroku[web.1]: State changed from created to
starting
2012-03-21T05:11:30+00:00 heroku[web.1]: Starting process with command
`bundle exec unicorn -p 58513 -c config/unicorn.rb`
2012-03-21T05:11:31+00:00 app[web.1]: fatal: Not a git repository (or
any of the parent directories): .git
2012-03-21T05:11:31+00:00 app[web.1]: fatal: Not a git repository (or
any of the parent directories): .git
2012-03-21T05:11:31+00:00 app[web.1]: bundler: command not found:
unicorn
2012-03-21T05:11:31+00:00 app[web.1]: Install missing gem executables
with `bundle install`
2012-03-21T05:11:32+00:00 heroku[web.1]: Process exited with status
127
2012-03-21T05:11:32+00:00 heroku[web.1]: State changed from starting
to crashed
2012-03-21T05:14:11+00:00 heroku[run.1]: State changed from created to
starting
2012-03-21T05:14:18+00:00 app[run.1]: Awaiting client
2012-03-21T05:14:18+00:00 app[run.1]: Starting process with command
`bundle install`
2012-03-21T05:14:18+00:00 heroku[run.1]: State changed from starting
to up
2012-03-21T05:14:21+00:00 heroku[run.1]: Process exited with status 0
2012-03-21T05:14:21+00:00 heroku[run.1]: State changed from up to
complete
Running
$ heroku run rake bundle install
gives me practically the same thing as the initial push; four "fatal:
Not a git repository" errors at the begining. But no assets:precompile
errors at the end.
Running bundle install attached to terminal... up, run.1
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
Using rake (0.9.2.2)
Using i18n (0.6.0)
Using multi_json (1.1.0)
Using activesupport (3.2.2)
Using builder (3.0.0)
Using activemodel (3.2.2)
Using erubis (2.7.0)
Using journey (1.0.3)
Using rack (1.4.1)
Using rack-cache (1.1)
Using rack-test (0.6.1)
Using hike (1.2.1)
Using tilt (1.3.3)
Using sprockets (2.1.2)
Using actionpack (3.2.2)
Using mime-types (1.17.2)
Using polyglot (0.3.3)
Using treetop (1.4.10)
Using mail (2.4.1)
Using actionmailer (3.2.2)
Using arel (3.0.2)
Using tzinfo (0.3.31)
Using activerecord (3.2.2)
Using activeresource (3.2.2)
Using bundler (1.1.0)
Using rack-ssl (1.3.2)
Using json (1.6.5)
Using rdoc (3.12)
Using thor (0.14.6)
Using railties (3.2.2)
Using rails (3.2.2)
Using acts-as-taggable-on (2.2.2)
Using acts_as_commentable (3.0.1)
Using acts_as_list (0.1.5)
Using chosen-rails (0.9.5) from git://
github.com/fatfreecrm/chosen-rails.git
(at master)
Using ajax-chosen-rails (0.1.5)
Using authlogic (3.1.0)
Using chronic (0.6.7)
Using cocaine (0.2.1)
Using coffee-script-source (1.2.0)
Using execjs (1.3.0)
Using coffee-script (2.2.0)
Using coffee-rails (3.2.2)
Using dynamic_form (1.1.4)
Using ffaker (1.13.0)
Using haml (3.1.4)
Using jquery-rails (2.0.1)
Using libv8 (3.3.10.4)
Using paper_trail (2.6.0)
Using paperclip (2.7.0)
Using pg (0.13.2)
Using polyamorous (0.5.0)
Using prototype-rails (3.2.1)
Using ransack (0.6.0) from git://
github.com/fatfreecrm/ransack.git (at
master)
Using responds_to_parent (1.0.20091013) from
https://github.com/LessonPlanet/responds_to_parent.git (at master)
Using sass (3.1.15)
Using sass-rails (3.2.4)
Using simple_form (2.0.1)
Using therubyracer (0.9.10)
Using uglifier (1.2.3)
Using will_paginate (3.0.3)
I've tried adding unicorn to my gemfile without success. I'm not sure
why I consistently get the same four "fatal: Not a git repository"
errors when bundle install, but I thought it odd that "rake
assets:recompile" returns even more of these errors.
So maybe I have several different problems that are making the whole
thing seem more complicated.
Thanks for any help,
-James