Issue #23003 has been updated by Roberto Moral.
Running the command at the command lines works without issues:
root@dtest ❯ /app/interpreters/ruby/1.9.3/bin/gem install --source
http://test.net/gems/ fluent-logger
Successfully installed fluent-logger-0.4.6
1 gem installed
root@test ❯ echo $?
0
root@test ❯ gem --version
1.8.23
root@test ❯ puppet --version
3.3.1
root@test ❯ lsb_release -a
LSB Version:
:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 6.1 (Santiago)
Release: 6.1
Codename: Santiago
----------------------------------------
Bug #23003: couldn't find HOME environment -- expanding `~' when installing a
GEM from a custom repo
https://projects.puppetlabs.com/issues/23003#change-99221
* Author: Roberto Moral
* Status: Unreviewed
* Priority: Normal
* Assignee:
* Category: package
* Target version:
* Affected Puppet version: 3.3.1
* Keywords:
* Branch:
----------------------------------------
When trying to install a gem from an internal repo (not rubygems.org) I keep
getting this error although the gem installs
Error: Could not update: Execution of '/app/interpreters/ruby/1.9.3/bin/gem
install --source http://test.net/gems/ fluent-logger' returned 1: ERROR: While
executing gem ... (ArgumentError)
couldn't find HOME environment -- expanding `~'
Successfully installed fluent-logger-0.4.6
1 gem installed
Installing ri documentation for fluent-logger-0.4.6...
Error: /Stage[main]/Atlas/Package[fluent-logger]/ensure: change from
["0.4.6"] to 0.4.6 ruby failed: Could not update: Execution of
'/app/interpreters/ruby/1.9.3/bin/gem install --source http://test.net/gems/
fluent- logger' returned 1: ERROR: While executing gem ... (ArgumentError)
couldn't find HOME environment -- expanding `~'
Successfully installed fluent-logger-0.4.6
1 gem installed
Installing ri documentation for fluent-logger-0.4.6...
The rest of the manifest fails because the dependency failed.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.