Permalink
Browse files

Fix dump-for

  • Loading branch information...
1 parent 25dbf7c commit 5885db816d43b8f243860539bff30025645e8f4d Dominik Schöler committed Nov 11, 2013
Showing with 5 additions and 5 deletions.
  1. +4 −4 bin/dump-for
  2. +1 −1 lib/geordi/version.rb
View
@@ -14,13 +14,13 @@ catching_errors do
system "mkdir -p #{destination_directory}" # Ensure the destination directory exists
destination_path = "#{destination_directory}/#{stage}.dump"
- puts "Downloading dump_for_download..."
- system "scp #{config.user}@#{config.server}:#{source_path} #{destination_path}"
- puts
- puts "Dumped the #{stage.upcase} database to: #{File.basename config.root}/tmp/#{stage}.dump"
+ puts "Downloading dump_for_download ..."
+ system "scp #{config.user}@#{config.primary_server}:#{source_path} #{destination_path}"
+ puts "Dumped the #{stage.upcase} database to RAILS_ROOT/tmp/#{stage}.dump"
# source dump if option was given
if ARGV.include?("-s")
+ puts
puts "Sourcing dump into development database..."
success = DumpLoader.new([destination_path]).execute
if success
View
@@ -1,3 +1,3 @@
module Geordi
- VERSION = '0.16.2'
+ VERSION = '0.16.3'
end

0 comments on commit 5885db8

Please sign in to comment.