You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If i first install the blow dvm
rvm_system_ruby {
'ree-1.8.7-2012.02':
ensure => 'present',
require => Class['rvm::system'],
default_use => true;
}
and then i want to install ruby-other-version, and if i exec again puppet command it will report the blow error:
puppet apply --debug --modulepath '/tmp/vagrant-puppet-1/modules-0' --manifestdir /tmp/vagrant-puppet-1/manifests --detailed-exitcodes /tmp/vagrant-puppet-1/manifests/hotspot-precise64.pp || [ $? -eq 2 ]
Stdout from the command:
Stderr from the command:
stdin: is not a tty
/opt/vagrant_ruby/lib/ruby/site_ruby/1.8/rubygems.rb:900:in report_activate_error': Could not find RubyGem puppet (>= 0) (Gem::LoadError) from /opt/vagrant_ruby/lib/ruby/site_ruby/1.8/rubygems.rb:248:inactivate'
from /opt/vagrant_ruby/lib/ruby/site_ruby/1.8/rubygems.rb:1276:in `gem'
from /opt/vagrant_ruby/bin/puppet:18
The root cause is the current $PATH already have the ree-1.8.7 execution env, so its ruby version will be conflict with puppet ruby version.
The text was updated successfully, but these errors were encountered:
If i first install the blow dvm
rvm_system_ruby {
'ree-1.8.7-2012.02':
ensure => 'present',
require => Class['rvm::system'],
default_use => true;
}
and then i want to install ruby-other-version, and if i exec again puppet command it will report the blow error:
puppet apply --debug --modulepath '/tmp/vagrant-puppet-1/modules-0' --manifestdir /tmp/vagrant-puppet-1/manifests --detailed-exitcodes /tmp/vagrant-puppet-1/manifests/hotspot-precise64.pp || [ $? -eq 2 ]
Stdout from the command:
Stderr from the command:
stdin: is not a tty
/opt/vagrant_ruby/lib/ruby/site_ruby/1.8/rubygems.rb:900:in
report_activate_error': Could not find RubyGem puppet (>= 0) (Gem::LoadError) from /opt/vagrant_ruby/lib/ruby/site_ruby/1.8/rubygems.rb:248:in
activate'from /opt/vagrant_ruby/lib/ruby/site_ruby/1.8/rubygems.rb:1276:in `gem'
from /opt/vagrant_ruby/bin/puppet:18
The root cause is the current $PATH already have the ree-1.8.7 execution env, so its ruby version will be conflict with puppet ruby version.
The text was updated successfully, but these errors were encountered: