multi_ruby_runner 1.0.1 → 1.0.2

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
  SHA1:
3
- metadata.gz: 5c7ae88ea7e74814b50a117afb6f0e9d59989544
4
- data.tar.gz: 3fbde0fa5cf8d984166f428a33ceb95b2de2355e
3
+ metadata.gz: 06e774088593a5de42c26d7f5bbe79ed84abc733
4
+ data.tar.gz: 12eda98207469cf116b07a995642daa0c8d30895
5
5
  SHA512:
6
- metadata.gz: f0557fcf48a607f2d3fca67e9ae7faa659d0e0495c20cd18825849b5328a875f74967b1662515032c3156d33fc18c983f8f6ab5d1150eab1e23989b975442623
7
- data.tar.gz: 84d428a261c85b818ca34e46b71e72081a70a767ee6a325d8ce5ed0b7626edd32fb2b8875753eb8a488ad9f64ee919f03984219ed3264a7ba85bde8821d5ef3f
6
+ metadata.gz: 085ffae8976d313d0162ac727337e13bf65fe8d1d02a73835772862e7370358cbdb44f5bf5d65f4ccd188ced3a2721aa6334c9daa1f46fd72937c32572e15ca6
7
+ data.tar.gz: c0ef1590d62d9962940a7fac1c231575d2944234e6715dbe691110498ffe3ace37f457a9dbcf3b48cb9075495e620ee977ecddcdb74b13bfced231b052426a09
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 1.0.2
2
+
3
+ * Fixed rbenv implementation
4
+
1
5
  ### 1.0.1
2
6
 
3
7
  * Added rbenv support
@@ -1,3 +1,3 @@
1
1
  class MultiRubyRunner
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
@@ -15,6 +15,7 @@ class MultiRubyRunner
15
15
  def compute_process_args(command_string, directory, options)
16
16
  shell_command_string = [
17
17
  "cd #{ directory }", # cd into the directory containing .ruby-version file
18
+ %(eval "$(rbenv init -)"), # let rbenv update the environment (particularly PATH)
18
19
  command_string, # execute command
19
20
  ].join('; ')
20
21
  # For rbenv we just have to reset RBENV_VERSION and override RBENV_DIR
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multi_ruby_runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jo Hund