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 +4 -4
- data/lib/bin_install/ruby/rvm.rb +2 -2
- data/lib/bin_install/version.rb +1 -1
- data/lib/bin_install.rb +2 -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: e7513216df7e247cc2f193cd5a7523842478e7f171b9eb82b5fbf0052c41e610
|
4
|
+
data.tar.gz: 4ff7d22de127229147d931bd2eb079be7640fe510748f9e2b6aec2ac175a62e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77a35858556fdc654a22cf5e9928c0c90e88c2166473bb2f68fd94236d1e06ac30c342372813fb2b67e95efd6b395902397842c1e09fcd17ab2a236b31d7e73c
|
7
|
+
data.tar.gz: 405c2e99e8ba9882d6856159fcbcebf88abbbab6d2bb97dbfa0df3df43e77fe20bc1cbf0bb794f7193ce5bcdf2e313e9481b36533f52de1e96bc7dae5d376975
|
data/lib/bin_install/ruby/rvm.rb
CHANGED
@@ -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)
|
data/lib/bin_install/version.rb
CHANGED
data/lib/bin_install.rb
CHANGED