Giter Club home page Giter Club logo

Comments (12)

danielschwartz avatar danielschwartz commented on July 2, 2024

This runs on the Heroku Cedar stack with Postgres as the backing database. This should also run just fine on any VPS with Ruby 1.9.3 or 2.0 (on the latest patch version). We haven't heard of any other issues. If you come up with a specific, reproducible issue, let us know and we will reopen this ticket.

from prelaunchr.

jaxi123 avatar jaxi123 commented on July 2, 2024

but postgres cant run locally? so how would i go about building the app locally on then pushing to heroku? or is it possible to build directly on heroku?

from prelaunchr.

danielschwartz avatar danielschwartz commented on July 2, 2024

Why can't postgres run locally? We run it locally all the time using http://postgresapp.com/

from prelaunchr.

werkshy avatar werkshy commented on July 2, 2024

In Debian/Ubuntu/homebrew you can install the postgres server. You will need to set the localhost to 'trust' logins for ease of development. Something like this:

HBA_CONF=/etc/postgresql/9.3/main/pg_hba.conf
sudo sed -ibak 's/^\(host\s*all\s*all\s*127\.0\.0\.1\/32\s*\)md5\(.*\)/\1trust/' $HBA_CONF
sudo -u postgres createuser -s $USER || echo "ok fine"
sudo /etc/init.d/postgresql restart

from prelaunchr.

jaxi123 avatar jaxi123 commented on July 2, 2024

Thank's for the great answers! gonne give it shot and let you know how it turns out.

from prelaunchr.

jaxi123 avatar jaxi123 commented on July 2, 2024

Okay, so i just CANNOT get this running on my VPS. so i've decided to try giving it a shot with heroku. But before i get started i would really like to know if this would this create an environment on which i could successfully build and deploy to heroku the prelaunchr?

  1. install virtualbox with ubuntu.
  2. install heroku toolbelt.
  3. install postgressql, rails 3, ruby 2.1.3, git

using this tutorial: https://gorails.com/setup/ubuntu/14.04

then git cloning from: https://github.com/harrystech/prelaunchr.git

then running:

$ cd prelaunchr

$ bundle install

$ bundle exec rake db:create db:schema:load db:seed

$ heroku login

$ heroku create

$ git push heroku master

Profit??

from prelaunchr.

werkshy avatar werkshy commented on July 2, 2024

You don't really need a local postgres, install the bundler or run 'rake db:create' etc in order to run on Heroku. Just create the app and push your git checkout to it. Heroku sets up a database and prelaunchr will pick up the database config automatically. (You may need to add the pg database in heroku yourself, I don't remember exactly).

from prelaunchr.

werkshy avatar werkshy commented on July 2, 2024

To clarify, you DO need to add the postgres database addon manually to your heroku app.

from prelaunchr.

jaxi123 avatar jaxi123 commented on July 2, 2024

okay, so i added the postgres addon to heroku, but when i tried pushing the app i got an error:

jonas@jonas-GA-MA770T-UD3:~/prelaunchr$ git push heroku master
Warning: Permanently added the RSA host key for IP address '50.19.85.154' to the list of known hosts.
Initializing repository, done.
Counting objects: 177, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (141/141), done.
Writing objects: 100% (177/177), 2.47 MiB | 444.00 KiB/s, done.
Total 177 (delta 24), reused 177 (delta 24)

