ruby-install_install 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -3
- data/exe/ruby-install_install +2 -1
- data/lib/ruby/install_install/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cbdfb12ebc00a5455b6d6ad908fecfdbbec30f975dbaa078954f8358a6807773
|
4
|
+
data.tar.gz: addb4f4b661854be41a0c5d6371dfbb31b2e7b55551e416e4293d7346d626b27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a933d036f8d8da38b7a2dcf1ce101f133aa8a5104a5545c7159694d1a6a1069f9d023d951e0ba96eff015d2d9b8a5c02f865a31d4e5c98c8fcdb8df78462831
|
7
|
+
data.tar.gz: 9e941bb4d5992ba100956a7b0bf2d1c465306bef4b970b6fa214ba652eca471028a1d2b86679999c91b21d7709ccb6021ff2f659db35c8541be06cc5e7b49f60
|
data/README.md
CHANGED
@@ -9,10 +9,8 @@ ruby-install installer
|
|
9
9
|
## Usage
|
10
10
|
```
|
11
11
|
$ ruby-install_install
|
12
|
-
|
13
12
|
Download from https://github.com/postmodern/ruby-install/archive/v0.7.0.tar.gz
|
14
|
-
cd /tmp/ruby-
|
15
|
-
[sudo] password for s3fxn:
|
13
|
+
cd /tmp/ruby-install_install/ruby-install-0.7.0 && sudo make install && rm -Rf /tmp/ruby-install_install
|
16
14
|
for dir in `find bin share -type d`; do mkdir -p /usr/local/$dir; done
|
17
15
|
for file in `find bin share -type f`; do cp $file /usr/local/$file; done
|
18
16
|
mkdir -p /usr/local/share/doc/ruby-install-0.7.0
|
data/exe/ruby-install_install
CHANGED
@@ -7,7 +7,8 @@ require 'zlib'
|
|
7
7
|
version = ARGV[0] || '0.7.0'
|
8
8
|
uri = "https://github.com/postmodern/ruby-install/archive/v#{version}.tar.gz"
|
9
9
|
src_prefix = '/tmp/ruby-install_install'
|
10
|
-
cmd = "cd #{src_prefix}/ruby-install-#{version} && sudo make install && rm -Rf #{src_prefix}"
|
10
|
+
cmd = "cd #{src_prefix}/ruby-install-#{version} && sudo make install && rm -Rf #{src_prefix};\\\n" +
|
11
|
+
"test -f /etc/redhat-release && (rpm --quiet -q bzip2 || sudo yum -y install bzip2)"
|
11
12
|
|
12
13
|
puts "Download from #{uri}"
|
13
14
|
Minitar.unpack(Zlib::GzipReader.new(open(uri,"rb")), src_prefix)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-install_install
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- s3fxn
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitar
|