Method: Jets::Commands::Deploy#check_dev_mode

Defined in:
lib/jets/commands/deploy.rb

#check_dev_modeObject



77
78
79
80
81
82
# File 'lib/jets/commands/deploy.rb', line 77

def check_dev_mode
  if File.exist?("#{Jets.root}/dev.mode")
    puts "The dev.mode file exists. Please removed it and run bundle update before you deploy.".color(:red)
    exit 1
  end
end