ruby-install_install 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -1
- 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: 4340f814ac50294c8e5a21f5df457c458a34f8c057703cdbb5e8dbc25f4c2065
|
4
|
+
data.tar.gz: 91fcd301ca6fe903dd79490819a27eea0c1a75d8f8d98dbd122f21af204a770f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87de1cbcf3477a6d5f472aeb0357ae5241ee177026d4a143b5c2d25c22918769ae73305a2b058414e451c3c87ab2948d70d875e9f90874bc0027c328980a5470
|
7
|
+
data.tar.gz: 0c88403a54581eb2ca81677e78de0cfd56ffe472ffd9c0417b37de5fcb195c1095626bc857da4ca941d925be5dd645bb340d8c0d1711b3e5e433a29e6bfde400
|
data/README.md
CHANGED
@@ -10,7 +10,8 @@ ruby-install installer
|
|
10
10
|
```
|
11
11
|
$ ruby-install_install
|
12
12
|
Download from https://github.com/postmodern/ruby-install/archive/v0.7.0.tar.gz
|
13
|
-
cd /tmp/ruby-install_install/ruby-install-0.7.0 && sudo make install && rm -Rf /tmp/ruby-install_install
|
13
|
+
cd /tmp/ruby-install_install/ruby-install-0.7.0 && sudo make install && rm -Rf /tmp/ruby-install_install;\
|
14
|
+
test -f /etc/redhat-release && (rpm --quiet -q bzip2 || sudo yum -y install bzip2)
|
14
15
|
for dir in `find bin share -type d`; do mkdir -p /usr/local/$dir; done
|
15
16
|
for file in `find bin share -type f`; do cp $file /usr/local/$file; done
|
16
17
|
mkdir -p /usr/local/share/doc/ruby-install-0.7.0
|
@@ -19,6 +20,10 @@ cp -r *.md *.txt /usr/local/share/doc/ruby-install-0.7.0/
|
|
19
20
|
$ ruby-install -V
|
20
21
|
ruby-install: 0.7.0
|
21
22
|
```
|
23
|
+
## Example
|
24
|
+
|
25
|
+
[centos7_ruby2.5.1.sh](https://gist.github.com/s3fxn/6eaa2d86103f1f336d4691cee0230403)
|
26
|
+
|
22
27
|
|
23
28
|
## Contributing
|
24
29
|
|
data/exe/ruby-install_install
CHANGED
@@ -4,7 +4,8 @@ require 'open-uri'
|
|
4
4
|
require 'minitar'
|
5
5
|
require 'zlib'
|
6
6
|
|
7
|
-
|
7
|
+
default = open('https://github.com/postmodern/ruby-install/releases').read.match(/v(\d+\.\d+\.\d+)/).to_a[1].to_s
|
8
|
+
version = ARGV[0] || default
|
8
9
|
uri = "https://github.com/postmodern/ruby-install/archive/v#{version}.tar.gz"
|
9
10
|
src_prefix = '/tmp/ruby-install_install'
|
10
11
|
cmd = "cd #{src_prefix}/ruby-install-#{version} && sudo make install && rm -Rf #{src_prefix};\\\n" +
|
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.4
|
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-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitar
|