Skip to content

Instantly share code, notes, and snippets.

2011-06-21T16:22:17+00:00 app[web.1]: ActionView::TemplateError (undefined method `_delete' for #<TailgateMarketInfo:0x7fcdf93d8e10>) on line #20 of app/views/interview/business_entities/details/_tailgate.html.haml:
2011-06-21T16:22:17+00:00 app[web.1]: 18: = store_form.hidden_field :id
2011-06-21T16:22:17+00:00 app[web.1]: 17: - unless store_form.object && store_form.object.new_record?
2011-06-21T16:22:17+00:00 app[web.1]: 19: %p
2011-06-21T16:22:17+00:00 app[web.1]: 20: = store_form.check_box '_delete'
2011-06-21T16:22:17+00:00 app[web.1]: 21: = store_form.label '_delete', 'Delete this information (warning, this cannot be undone)', :class=>'checkbox'
2011-06-21T16:22:17+00:00 app[web.1]: 22:
2011-06-21T16:22:17+00:00 app[web.1]: 23: - store_hours = @business_entity.hours_data
$ heroku create --remote heroku-cedar cmwt-cedar
Creating cmwt-cedar... done, stack is cedar
http://cmwt-cedar.herokuapp.com/ | git@heroku.com:cmwt-cedar.git
Git remote heroku-cedar added
$ git push heroku-cedar upgrade:master
! Your key with fingerprint da:61:51:12:d7:d.......:d6:3f is not authorized to access cmwt-cedar.
fatal: The remote end hung up unexpectedly
Host heroku.cmwt
HostName heroku.com
IdentityFile ~/.ssh/identity.heroku.cmwt
IdentitiesOnly yes
Host heroku.benlieb
HostName heroku.com
IdentityFile ~/.ssh/benlieb
IdentitiesOnly yes
heroku git@heroku.cmwt:cmwt.git (fetch)
heroku git@heroku.cmwt:cmwt.git (push)
heroku-cedar git@heroku.com:cmwt-cedar.git (fetch)
heroku-cedar git@heroku.com:cmwt-cedar.git (push)
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
[2013-01-29 03:57:48][HireFire] Delayed::Backend::ActiveRecord::Job detected!
rake aborted!
could not connect to server: Connection refused
Is the server running on host "127.0.0.1" and accepting
TCP/IP connections on port 5432?
/tmp/build_60g64nyyf08f/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.2/lib/active_record/connection_adapters/postgresql_adapter.rb:1194:in `initialize'
/tmp/build_60g64nyyf08f/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.2/lib/active_record/connection_adapters/postgresql_adapter.rb:1194:in `new'
/tmp/build_60g64nyyf08f/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.2/lib/active_record/connection_adapters/postgresql_adapter.rb:1194:in `connect'
$ gem list bundler
*** LOCAL GEMS ***
bundler (1.0.21)
benlieb@bens.local 04:14 PM ~/my_life/sites/2010/private_italy/sites/refinerycms >
$ gem uninstall -a bundler
INFO: gem "bundler" is not installed
benlieb@bens.local 04:14 PM ~/my_life/sites/2010/private_italy/sites/refinerycms >
$ which bundle
benlieb@bens 02:57 PM ~/my_life/sites/HostMonster/public_html/pixelearth.net >
$ gem install bundler
/Users/benlieb/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find rubygems-bundler (>= 0) amongst [actionmailer-3.2.11, actionpack-3.2.11, activemodel-3.2.11, activerecord-3.2.11, activeresource-3.2.11, activesupport-3.2.11, arel-3.0.2, awesome_print-1.1.0, bourbon-3.0.1, builder-3.0.4, coffee-rails-3.2.2, coffee-script-2.2.0, coffee-script-source-1.4.0, erubis-2.7.0, execjs-1.4.0, factory_girl-4.1.0, factory_girl_rails-4.1.0, haml-3.1.7, haml-rails-0.3.5, has_scope-0.5.1, hike-1.2.1, i18n-0.6.1, inherited_resources-1.3.1, journey-1.0.4, jquery-rails-2.1.4, json-1.7.6, mail-2.4.4, mime-types-1.19, multi_json-1.5.0, mysql2-0.3.11, polyglot-0.3.3, rack-1.4.4, rack-cache-1.2, rack-ssl-1.3.3, rack-test-0.6.2, rails-3.2.11, railties-3.2.11, rake-10.0.3, rdoc-3.12, responders-0.9.3, sass-3.2.5, sass-rails-3.2.6, simple_form-2.0.4, sprockets-2.2.2, thor-0.17
$ gem install bundler
/Users/benlieb/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find rubygems-bundler (>= 0) amongst [actionmailer-3.2.11, actionpack-3.2.11, activemodel-3.2.11, activerecord-3.2.11, activeresource-3.2.11, activesupport-3.2.11, arel-3.0.2, awesome_print-1.1.0, bourbon-3.0.1, builder-3.0.4, coffee-rails-3.2.2, coffee-script-2.2.0, coffee-script-source-1.4.0, erubis-2.7.0, execjs-1.4.0, factory_girl-4.1.0, factory_girl_rails-4.1.0, haml-3.1.7, haml-rails-0.3.5, has_scope-0.5.1, hike-1.2.1, i18n-0.6.1, inherited_resources-1.3.1, journey-1.0.4, jquery-rails-2.1.4, json-1.7.6, mail-2.4.4, mime-types-1.19, multi_json-1.5.0, mysql2-0.3.11, polyglot-0.3.3, rack-1.4.4, rack-cache-1.2, rack-ssl-1.3.3, rack-test-0.6.2, rails-3.2.11, railties-3.2.11, rake-10.0.3, rdoc-3.12, responders-0.9.3, sass-3.2.5, sass-rails-3.2.6, simple_form-2.0.4, sprockets-2.2.2, thor-0.17.0, tilt-1.3.3, treetop-1.4.12, tzinfo-0.3.35, uglifier-1.3.0, useragent-0.4.16]
benlieb@bens 03:38 PM ~/my_life/sites/HostMonster/public_html/pixelearth.net >
$ echo $PATH
/Users/benlieb/.rvm/gems/ruby-1.9.2-p320@pixelearth/bin:/Users/benlieb/.rvm/gems/ruby-1.9.2-p320@global/bin:/Users/benlieb/.rvm/rubies/ruby-1.9.2-p320/bin:/Users/benlieb/.rvm/bin:/usr/local/heroku/bin:/opt/local/bin:/opt/local/sbin:/Applications/Postgres.app/Contents/MacOS/bin:/usr/local/mysql/bin:/Users/benlieb/bin/vim:/Users/benlieb/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
benlieb@bens 03:39 PM ~/my_life/sites/HostMonster/public_html/pixelearth.net >
$ rvm info
ruby-1.9.2-p320@pixelearth:
benlieb@bens 03:42 PM ~/my_life/sites/HostMonster/public_html/pixelearth.net >
$ which gem; which ruby
/Users/benlieb/.rvm/rubies/ruby-1.9.2-p320/bin/gem
/Users/benlieb/.rvm/rubies/ruby-1.9.2-p320/bin/ruby