Skip to content

Instantly share code, notes, and snippets.

@soilforlifeforms
Created February 13, 2014 20:29
Show Gist options
  • Select an option

  • Save soilforlifeforms/8983196 to your computer and use it in GitHub Desktop.

Select an option

Save soilforlifeforms/8983196 to your computer and use it in GitHub Desktop.
samanthajones@Samanthas-iMac mxit-rails-master]$ bundle exec rake db:migrate
Your Gemfile lists the gem pg (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Your Gemfile lists the gem pg (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
rake aborted!
(<unknown>): mapping values are not allowed in this context at line 10 column 14
/Users/samanthajones/.rvm/gems/ruby-2.0.0-p353/gems/railties-3.2.8/lib/rails/application/configuration.rb:115:in `database_configuration'
/Users/samanthajones/.rvm/gems/ruby-2.0.0-p353/gems/activerecord-3.2.8/lib/active_record/railtie.rb:78:in `block (2 levels) in <class:Railtie>'
/Users/samanthajones/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-3.2.8/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval'
/Users/samanthajones/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-3.2.8/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'
/Users/samanthajones/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-3.2.8/lib/active_support/lazy_load_hooks.rb:43:in `block in run_load_hooks'
/Users/samanthajones/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-3.2.8/lib/active_support/lazy_load_hooks.rb:42:in `each'
/Users/samanthajones/.rvm/gems/ruby-2.0.0-p353/gems/activesupport-3.2.8/lib/active_support/lazy_load_hooks.rb:42:in `run_load_hooks'
/Users/samanthajones/.rvm/gems/ruby-2.0.0-p353/gems/activerecord-3.2.8/lib/active_record/base.rb:721:in `<top (required)>'
/Users/samanthajones/.rvm/gems/ruby-2.0.0-p353/gems/activerecord-3.2.8/lib/active_record/railties/databases.rake:6:in `block (2 levels) in <top (required)>'
/Users/samanthajones/.rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `eval'
/Users/samanthajones/.rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => db:migrate => app:db:migrate => app:db:load_config
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment