rconf 0.6.31 → 0.6.32

Sign up to get free protection for your applications and to get access to all the features.
data/bin/rconf CHANGED
@@ -120,7 +120,7 @@ where [options] are:
120
120
  rubies.each do |ruby|
121
121
  ruby =~ /(\s+| =>)([^ ]*)\s.*/
122
122
  ruby = Regexp.last_match(2)
123
- gemsets = Command.execute('rvm', ruby, 'gemset', 'list').output.split("\n")
123
+ gemsets = Command.execute('rvm', ruby, 'exec', 'rvm', 'gemset', 'list').output.split("\n")
124
124
  i = gemsets.index { |gs| gs =~ /^gemsets for #{ruby} / }
125
125
  gemsets = gemsets[i + 1..-1]
126
126
  gemsets.each do |gs|
@@ -63,19 +63,19 @@ module RightConf
63
63
  end
64
64
  if gemset
65
65
  report_check("Checking whether gemset #{gemset} exists")
66
- res = Command.execute('rvm', version, 'gemset', 'list')
66
+ res = Command.execute('rvm', version, 'exec', 'rvm', 'gemset', 'list')
67
67
  if res.output =~ /^(\s+|=> )#{gemset}$/
68
68
  report_success
69
69
  else
70
70
  report_failure
71
71
  report_check("Creating gemset #{gemset} for #{version}")
72
- Command.execute('rvm', version, 'gemset', 'create', gemset,
72
+ Command.execute('rvm', version, 'exec', 'rvm', 'gemset', 'create', gemset,
73
73
  :abort_on_failure => "Failed to create gemset '#{gemset}'")
74
74
  Command.execute_in_ruby('gem', 'install', 'rconf')
75
75
  report_success
76
76
  end
77
77
  report_check("Switching to gemset #{gemset}")
78
- Command.execute('rvm', version, 'gemset', 'use', gemset,
78
+ Command.execute_in_ruby('gemset', 'use', gemset,
79
79
  :abort_on_failure => "Failed to switch to gemset '#{gemset}'")
80
80
  report_success
81
81
  end
@@ -13,7 +13,7 @@ module RightConf
13
13
 
14
14
  MAJOR = 0
15
15
  MINOR = 6
16
- BUILD = 31
16
+ BUILD = 32
17
17
 
18
18
  VERSION = [MAJOR, MINOR, BUILD].map(&:to_s).join('.')
19
19
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rconf
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.6.31
5
+ version: 0.6.32
6
6
  platform: ruby
7
7
  authors:
8
8
  - Raphael Simon