Skip to content
New issue

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

Install fix #237

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions manifests/setup.pp
Original file line number Diff line number Diff line change
Expand Up @@ -96,17 +96,7 @@
rbenv::install { $git_user:
group => $git_group,
home => $git_home,
}

# By default, puppet-rbenv sets ~/.profile to load rbenv, which is
# read when bash is invoked as an interactive login shell, but we
# also need ~/.bashrc to load rbenv (which is read by interactive
# but non-login shells). This works, but may not be the best
# solution, please see issue #114 if you have a better solution.
file { "${git_home}/.bashrc":
ensure => link,
target => "${git_home}/.profile",
require => Rbenv::Install[$git_user],
rc => ['.bashrc','.profile'],
}

rbenv::compile { 'gitlab/ruby':
Expand Down