ruby-install_install 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/ruby-install_install +2 -2
- data/lib/ruby/install_install/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96abba4d0df5ba091d43921bd46b97d115694dc1bc84a247a6303f30b6fa90ba
|
4
|
+
data.tar.gz: 1b8476213dc83223e12e19e6e32d296c056a4f693686ae7efc8a5329756b1e8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07d252a461ed860ab1fffd849cbe14093ee640cffba414f2d2678a7494cf598c71b40ce4c3e36d0b61a3d88d928b72ccce5433fc4e3dcaebfa758678c5982aa3
|
7
|
+
data.tar.gz: 7e86e58ad34d47486d69d7a941ca9956a23ebe0d88bd51f935398c27852f54bdfbf106e49ae0232dd16db6754e1b6946875623402017023dc39859910472c784
|
data/exe/ruby-install_install
CHANGED
@@ -6,8 +6,8 @@ require 'zlib'
|
|
6
6
|
|
7
7
|
version = ARGV[0] || '0.7.0'
|
8
8
|
uri = "https://github.com/postmodern/ruby-install/archive/v#{version}.tar.gz"
|
9
|
-
src_prefix = '/tmp/ruby-
|
10
|
-
cmd = "cd #{src_prefix}/ruby-install-#{version} && sudo make install"
|
9
|
+
src_prefix = '/tmp/ruby-install_install'
|
10
|
+
cmd = "cd #{src_prefix}/ruby-install-#{version} && sudo make install && rm -Rf #{src_prefix}"
|
11
11
|
|
12
12
|
puts "Download from #{uri}"
|
13
13
|
Minitar.unpack(Zlib::GzipReader.new(open(uri,"rb")), src_prefix)
|