Class: Dolphin::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Dolphin::InstallGenerator
- Defined in:
- lib/generators/dolphin/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#setup ⇒ Object
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 |