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
I'm invoking puppet via puppet apply from a project directory that has a .ruby-version to request a specific ruby version of rvm or rbenv. However, when the rvm_system_ruby resource calls "rvm list strings" in that context, the output is:
ruby-2.0.0-p481 is not installed.
To install do: 'rvm install ruby-2.0.0-p481'
I'm guessing that puppet is calling "cd" or doing something else that triggers RVM to handle the .ruby-version as part of the shell command and that rvmcmd("list", "strings") runs in lib/puppet/provider/rvm_system_ruby/rvm_system_ruby.rb's "exists?" method.
Perhaps the ruby version regex we're looking for should be anchored to then beginning and end of line? Or at least the line should be excluded if it contains spaces? Or just if it includes "install"?
In the mean time, I'll call "puppet apply" from another directory...
The text was updated successfully, but these errors were encountered:
I'm invoking puppet via puppet apply from a project directory that has a .ruby-version to request a specific ruby version of rvm or rbenv. However, when the rvm_system_ruby resource calls "rvm list strings" in that context, the output is:
I'm guessing that puppet is calling "cd" or doing something else that triggers RVM to handle the .ruby-version as part of the shell command and that rvmcmd("list", "strings") runs in lib/puppet/provider/rvm_system_ruby/rvm_system_ruby.rb's "exists?" method.
Perhaps the ruby version regex we're looking for should be anchored to then beginning and end of line? Or at least the line should be excluded if it contains spaces? Or just if it includes "install"?
In the mean time, I'll call "puppet apply" from another directory...
The text was updated successfully, but these errors were encountered: