bin_install 0.0.21 → 0.0.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bin_install/ruby/rbenv.rb +2 -2
- data/lib/bin_install/version.rb +1 -1
- data/lib/bin_install.rb +8 -0
- 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: fe6b13ced2a7bb863717829da6f83b1fe63485ba623040526805956bced7c3bd
|
4
|
+
data.tar.gz: f323feff809e09a2234eebc83f3a4448295c225caad834a799174b441587d542
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 805a26468facc491fcabf9cc7f9bc9e306b4ef253f1b7557968b61d64d14edc90a102a50d9788161e699c334f60536dcf6ef0ff191ab680b1c3aa59d785b3668
|
7
|
+
data.tar.gz: 5350e52010b5485af52e60a39b822428a9daeaf6615cc21b4ae0e2ee5b733950150b3920f143dd4cb326b3f38dbb2d4eeb4a9be917d8bbe70efede1bd7486fe2
|
@@ -20,6 +20,7 @@ module BinInstall
|
|
20
20
|
Shell.append_to_profiles!(%{eval "$(rbenv init -)"\n})
|
21
21
|
require_shims!
|
22
22
|
install_ruby!
|
23
|
+
require_shims!
|
23
24
|
doctor!
|
24
25
|
end
|
25
26
|
|
@@ -64,8 +65,7 @@ module BinInstall
|
|
64
65
|
end
|
65
66
|
|
66
67
|
def self.abort_install!
|
67
|
-
puts 'Warning rbenv
|
68
|
-
puts 'Correct the error above before continuing.'.yellow
|
68
|
+
puts 'Warning rbenv shims are not loaded.'.yellow
|
69
69
|
puts 'Try closing this window and restarting your shell session.'.yellow
|
70
70
|
puts "\n"
|
71
71
|
puts 'Rerun the installer with:'
|
data/lib/bin_install/version.rb
CHANGED
data/lib/bin_install.rb
CHANGED
@@ -18,6 +18,14 @@ require 'bin_install/yarn'
|
|
18
18
|
require 'bin_install/zsh'
|
19
19
|
|
20
20
|
module BinInstall
|
21
|
+
def self.start
|
22
|
+
puts "Starting bin_install #{VERSION}...".white
|
23
|
+
end
|
24
|
+
|
25
|
+
def self.finish
|
26
|
+
puts "Finished bin_install #{VERSION}.".green
|
27
|
+
end
|
28
|
+
|
21
29
|
def self.system!(*args)
|
22
30
|
system(*args) || abort("Command #{args} failed!".red)
|
23
31
|
end
|