Skip to content

Instantly share code, notes, and snippets.

View soilforlifeforms's full-sized avatar

Ryan Vermooten soilforlifeforms

View GitHub Profile
source "http://rubygems.org"
# Declare your gem's dependencies in mxit-rails.gemspec.
# Bundler will treat runtime dependencies like base dependencies, and
# development dependencies will be added by default to the :development group.
gemspec
gem "surveyor"
#require 'mongo'
[samanthajones@Samanthas-iMac mxit-rails-master]$ heroku run rake db:migrate
Running `rake db:migrate` attached to terminal... up, run.5335
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 /app/test/dummy/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 /app/test/dummy/Rakefile:7)
Connecting to da
The files belonging to this database system will be owned by user "samanthajones".
This user must also own the server process.
The database cluster will be initialized with locales
COLLATE: C
CTYPE: UTF-8
MESSAGES: C
MONETARY: C
NUMERIC: C
TIME: C
[samanthajones@Samanthas-iMac mxit-rails-master]$ createuser -P -s -e $USER
Enter password for new role:
Enter it again:
Password:
createuser: could not connect to database postgres: FATAL: password authentication failed for user "samanthajones"
[samanthajones@Samanthas-iMac mxit-rails-master]$
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/postgresql-9.3.2.lion.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/postgresql-9.3.2.lion.bottle.tar.gz
==> Pouring postgresql-9.3.2.lion.bottle.tar.gz
==> Caveats
If builds of PostgreSQL 9 are failing and you have version 8.x installed,
you may need to remove the previous version first. See:
https://github.com/Homebrew/homebrew/issues/issue/2510
To migrate existing data from a previous major version (pre-9.3) of PostgreSQL, see:
http://www.postgresql.org/docs/9.3/static/upgrading.html
The files belonging to this database system will be owned by user "samanthajones".
This user must also own the server process.
The database cluster will be initialized with locales
COLLATE: C
CTYPE: UTF-8
MESSAGES: C
MONETARY: C
NUMERIC: C
TIME: C
[samanthajones@Samanthas-iMac mxit-rails-master]$ brew doctor
Warning: Broken symlinks were found. Remove them with `brew prune`:
/usr/local/bin/sublime
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
[samanthajones@Samanthas-iMac mxit-rails-master]$ brew reinstall postgresql
==> Reinstalling postgresql
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/postgresql-9.3.2.lion.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/postgresql-9.3.2.lion.bottle.tar.gz
==> Pouring postgresql-9.3.2.lion.bottle.tar.gz
==> Caveats
If builds of PostgreSQL 9 are failing and you have version 8.x installed,
you may need to remove the previous version first. See:
https://github.com/Homebrew/homebrew/issues/issue/2510
development:
adapter: postgresql
encoding: unicode
database: mxitapp_development
pool: 5
password:
#development:
#adapter: pg
# encoding: utf8
[samanthajones@Samanthas-iMac mxit-rails-master]$ rake db:create
could not connect to server: Permission denied
Is the server running locally and accepting
connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"?
/Users/samanthajones/.rvm/gems/ruby-2.0.0-p353/gems/activerecord-3.2.8/lib/active_record/connection_adapters/postgresql_adapter.rb:1213:in `initialize'
/Users/samanthajones/.rvm/gems/ruby-2.0.0-p353/gems/activerecord-3.2.8/lib/active_record/connection_adapters/postgresql_adapter.rb:1213:in `new'
/Users/samanthajones/.rvm/gems/ruby-2.0.0-p353/gems/activerecord-3.2.8/lib/active_record/connection_adapters/postgresql_adapter.rb:1213:in `connect'
/Users/samanthajones/.rvm/gems/ruby-2.0.0-p353/gems/activerecord-3.2.8/lib/active_record/connection_adapters/postgresql_adapter.rb:329:in `initialize'
/Users/samanthajones/.rvm/gems/ruby-2.0.0-p353/gems/activerecord-3.2.8/lib/active_record/connection_adapters/postgresql_adapter.rb:28:in `new'
/Users/samanthajones/.rvm/gems/ruby-2.0.0-p353/gems/activ