lib/tasks/pg_pull.rake in effective_developer-0.6.1 vs lib/tasks/pg_pull.rake in effective_developer-0.6.2

- old
+ new

@@ -48,10 +48,10 @@ Rake::Task['pg:load'].invoke(*args) exit end # Hatchbox mode - if (ENV['HATCHBOX_IP'] || args[:remote]).count('.') == 3 + if (ENV['HATCHBOX_IP'] || args[:remote]).to_s.count('.') == 3 args.with_defaults( remote: ENV.fetch('HATCHBOX_IP'), app: ENV['HATCHBOX_APP'] || `pwd`.split('/').last.chomp, user: ENV['HATCHBOX_USER'] || 'deploy' )