Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 17 lines (13 sloc) 1.06 kB
bd5498e @floere + install script to install all picky gems locally
authored
1 #!/usr/bin/env ruby
2 #
3
0c1922c @floere + scripts improved with choice of where to get gems (REMOTE or not)
authored
4 # Use ./install REMOTE to use remote gem sources.
5 #
ff5e07c @floere + rewrite such that picky can be run in a script, without bundler, + …
authored
6 local_or_remote = ARGV.include?('REMOTE') ? '' : '--local'
0c1922c @floere + scripts improved with choice of where to get gems (REMOTE or not)
authored
7
bd5498e @floere + install script to install all picky gems locally
authored
8 require File.expand_path '../version', __FILE__
9
5fb64fb @floere + experimental MacRuby-specific extensions
authored
10 gem_command = 'gem'
11
bd5498e @floere + install script to install all picky gems locally
authored
12 puts "Installing all gems."
5fb64fb @floere + experimental MacRuby-specific extensions
authored
13 system "cd server; #{gem_command} build picky.gemspec; #{gem_command} install picky-*.gem #{local_or_remote} --no-rdoc --no-ri; rm picky-*.gem"
14 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"
15 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"
16 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"
17 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"
Something went wrong with that request. Please try again.