Run a Tinderbox
To help test gems on as many platforms as possible, you can run a tinderbox on your own machine.
First you'll need to log in or create an account.
Run this script:
#!/usr/bin/env ruby
abort "Usage: #{$0} PASSWORD" if ARGV.empty?
sudo = RUBY_PLATFORM =~ /mswin/ ? '' : 'sudo'
system "#{sudo} gem install -y tinderbox"
home = ENV['HOME'] || ENV['USERPROFILE']
File.open File.join(home, '.gem_tinderbox'), 'w' do |f|
f.puts "Server=firebrigade.seattlerb.org:80"
f.puts "Username=<your username>"
f.puts "Password=#{ARGV.shift}"
end
Then start a tinderbox:
tinderbox_gem_run
The tinderbox will create its sandbox in './tinderbox'. If you want the tinderbox to use a different path specify it with the -r option:
tinderbox_gem_run -r /tmp/tinderbox
The tinderbox can also run as a daemon by using the -d flag:
tinderbox_gem_run -d
firebrigade