Displaying 1 result from an estimated 1 matches for "support_location".
2006 Jul 28
0
GEM-based rails application installer
...` SVN tree as an example.
Here''s a short example `bin/my-app`:
#!/usr/bin/env ruby
require ''rubygems''
require ''rails-installer''
class AppInstaller < 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_comma...