Mislav Marohnić
592fe6a087
help: have --usage
always print a usage line
2023-07-11 18:54:38 +02:00
Hiroshi SHIBATA
af9201ea1e
Merge pull request #1505 from notEthan/comment-link-fix
...
Fix a dead link in a comment
2023-05-13 16:45:46 +09:00
Ethan
56512aee3b
fix dead link in comment
2023-05-13 00:14:21 -07:00
Mislav Marohnić
a632465cf4
Merge pull request #1497 from jamacku/patch-1
...
ci: trigger differential-shellcheck workflow on push
2023-03-31 11:19:33 +02:00
Jan Macku
54744db05e
ci: trigger differential-shellcheck workflow on push
...
Fixes : redhat-plumbers-in-action/differential-shellcheck#215
2023-03-31 10:14:01 +02:00
Richie Thomas
dd79c11f6c
Add spec to cover inclusion of etc/ sub-folders in plugins test ( #1492 )
2023-03-27 15:51:59 +02:00
Mislav Marohnić
0704e65781
Fix resolving rbenv
symlink to its final location ( #1482 )
...
1. On systems with `readlink -f`, use that to canonicalize the path to libexec directory;
2. Otherwise, resolve symlinks recursively rather than just once.
2023-02-15 17:09:20 +01:00
Hiroshi SHIBATA
8644fb5519
Merge pull request #1478 from rbenv/dependabot/github_actions/redhat-plumbers-in-action/differential-shellcheck-4
...
Bump redhat-plumbers-in-action/differential-shellcheck from 3 to 4
2023-02-08 09:38:12 +09:00
Hiroshi SHIBATA
41e242857e
Merge pull request #1477 from rbenv/dependabot/github_actions/mislav/bump-homebrew-formula-action-2.2
...
Bump mislav/bump-homebrew-formula-action from 1.4 to 2.2
2023-02-08 09:36:21 +09:00
dependabot[bot]
6f21f76965
Bump redhat-plumbers-in-action/differential-shellcheck from 3 to 4
...
Bumps [redhat-plumbers-in-action/differential-shellcheck](https://github.com/redhat-plumbers-in-action/differential-shellcheck ) from 3 to 4.
- [Release notes](https://github.com/redhat-plumbers-in-action/differential-shellcheck/releases )
- [Changelog](https://github.com/redhat-plumbers-in-action/differential-shellcheck/blob/main/docs/CHANGELOG.md )
- [Commits](https://github.com/redhat-plumbers-in-action/differential-shellcheck/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: redhat-plumbers-in-action/differential-shellcheck
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 00:34:53 +00:00
dependabot[bot]
8be1b9bd0e
Bump mislav/bump-homebrew-formula-action from 1.4 to 2.2
...
Bumps [mislav/bump-homebrew-formula-action](https://github.com/mislav/bump-homebrew-formula-action ) from 1.4 to 2.2.
- [Release notes](https://github.com/mislav/bump-homebrew-formula-action/releases )
- [Commits](https://github.com/mislav/bump-homebrew-formula-action/compare/v1.4...v2.2 )
---
updated-dependencies:
- dependency-name: mislav/bump-homebrew-formula-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 00:34:48 +00:00
Hiroshi SHIBATA
7eafc5fe02
Merge pull request #1476 from rbenv/dependabot
...
Added dependabot update for GitHub Actions
2023-02-08 09:20:43 +09:00
Hiroshi SHIBATA
9fe4cb8e1e
Added dependabot update for GitHub Actions
2023-02-08 09:17:02 +09:00
Hiroshi SHIBATA
61747c06d4
Merge pull request #1468 from ahangarha/patch-1
...
Improve disabling instruction
2022-12-19 07:42:58 +09:00
Mostafa Ahangarha
7509eafdd0
Improve disabling instruction
...
Though this is a minor change, I think it is good to have it. It is better to commend a line in config files to disable something than to remove it.
2022-12-16 17:49:24 +03:30
Hiroshi SHIBATA
593f820a7d
Merge pull request #1465 from jamacku/patch-1
...
ci(lint): pin `differential-shellcheck` to `v3` tag
2022-12-10 05:29:43 +09:00
Jan Macku
5c12600625
ci(lint): pin differential-shellcheck
to v3
tag
2022-12-09 13:38:54 +01:00
Mislav Marohnić
6717c62dc1
Merge pull request #1461 from ydah/update_actions-checkput
...
Update actions/checkout version to v3
2022-11-22 17:33:14 +01:00
ydah
5f9c0ba613
Update actions/checkout version to v3
...
The version 3.x appears to be due to the following:
- https://github.com/actions/checkout/pull/689
There have been no breaking changes, and we seem to have no problem keeping up with the latest version.
2022-11-22 23:48:26 +09:00
Mislav Marohnić
52acbdf83f
Merge pull request #1456 from richiethomas/master
...
`rbenv version`- test coverage for preferring local over global version file
2022-10-17 13:47:27 +02:00
Richie Thomas
85f304ef3b
Prefer local over global version file
2022-10-15 11:11:48 -05:00
Mislav Marohnić
41580b69db
Merge pull request #1448 from rbenv/command-to-type-P
...
Ignore shell builtins and functions when looking up commands in PATH
2022-10-09 14:49:32 +02:00
Mislav Marohnić
3e5347be1e
Make the usage syntax for arbitrary args consistent ( #1447 )
2022-10-09 14:49:15 +02:00
Mislav Marohnić
172a79e993
Merge pull request #1449 from rbenv/libexec-vs-bin
...
Avoid assuming rbenv original project layout
2022-10-09 14:48:53 +02:00
Mislav Marohnić
8275e15cb0
Use read -a
to split output into an array ( #1450 )
2022-10-09 14:48:13 +02:00
Mislav Marohnić
90c0357682
Merge pull request #1453 from rbenv/update-manpage
...
Consistent syntax in man page
2022-10-09 14:47:57 +02:00
Mislav Marohnić
30aaf4edba
Consistent syntax in man page
2022-10-09 13:57:07 +02:00
Mislav Marohnić
d97713d1b5
Avoid assuming rbenv original project layout
...
Someone packaging rbenv might choose to place the `bin` and `libexec` directories separately.
2022-10-07 16:38:28 +02:00
Mislav Marohnić
43e30ef815
Ignore shell builtins and functions when looking up commands in PATH
...
Weirdly, `command -v true` returns `true` instead of `/usr/bin/true`.
2022-10-07 16:34:38 +02:00
Mislav Marohnić
6b1cc34610
Merge pull request #1445 from rbenv/allow-userinstall-warning
...
Restore Rubygems warning for user-installed gems
2022-10-07 13:17:35 +02:00
Mislav Marohnić
d2d3012f17
Restore Rubygems warning for user-installed gems
2022-10-07 13:02:18 +02:00
Mislav Marohnić
410e05bf8c
Revert support for user-installed gems ( #1443 )
2022-10-07 12:56:54 +02:00
Mislav Marohnić
a6cf6aeadb
Merge pull request #1440 from rbenv/type-P
...
Test for executables but not functions
2022-09-30 18:30:08 +02:00
Mislav Marohnić
8406a2bc7f
Test for executables but not functions
2022-09-30 12:29:49 +02:00
Mislav Marohnić
ed1a3a5545
Switch back to resolving symlinks for rbenv
executable ( #1439 )
...
Considerations:
- `./libexec/rbenv` executable is the entrypoint to the program;
- BASH_SOURCE might be the path to a symlink that has activated `./libexec/rbenv`;
- We must resolve the symlink to learn where rbenv's libexec directory is;
- It's not guaranteed that rbenv commands will always remain directly under their own "libexec" directory, since a package maintainer can change that, e.g. rbenv commands are sometimes placed into `/usr/libexec/rbenv/*`;
- Resolving symlinks might fail and in that case we just assume rbenv project layout.
2022-09-29 15:27:17 +02:00
Mislav Marohnić
22ee5d4175
Add man page ( #1438 )
...
`rbenv help` without arguments now runs `man rbenv` on systems where man is present.
2022-09-27 02:17:50 +02:00
Mislav Marohnić
7c7c4dc11c
Delete CNAME
2022-09-26 16:15:55 +02:00
Mislav Marohnić
45ae8d2ebc
Create CNAME
2022-09-26 16:15:21 +02:00
Mislav Marohnić
396e65a461
Add note about troubleshooting BUILD FAILED
2022-09-26 03:14:36 +02:00
Mislav Marohnić
959968c46d
Support GEM_HOME, add limited support for user-installed gems ( #1436 )
...
The rehash process will now discover executables in additional locations:
- `~/.gem/ruby/<version>/bin/*`
- `$GEM_HOME/bin`
The `rbenv which` (and thus `rbenv exec`) command will also search these locations when looking up a command. This enables shims to dispatch calls to executables added by `gem install --user-install`.
Note that this support is limited:
- It will only work with C Ruby, as it's difficult to guess the `~/.gem/<engine>/<version>` directory for other Rubies without actually loading Ruby;
- It will only work for RBENV_VERSION values in the format `X.Y.Z` and not "system".
2022-09-26 02:57:15 +02:00
Mislav Marohnić
009ef3a2db
Undo collapsable installation instructions
...
The resulting UI seemed simpler but was harder to interact with.
2022-09-25 23:26:02 +02:00
Mislav Marohnić
acdd8a95bd
Fix wiki link, add note about plugins
2022-09-25 23:24:05 +02:00
Mislav Marohnić
98412dba80
Merge pull request #1434 from rbenv/init-path
...
Use absolute path in `rbenv init` instructions if needed
2022-09-25 22:55:44 +02:00
Mislav Marohnić
6426f852d0
Use absolute path in rbenv init
instructions if needed
2022-09-25 22:32:46 +02:00
Mislav Marohnić
33f8621ec8
Massive README overhaul ( #1433 )
...
rbenv is now the most popular Ruby version manager, so we don't need to
sell it so hard. Instead, help the reader find installation and usage
instructions more easily.
The installation instructions are now simpler and pointing out that
ruby-build needs a separate install is now done in the "Installing Ruby
versions" section.
Finally, link to a wiki doc about potential downsides of rbenv along
with the comparison of different version manager tools.
2022-09-25 00:08:32 +02:00
Mislav Marohnić
9572edf4bb
Init script automatically adds rbenv to PATH if necessary ( #1432 )
2022-09-24 23:59:13 +02:00
Mislav Marohnić
117a381575
Simplify resolving symlinks, remove native extension ( #1428 )
2022-09-22 11:34:02 +02:00
Jan Macku
56a440e4a7
Add Shell linter - Differential-ShellCheck ( #1419 )
...
Signed-off-by: Jan Macku <jamacku@redhat.com>
Co-authored-by: Mislav Marohnić <git@mislav.net>
2022-09-18 23:57:43 +02:00
Richie Thomas
a8ecfc743e
Make zsh tab completion more resilient against user's shell configuration ( #1422 )
...
Ensure a zsh user's prior shell options don't interfere with indexing into an array of arguments
2022-09-15 18:59:26 +02:00
Hiroshi SHIBATA
c4395e5820
Merge pull request #1418 from uraitakahito/patch-0
...
Fix link to Pow because the server is down
2022-07-16 08:14:44 +09:00