Skip to content

Commit 4bc15be

Browse files
makrobinmoritz-makandra
authored andcommitted
chore: use rbenv from rbenv GitHub Organization
1 parent b7a6548 commit 4bc15be

7 files changed

+10
-10
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
## About
77

88
This project provides powerful manifests for the installation of
9-
[rbenv](https://github.com/sstephenson/rbenv) (Ruby Version Management).
9+
[rbenv](https://github.com/rbenv/rbenv) (Ruby Version Management).
1010
In a nutshell, it supports the following conveniences:
1111

1212
* Defined resources for the installation of rbenvs for one or more users, shared or standalone.
1313
* Resources for the compilation of ruby interpreters (one or many, custom or predefined ruby build definitions), under specific rbenvs, users.
1414
* Tools for the installation of arbitrary gems under specific rbenvs.
15-
* Infrastructure to support rbenv plugins. We have already included [ruby-build](https://github.com/sstephenson/ruby-build) and [rbenv-vars](https://github.com/sstephenson/rbenv-vars) plugins.
15+
* Infrastructure to support rbenv plugins. We have already included [ruby-build](https://github.com/rbenv/ruby-build) and [rbenv-vars](https://github.com/rbenv/rbenv-vars) plugins.
1616
* Resource for handling `bundler`.
1717

1818
## Rbenv installation
@@ -128,7 +128,7 @@ rbenv::plugin { "my-plugin":
128128
}
129129
```
130130

131-
There's also a built-in resource to add [rbenv-vars](https://github.com/sstephenson/rbenv-vars)
131+
There's also a built-in resource to add [rbenv-vars](https://github.com/rbenv/rbenv-vars)
132132
for a user:
133133

134134
```
@@ -138,7 +138,7 @@ rbenv::plugin::rbenvvars { "someuser":
138138
}
139139
```
140140

141-
*NOTICE: `rbenv::install` automatically requires [ruby-build](https://github.com/sstephenson/ruby-build)
141+
*NOTICE: `rbenv::install` automatically requires [ruby-build](https://github.com/rbenv/ruby-build)
142142
to compile rubies, if you want to use a different repository, you can specify
143143
the resource on a separate manifest:*
144144

manifests/install.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
}
1818

1919
exec { "rbenv::checkout ${user}":
20-
command => "git clone https://github.com/sstephenson/rbenv.git ${root_path}",
20+
command => "git clone https://github.com/rbenv/rbenv.git ${root_path}",
2121
user => $user,
2222
group => $group,
2323
creates => $root_path,

manifests/plugin/rbenvvars.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
define rbenv::plugin::rbenvvars (
22
$user = $title,
3-
$source = 'https://github.com/sstephenson/rbenv-vars.git',
3+
$source = 'https://github.com/rbenv/rbenv-vars.git',
44
$group = $user,
55
$home = '',
66
$root = ''

manifests/plugin/rubybuild.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
define rbenv::plugin::rubybuild (
22
$user = $title,
3-
$source = 'https://github.com/sstephenson/ruby-build.git',
3+
$source = 'https://github.com/rbenv/ruby-build.git',
44
$group = $user,
55
$home = '',
66
$root = ''

spec/defines/rbenv__install_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
context 'install rbenv' do
1212
it "clones rbenv from the official repository" do
1313
should contain_exec("rbenv::checkout #{user}").
14-
with_command("git clone https://github.com/sstephenson/rbenv.git /home/#{user}/.rbenv")
14+
with_command("git clone https://github.com/rbenv/rbenv.git /home/#{user}/.rbenv")
1515
end
1616

1717
it "appends in a rc file, a command to include .rbenv/bin folder in PATH env variable" do

spec/defines/rbenv__plugin__rbenvvars_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
it {
2020
should contain_rbenv__plugin("rbenv::plugin::rbenvvars::#{user}").with(
2121
:plugin_name => 'rbenv-vars',
22-
:source => 'https://github.com/sstephenson/rbenv-vars.git',
22+
:source => 'https://github.com/rbenv/rbenv-vars.git',
2323
:user => user
2424
)
2525
}

spec/defines/rbenv__plugin__rubybuild_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
it {
2020
should contain_rbenv__plugin("rbenv::plugin::rubybuild::#{user}").with(
2121
:plugin_name => 'ruby-build',
22-
:source => 'https://github.com/sstephenson/ruby-build.git',
22+
:source => 'https://github.com/rbenv/ruby-build.git',
2323
:user => user
2424
)
2525
}

0 commit comments

Comments
 (0)