-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.0.0
-----> Installing dependencies using 1.6.3
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
Fetching gem metadata from https://rubygems.org/..........
Installing i18n 0.6.4
Installing rake 10.0.3
Installing multi_json 1.6.1
Installing builder 3.0.4
Installing erubis 2.7.0
Installing journey 1.0.4
Installing hike 1.2.1
Installing mime-types 1.21
Installing tilt 1.3.4
Installing rack 1.4.5
Installing polyglot 0.3.3
Installing thor 0.17.0
Installing sass 3.2.5
Using json 1.7.7
Installing orm_adapter 0.4.0
Installing fastercsv 1.5.5
Installing has_scope 0.5.1
Installing arel 3.0.2
Using bundler 1.6.3
Installing coffee-script-source 1.4.0
Installing tzinfo 0.3.36
Installing bcrypt-ruby 3.0.1
Installing raindrops 0.10.0
Installing activesupport 3.2.11
Installing execjs 1.4.0
Installing rack-cache 1.2
Installing rack-test 0.6.2
Installing sprockets 2.2.2
Installing rack-ssl 1.3.3
Installing warden 1.2.1
Installing treetop 1.4.12
Installing bourbon 3.0.1
Installing rdoc 3.12.2
Installing activemodel 3.2.11
Installing arbre 1.0.1
Installing delayed_job 3.0.5
Installing kgio 2.8.0
Installing pg 0.14.1
Installing coffee-script 2.2.0
Installing uglifier 1.3.0
Installing mail 2.4.4
Installing actionpack 3.2.11
Installing activeresource 3.2.11
Installing activerecord 3.2.11
Installing actionmailer 3.2.11
Installing formtastic 2.2.1
Installing railties 3.2.11
Installing kaminari 0.14.1
Installing polyamorous 0.5.0
Installing delayed_job_active_record 0.4.4
Installing devise 2.2.2
Installing responders 0.9.3
Installing rails 3.2.11
Installing jquery-rails 2.2.0
Installing coffee-rails 3.2.2
Installing sass-rails 3.2.6
Installing meta_search 1.1.3
Installing inherited_resources 1.3.1
Installing activeadmin 0.5.1
Installing unicorn 4.6.0
Your bundle is complete!
Gems in the groups development and test were not installed.
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!
Post-install message from meta_search:
*** Thanks for installing MetaSearch! ***
Be sure to check out http://metautonomo.us/projects/metasearch/ for a
walkthrough of MetaSearch's features, and click the donate button if
you're feeling especially appreciative. It'd help me justify this
"open source" stuff to my lovely wife. :)
Bundle completed (29.24s)
Cleaning up the bundler cache.
-----> Writing config/database.yml to read from DATABASE_URL
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/Rakefile:7)
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/Rakefile:7)
rake aborted!
refer/[email protected] isn't precompiled
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.11/lib/sprockets/helpers/rails_helper.rb:142:in digest_for' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.11/lib/sprockets/helpers/rails_helper.rb:151:inrewrite_asset_path'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.11/lib/action_view/asset_paths.rb:27:in compute_public_path' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.11/lib/sprockets/helpers/rails_helper.rb:56:inasset_path'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/app/models/user.rb:18:in <class:User>' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/app/models/user.rb:1:in<top (required)>'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in require' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:inblock in require'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:236:in load_dependency' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:inrequire'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:359:in require_or_load' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:502:inload_missing_constant'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:192:in block in const_missing' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:190:ineach'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:190:in const_missing' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/app/admin/users.rb:1:in<top (required)>'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:245:in load' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:245:inblock in load'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:236:in load_dependency' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:245:inload'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activeadmin-0.5.1/lib/active_admin/application.rb:190:in block in load!' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activeadmin-0.5.1/lib/active_admin/application.rb:190:ineach'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activeadmin-0.5.1/lib/active_admin/application.rb:190:in load!' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activeadmin-0.5.1/lib/active_admin/application.rb:213:inroutes'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activeadmin-0.5.1/lib/active_admin.rb:79:in routes' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/config/routes.rb:3:inblock in <top (required)>'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.11/lib/action_dispatch/routing/route_set.rb:282:in instance_exec' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.11/lib/action_dispatch/routing/route_set.rb:282:ineval_block'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.11/lib/action_dispatch/routing/route_set.rb:260:in draw' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/config/routes.rb:1:in<top (required)>'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:245:in load' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:245:inblock in load'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:236:in load_dependency' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:245:inload'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/railties-3.2.11/lib/rails/application/routes_reloader.rb:40:in block in load_paths' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/railties-3.2.11/lib/rails/application/routes_reloader.rb:40:ineach'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/railties-3.2.11/lib/rails/application/routes_reloader.rb:40:in load_paths' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/railties-3.2.11/lib/rails/application/routes_reloader.rb:16:inreload!'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/railties-3.2.11/lib/rails/application.rb:108:in reload_routes!' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activeadmin-0.5.1/lib/active_admin/reloader.rb:34:inreload!'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activeadmin-0.5.1/lib/active_admin/reloader.rb:61:in block in attach!' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:429:in_run__3772166146976491746__prepare__1359187852953366037__callbacks'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:405:in __run_callback' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:385:in_run_prepare_callbacks'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:81:in run_callbacks' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.11/lib/action_dispatch/middleware/reloader.rb:74:inprepare!'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.11/lib/action_dispatch/middleware/reloader.rb:48:in prepare!' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/railties-3.2.11/lib/rails/application/finisher.rb:47:inblock in module:Finisher'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/railties-3.2.11/lib/rails/initializable.rb:30:in instance_exec' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/railties-3.2.11/lib/rails/initializable.rb:30:inrun'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/railties-3.2.11/lib/rails/initializable.rb:55:in block in run_initializers' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/railties-3.2.11/lib/rails/initializable.rb:54:ineach'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/railties-3.2.11/lib/rails/initializable.rb:54:in run_initializers' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/railties-3.2.11/lib/rails/application.rb:136:ininitialize!'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/railties-3.2.11/lib/rails/railtie/configurable.rb:30:in method_missing' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/config/environment.rb:5:in<top (required)>'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in require' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:inblock in require'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:236:in load_dependency' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:inrequire'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/railties-3.2.11/lib/rails/application.rb:103:in require_environment!' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/railties-3.2.11/lib/rails/application.rb:297:inblock (2 levels) in initialize_tasks'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.11/lib/sprockets/assets.rake:93:in block (2 levels) in <top (required)>' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.11/lib/sprockets/assets.rake:60:inblock (3 levels) in <top (required)>'
/tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.11/lib/sprockets/assets.rake:23:in invoke_or_reboot_rake_task' /tmp/build_7b8df595c80e67d1fb73b98e83a17ae6/vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.11/lib/sprockets/assets.rake:29:inblock (2 levels) in <top (required)>'
Tasks: TOP => environment
(See full trace by running task with --trace)
!
! Precompiling assets failed.
!

