Sha256: 428f480ba12882dab04ed2934f64a2d07dd30f68d2910a83ed2ef3a3ae1b5557
Contents?: true
Size: 669 Bytes
Versions: 1
Compression:
Stored size: 669 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' require 'rails-installer' class AppInstaller < RailsInstaller application_name 'sugoi-mail' support_location 'http://invio.co.jp/' rails_version '1.1.6' def post_install_hook system("rake db:fixtures:load FIXTURES=mailinglist_classes,admin_messages,sys_configs RAILS_ENV=production") system("rake db:fixtures:load FIXTURES=mailinglist_classes,admin_messages,sys_configs RAILS_ENV=development") # for the hackers end 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)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sugoi-mail-0.0.2 | bin/sugoi-mail |