search for: message_proc

Displaying 1 result from an estimated 1 matches for "message_proc".

2006 Jul 28
0
GEM-based rails application installer
...Installer < RailsInstaller application_name ''my_app'' support_location ''my website'' rails_version ''1.1.4'' end # Installer program directory = ARGV[1] app = AppInstaller.new(directory) app.message_proc = Proc.new do |msg| STDERR.puts " #{msg}" end app.execute_command(*ARGV) That''s all that''s needed--as long as the installer gem is installed, this will give you a full installer that supports installs, upgrades, db backups and restores, and all of th...