We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have this code to install a gem I copied in /tmp/mailcatcher.gem
rvm_gem { 'mailcatcher': name => 'mailcatcher', source => '/tmp/mailcatcher.gem', ruby_version => 'ruby-1.9.3-p547', ensure => latest, require => [ File['/tmp/mailcatcher.gem'], Rvm_system_ruby['ruby-1.9.3-p547'] ], }
How can i run the installed gem script afterwards?
If i do this, it fails with "could not find command mailcatcher":
exec { 'start mailcatcher': command => "mailcatcher --http-ip=0.0.0.0", require => Rvm_gem['mailcatcher'], }
I need something to refresh the env variables, or something to get the new installed gem path.
EDIT: I could hardcode the new path, like /usr/local/rvm/ruby-1.9.3-p547/bin/ but there must be a better way
/usr/local/rvm/ruby-1.9.3-p547/bin/
The text was updated successfully, but these errors were encountered:
https://groups.google.com/forum/#!topic/puppet-users/TtLbPkvcu2A
Sorry, something went wrong.
No branches or pull requests
I have this code to install a gem I copied in /tmp/mailcatcher.gem
How can i run the installed gem script afterwards?
If i do this, it fails with "could not find command mailcatcher":
I need something to refresh the env variables, or something to get the new installed gem path.
EDIT: I could hardcode the new path, like
/usr/local/rvm/ruby-1.9.3-p547/bin/
but there must be a better wayThe text was updated successfully, but these errors were encountered: