Skip to content
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