bin_install 0.0.28 → 0.0.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3b928fdb5ebfc541304bba6a6717a179342364cb419888372fdfd612c298510e
4
- data.tar.gz: 9e4681b16858d25a1c29f9470f6aee7d8762056f530892ec1a12c2a3ce96e57a
3
+ metadata.gz: e7513216df7e247cc2f193cd5a7523842478e7f171b9eb82b5fbf0052c41e610
4
+ data.tar.gz: 4ff7d22de127229147d931bd2eb079be7640fe510748f9e2b6aec2ac175a62e7
5
5
  SHA512:
6
- metadata.gz: a0e45d363f289c641f15b7a405ae8be21dd03f4dec54b96e4f4259b8233dece771a2d51383c5c954e9138ae536932efddc0d65f62f8ffb16c1a768d0dc6b694f
7
- data.tar.gz: '089a636e7a793327e23b60eb06516a2b94b5ed004f8624eeddd86112d8896176543a824761c0d91d508ff93695145afcc440d742a665f37bc3baca24cf123d7b'
6
+ metadata.gz: 77a35858556fdc654a22cf5e9928c0c90e88c2166473bb2f68fd94236d1e06ac30c342372813fb2b67e95efd6b395902397842c1e09fcd17ab2a236b31d7e73c
7
+ data.tar.gz: 405c2e99e8ba9882d6856159fcbcebf88abbbab6d2bb97dbfa0df3df43e77fe20bc1cbf0bb794f7193ce5bcdf2e313e9481b36533f52de1e96bc7dae5d376975
@@ -26,7 +26,7 @@ module BinInstall
26
26
  puts "Ruby #{version} is already installed. Skipping Ruby #{version} install.".blue
27
27
  else
28
28
  system("rvm install #{version}")
29
- system("rvm use #{version}")
29
+ system("zsh --login -c rvm use #{version}")
30
30
  end
31
31
  else
32
32
  puts 'Unknown Ruby version. Create .ruby-version file.'
@@ -41,7 +41,7 @@ module BinInstall
41
41
  puts "Ruby #{version} is already installed. Skipping Ruby #{version} install.".blue
42
42
  else
43
43
  BinInstall.system!("rvm install #{version}")
44
- BinInstall.system!("rvm use #{version}")
44
+ BinInstall.system!("zsh --login -c rvm use #{version}")
45
45
  end
46
46
  else
47
47
  abort('Unknown Ruby version. Create .ruby-version file.'.red)
@@ -1,3 +1,3 @@
1
1
  module BinInstall
2
- VERSION = '0.0.28'.freeze
2
+ VERSION = '0.0.29'.freeze
3
3
  end
data/lib/bin_install.rb CHANGED
@@ -20,6 +20,8 @@ require 'bin_install/zsh'
20
20
  module BinInstall
21
21
  def self.start
22
22
  puts "Starting bin_install #{VERSION}...".white
23
+ puts 'Your current PATH is set to: '
24
+ system('echo $PATH')
23
25
  end
24
26
 
25
27
  def self.finish
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.28
4
+ version: 0.0.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Singer