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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7ecf7891844031416b232094852fd7bd08aa582e81bd80f45792c6afa4f02bda
4
- data.tar.gz: 28fc8baf1ddf45a86336aa3fa2fabc6870d0bef6a4c2a93f47b6909e9f4a0a51
3
+ metadata.gz: fe6b13ced2a7bb863717829da6f83b1fe63485ba623040526805956bced7c3bd
4
+ data.tar.gz: f323feff809e09a2234eebc83f3a4448295c225caad834a799174b441587d542
5
5
  SHA512:
6
- metadata.gz: 1cfddb5fe7b03502a89b4c0075d316846fe4b641d031faf345097b656fbdc7f0a5dc76983eeb7cfc8bf1a83468d37132e7590988def69215e3696fd69930d579
7
- data.tar.gz: 16daccfd0e4d7ce5a2e3f5114d8def7c0b0c8f7e60703cd7aded3186978a55f1af5a77f52d6245e6c67cf1221d033895963578291c2f336158d38715ebc746f0
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-doctor returned a non zero exit status.'.yellow
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:'
@@ -1,3 +1,3 @@
1
1
  module BinInstall
2
- VERSION = '0.0.21'.freeze
2
+ VERSION = '0.0.22'.freeze
3
3
  end
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bin_install
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.21
4
+ version: 0.0.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Singer