! Push rejected, failed to compile Ruby app

To [email protected]:nameless-stream-1080.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:nameless-stream-1080.git'

jonas@jonas-GA-MA770T-UD3:~/prelaunchr$

and i have NO clue what i am doing wrong. would be great if you could help me. btw i am using a trial version of heroku if that has any relevance.

from prelaunchr.

danielschwartz avatar danielschwartz commented on July 2, 2024

@jaxi123 please refer to #8 for this answer to this. This is a standard Heroku problem/Rails problem, not a prelaunchr problem.

You either need to precompile locally or add config.assets.initialize_on_precompile = false to your production.rb (application.rb) config

from prelaunchr.

jaxi123 avatar jaxi123 commented on July 2, 2024

"rake assets:precompile" gives me

jonas@jonas-GA-MA770T-UD3:/prelaunchr$ rake assets:precompile
/home/jonas/.rvm/rubies/ruby-2.1.3/bin/ruby /home/jonas/.rvm/gems/ruby-2.1.3/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
rake aborted!
fe_sendauth: no password supplied
/home/jonas/.rvm/gems/ruby-2.1.3/gems/activerecord-3.2.11/lib/active_record/connection_adapters/postgresql_adapter.rb:1208:in initialize' /home/jonas/.rvm/gems/ruby-2.1.3/gems/activerecord-3.2.11/lib/active_record/connection_adapters/postgresql_adapter.rb:1208:innew'
/home/jonas/.rvm/gems/ruby-2.1.3/gems/activerecord-3.2.11/lib/active_record/connection_adapters/postgresql_adapter.rb:1208:in connect' /home/jonas/.rvm/gems/ruby-2.1.3/gems/activerecord-3.2.11/lib/active_record/connection_adapters/postgresql_adapter.rb:326:ininitialize'
/home/jonas/.rvm/gems/ruby-2.1.3/gems/activerecord-3.2.11/lib/active_record/connection_adapters/postgresql_adapter.rb:28:in new' /home/jonas/.rvm/gems/ruby-2.1.3/gems/activerecord-3.2.11/lib/active_record/connection_adapters/postgresql_adapter.rb:28:inpostgresql_connection'
/home/jonas/.rvm/gems/ruby-2.1.3/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:315:in new_connection' /home/jonas/.rvm/gems/ruby-2.1.3/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:325:incheckout_new_connection'
/home/jonas/.rvm/gems/ruby-2.1.3/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:247:in block (2 levels) in checkout' /home/jonas/.rvm/gems/ruby-2.1.3/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:242:inloop'
/home/jonas/.rvm/gems/ruby-2.1.3/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:242:in block in checkout' /home/jonas/.rvm/gems/ruby-2.1.3/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:239:incheckout'
/home/jonas/.rvm/gems/ruby-2.1.3/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:102:in block in connection' /home/jonas/.rvm/gems/ruby-2.1.3/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:101:inconnection'
/home/jonas/.rvm/gems/ruby-2.1.3/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:410:in retrieve_connection' /home/jonas/.rvm/gems/ruby-2.1.3/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_specification.rb:171:inretrieve_connection'
/home/jonas/.rvm/gems/ruby-2.1.3/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_specification.rb:145:in connection' /home/jonas/.rvm/gems/ruby-2.1.3/gems/activerecord-3.2.11/lib/active_record/model_schema.rb:308:inclear_cache!'
/home/jonas/.rvm/gems/ruby-2.1.3/gems/activerecord-3.2.11/lib/active_record/railtie.rb:97:in block (2 levels) in <class:Railtie>' /home/jonas/.rvm/gems/ruby-2.1.3/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:418:in_run__2437592772427229893__prepare__2273412172633074465__callbacks'
/home/jonas/.rvm/gems/ruby-2.1.3/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:405:in __run_callback' /home/jonas/.rvm/gems/ruby-2.1.3/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:385:in_run_prepare_callbacks'
/home/jonas/.rvm/gems/ruby-2.1.3/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:81:in run_callbacks' /home/jonas/.rvm/gems/ruby-2.1.3/gems/actionpack-3.2.11/lib/action_dispatch/middleware/reloader.rb:74:inprepare!'
/home/jonas/.rvm/gems/ruby-2.1.3/gems/actionpack-3.2.11/lib/action_dispatch/middleware/reloader.rb:48:in prepare!' /home/jonas/.rvm/gems/ruby-2.1.3/gems/railties-3.2.11/lib/rails/application/finisher.rb:47:inblock in module:Finisher'
/home/jonas/.rvm/gems/ruby-2.1.3/gems/railties-3.2.11/lib/rails/initializable.rb:30:in instance_exec' /home/jonas/.rvm/gems/ruby-2.1.3/gems/railties-3.2.11/lib/rails/initializable.rb:30:inrun'
/home/jonas/.rvm/gems/ruby-2.1.3/gems/railties-3.2.11/lib/rails/initializable.rb:55:in block in run_initializers' /home/jonas/.rvm/gems/ruby-2.1.3/gems/railties-3.2.11/lib/rails/initializable.rb:54:ineach'
/home/jonas/.rvm/gems/ruby-2.1.3/gems/railties-3.2.11/lib/rails/initializable.rb:54:in run_initializers' /home/jonas/.rvm/gems/ruby-2.1.3/gems/railties-3.2.11/lib/rails/application.rb:136:ininitialize!'
/home/jonas/.rvm/gems/ruby-2.1.3/gems/railties-3.2.11/lib/rails/railtie/configurable.rb:30:in method_missing' /home/jonas/prelaunchr/config/environment.rb:5:in<top (required)>'
/home/jonas/.rvm/gems/ruby-2.1.3/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in require' /home/jonas/.rvm/gems/ruby-2.1.3/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:inblock in require'
/home/jonas/.rvm/gems/ruby-2.1.3/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:236:in load_dependency' /home/jonas/.rvm/gems/ruby-2.1.3/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:inrequire'
/home/jonas/.rvm/gems/ruby-2.1.3/gems/railties-3.2.11/lib/rails/application.rb:103:in require_environment!' /home/jonas/.rvm/gems/ruby-2.1.3/gems/railties-3.2.11/lib/rails/application.rb:297:inblock (2 levels) in initialize_tasks'
/home/jonas/.rvm/gems/ruby-2.1.3/gems/actionpack-3.2.11/lib/sprockets/assets.rake:93:in block (2 levels) in <top (required)>' /home/jonas/.rvm/gems/ruby-2.1.3/gems/actionpack-3.2.11/lib/sprockets/assets.rake:60:inblock (3 levels) in <top (required)>'
Tasks: TOP => environment
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [/home/jonas/.rvm/rubies/ruby-2.1.3/bin/rub...]
/home/jonas/.rvm/gems/ruby-2.1.3/gems/actionpack-3.2.11/lib/sprockets/assets.rake:12:in ruby_rake_task' /home/jonas/.rvm/gems/ruby-2.1.3/gems/actionpack-3.2.11/lib/sprockets/assets.rake:21:ininvoke_or_reboot_rake_task'
/home/jonas/.rvm/gems/ruby-2.1.3/gems/actionpack-3.2.11/lib/sprockets/assets.rake:29:in block (2 levels) in <top (required)>' /home/jonas/.rvm/gems/ruby-2.1.3/bin/ruby_executable_hooks:15:ineval'
/home/jonas/.rvm/gems/ruby-2.1.3/bin/ruby_executable_hooks:15:in `

'
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)
jonas@jonas-GA-MA770T-UD3:/prelaunchr$

from prelaunchr.

jaxi123 avatar jaxi123 commented on July 2, 2024

okay, i got it pushed to heroku now by adding the line to my application.rb and precompilling assets locally. However i get an error:

https://morning-atoll-1917.herokuapp.com/

from prelaunchr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.