Class: Dolphin::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/dolphin/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#setupObject



6
7
8
9
10
11
12
# File 'lib/generators/dolphin/install_generator.rb', line 6

def setup
  target = "bin/dolphin"
  copy_file "dolphin", target
  # make it executable
  chmod(target, 0755)
  puts "Now edit #{target}  to adjust deployment settings\nThen run bin/dolphin to deploy."
end