Skip to content

Instantly share code, notes, and snippets.

@eliduke
Created August 23, 2014 00:17
Show Gist options
  • Save eliduke/1d6ddc33e5128ca00733 to your computer and use it in GitHub Desktop.
Save eliduke/1d6ddc33e5128ca00733 to your computer and use it in GitHub Desktop.
rake db:import error
date-master: rake db:import
Backing Up Production Database...
/Users/eli/.gem/ruby/2.1.1/gems/bundler-1.7.0/lib/bundler/definition.rb:399:in `validate_ruby!': Your Ruby version is 1.9.3, but your Gemfile specified 2.1.1 (Bundler::RubyVersionMismatch)
from /Users/eli/.gem/ruby/2.1.1/gems/bundler-1.7.0/lib/bundler.rb:117:in `setup'
from /Users/eli/.gem/ruby/2.1.1/gems/bundler-1.7.0/lib/bundler/setup.rb:17:in `<top (required)>'
from /usr/local/heroku/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/local/heroku/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
Downloading Database Dump...
/Users/eli/.gem/ruby/2.1.1/gems/bundler-1.7.0/lib/bundler/definition.rb:399:in `validate_ruby!': Your Ruby version is 1.9.3, but your Gemfile specified 2.1.1 (Bundler::RubyVersionMismatch)
from /Users/eli/.gem/ruby/2.1.1/gems/bundler-1.7.0/lib/bundler.rb:117:in `setup'
from /Users/eli/.gem/ruby/2.1.1/gems/bundler-1.7.0/lib/bundler/setup.rb:17:in `<top (required)>'
from /usr/local/heroku/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/local/heroku/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information
Importing Production Data...
sh: pg_restore: command not found
Deleting Dump File...
rake aborted!
Errno::ENOENT: No such file or directory @ unlink_internal - db/dxe-production.dump
/Users/eli/Sites/date/Rakefile:48:in `block (2 levels) in <top (required)>'
Tasks: TOP => db:import
(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