git - Using Postgres for Ruby on Rails and cannot use link deployed by Heroku (Mavericks) -


this 3rd time around trying install ruby on rails scratch. same problem have encountered each time using 3 different tutorials. after finished , $ git push heroku master gives me link doesn't show web app git.

###### warning:    include 'rails_12factor' gem enable platform features    see https://devcenter.heroku.com/articles/rails-integration-gems more information.  ###### warning:    have not declared ruby version in gemfile.    set ruby version add line gemfile:    ruby '2.0.0'    # see https://devcenter.heroku.com/articles/ruby-versions more information.  ###### warning:    no procfile detected, using default web server (webrick)    https://devcenter.heroku.com/articles/ruby-default-web-server  -----> discovering process types    procfile declares types -> (none)    default types ruby  -> console, rake, web, worker  -----> compressing... done, 21.2mb -----> launching... done, v6    http://immense-dusk-3361.herokuapp.com/ deployed heroku  git@heroku.com:immense-dusk-3361.git  * [new branch]      master -> master macbook-air:omrails demo$ heroku open opening immense-dusk-3361... done' 

when use link not bring me see @ localhost:3000. followed tutorials change sqlite postgres. here ended with:

# sqlite version 3.x #   gem install sqlite3 # #   ensure sqlite 3 gem defined in gemfile #   gem 'sqlite3' # default: &default   adapter: postresql   pool: 5   timeout: 5000  development:   adapter: postresql   database: my_database_development   pool: 5   host: localhost  # warning: database defined "test" erased , # re-generated development database when run "rake". # not set db same development or production. test:   <<: *default   database: db/test.sqlite3  production:   <<: *default   database: db/production.sqlite3' 

the following links of resources have used:

http://postgresapp.com/documentation/configuration-ruby.html

https://devcenter.heroku.com/articles/heroku-postgresql#local-setup

note: using 1 month rails tutorial learn actual coding since using ios mavericks can't install kit used railsinstaller. instead using the: install ruby on rails · mac os x mavericks daniel kehoe tutorial.

thanks in advance helping pathetic noob! never stop being awesome :)!


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -