aboutsummaryrefslogtreecommitdiffhomepage
path: root/qi
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2015-05-17 11:01:29 -0400
committerRalph Amissah <ralph@amissah.com>2015-05-17 11:08:07 -0400
commit164ba294b6193d11f3ff5505f452ac0eb7e07cd1 (patch)
treee58b27b6eba34c7c62dab27dd8c9844421a916a8 /qi
parentbin/sisu , install name check (stable & git versions) (diff)
qi (quick install) gem install git version option
Diffstat (limited to 'qi')
-rwxr-xr-xqi5
1 files changed, 4 insertions, 1 deletions
diff --git a/qi b/qi
index b2956876..24d383b6 100755
--- a/qi
+++ b/qi
@@ -243,7 +243,10 @@ module SiSUconf
if options[:verbose]
end
if options[:install]
- Gemspecs::Current.install_stable
+ version=(options[:git_version_number]) \
+ ? :version_git
+ : :version_standard
+ Gemspecs::Current.install_stable(version)
puts 'installed gem, version: stable' \
if options[:verbose]
end