Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
executable file 17 lines (13 sloc) 1.06 kb
#!/usr/bin/env ruby
#
# Use ./install REMOTE to use remote gem sources.
#
local_or_remote = ARGV.include?('REMOTE') ? '' : '--local'
require File.expand_path '../version', __FILE__
gem_command = 'gem'
puts "Installing all gems."
system "cd server; #{gem_command} build picky.gemspec; #{gem_command} install picky-*.gem #{local_or_remote} --no-rdoc --no-ri; rm picky-*.gem"
system "cd client; #{gem_command} build picky-client.gemspec; #{gem_command} install picky-client-*.gem #{local_or_remote} --no-rdoc --no-ri; rm picky-client-*.gem"
system "cd statistics; #{gem_command} build picky-statistics.gemspec; #{gem_command} install picky-statistics-*.gem #{local_or_remote} --no-rdoc --no-ri; rm picky-statistics-*.gem"
system "cd generators; #{gem_command} build picky-generators.gemspec; #{gem_command} install picky-generators-*.gem #{local_or_remote} --no-rdoc --no-ri; rm picky-generators-*.gem"
system "cd live; #{gem_command} build picky-live.gemspec; #{gem_command} install picky-live-*.gem #{local_or_remote} --no-rdoc --no-ri; rm picky-live-*.gem"
Jump to Line
Something went wrong with that request. Please try again.