Skip to content

Commit

Permalink
updating git repo where rbenv is hosted
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryce Larson committed Aug 8, 2019
1 parent 57fd04b commit bea10eb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/man/salt.7
Original file line number Diff line number Diff line change
Expand Up @@ -390989,7 +390989,7 @@ Rbenv will be installed automatically the first time it is needed and can be
updated later. This module will \fInot\fP automatically install packages which rbenv
will need to compile the versions of ruby. If your version of ruby fails to
install, refer to the ruby\-build documentation to verify you are not missing any
dependencies: \fI\%https://github.com/sstephenson/ruby\-build/wiki\fP
dependencies: \fI\%https://github.com/rbenv/ruby\-build/wiki\fP
.sp
If rbenv is run as the root user then it will be installed to /usr/local/rbenv,
otherwise it will be installed to the users ~/.rbenv directory. To make
Expand Down
4 changes: 2 additions & 2 deletions salt/modules/rbenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def _install_rbenv(path, runas=None):
if os.path.isdir(path):
return True

cmd = ['git', 'clone', 'https://github.com/sstephenson/rbenv.git', path]
cmd = ['git', 'clone', 'https://github.com/rbenv/rbenv.git', path]
return __salt__['cmd.retcode'](cmd, runas=runas, python_shell=False) == 0


Expand All @@ -131,7 +131,7 @@ def _install_ruby_build(path, runas=None):
return True

cmd = ['git', 'clone',
'https://github.com/sstephenson/ruby-build.git', path]
'https://github.com/rbenv/ruby-build.git', path]
return __salt__['cmd.retcode'](cmd, runas=runas, python_shell=False) == 0


Expand Down
2 changes: 1 addition & 1 deletion salt/states/rbenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
updated later. This module will *not* automatically install packages which rbenv
will need to compile the versions of ruby. If your version of ruby fails to
install, refer to the ruby-build documentation to verify you are not missing any
dependencies: https://github.com/sstephenson/ruby-build/wiki
dependencies: https://github.com/rbenv/ruby-build/wiki
If rbenv is run as the root user then it will be installed to /usr/local/rbenv,
otherwise it will be installed to the users ~/.rbenv directory. To make
Expand Down

0 comments on commit bea10eb

Please sign in to comment.