lib/karo/config.rb in karo-1.3.0 vs lib/karo/config.rb in karo-1.4.0
- old
+ new
@@ -20,10 +20,12 @@
raise Thor::Error, "Please pass a valid configuration for an environment '#{options[:environment]}' within this file '#{config_file}'"
else
configuration
end
rescue Karo::NoConfigFileFoundError
- raise Thor::Error, "Please make sure that this configuration file exists? '#{config_file}'"
+ puts "You can use 'karo generate' to generate a skeleton .karo.yml file"
+ puts "Please make sure that this configuration file exists? '#{config_file}'"
+ raise Thor::Error, "and run the command again"
end
end
private