Commit 8755c5f1 authored by Marc Cornellà's avatar Marc Cornellà
Browse files

rbenv: fix current_gemset



Fixes #8925
Co-authored-by: default avatarJosh Goodall <inopinatus@inopinatus.org>
parent 95218372
...@@ -34,7 +34,7 @@ if [[ $FOUND_RBENV -eq 1 ]]; then ...@@ -34,7 +34,7 @@ if [[ $FOUND_RBENV -eq 1 ]]; then
} }
function current_gemset() { function current_gemset() {
echo "$(rbenv gemset active 2>/dev/null | sed -e ":a" -e '$ s/\n/+/gp;N;b a' | head -n1)" echo "$(rbenv gemset active 2>/dev/null)" | tr ' ' '+'
} }
function gems() { function gems() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment