-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix install when user home directory contains @ symbol #4832
base: master
Are you sure you want to change the base?
Conversation
…separator' rvm_gemset_separator defines the string used to separate the the ruby and the gemset. Traditionally, '@' is used to separate the two. Throughout the code 'rvm_gemset_separator' is used, however in parts of the code '@' is used instead of the variable. Testing Notes rvm-test/fast/* These tests are currently failing on travisci as well as my local machine. ##### Processed commands 622 of 622, success tests 432 of 434, failure tests 2 of 434. $ rvm 2.3.4@global,2.3.4 do rvm gemdir # failed: match = /2.3.4@global$/ $ bundle config # failed: status = 127 # was 0 rvm-test/long/named_ruby_and_gemsets_comment_test.sh ##### Processed commands 21 of 21, success tests 27 of 27. rvm-test/long/truffleruby_comment_test.sh ##### Processed commands 13 of 13, success tests 21 of 21. rvm-test-rvm1/* ##### Processed commands 378 of 378, success tests 206 of 207, failure tests 1 of 207. $ PATH="$( echo $PATH | sed 's/^.*rvm[^:]*://' )" The rvm-test-rvm1/load_ruby-version_comment_test.sh failed on my local master branch as well.
* Fixes a few more instances of rvm_gemset_separator not being used where '@' is used. * one simple unit test was added * the fast/* suite was copied then modified to execute all the fast tests with a custom gemset separator * The only separator tested is '@@'
* Unintentional deletion.
Your PR seems to break |
It will be a while. I am in a city that is locked down and my main computer
is in another city. I'll see what I can do with the resources I have here.
…On Wed, Mar 25, 2020 at 4:06 PM Piotr Kuczynski ***@***.***> wrote:
Your PR seems to break rvm-test included as a separate repository. Can
you fix it please?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4832 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAJH7NZ56YXOEQ5NSBTAFLRJJW5JANCNFSM4J427Y2Q>
.
--
Love, Luck and Lollipops
Felix
|
@dacat any update? |
@pkuczynski The rvm-test directory is a git subtree for rvm/rvm-test. The test's i added need to be pushed to rvm/rvm-test. Is that correct? Also, the failing tests in rvm-test are the same that are failing in the master branch. |
Yes, that's correct. You need to add your tests to rvm-test repo. I can add you to our slack. Just don't see your email? |
@pkuczynski See rvm/rvm-test#29 (comment) and https://github.com/rvm/rvm/commits/master/rvm-test |
@dacat how its going with this PR? |
Fixes #3790 .
This provides for a workaround with users who have @ in their username.
It does this by:
A simple unit test is provided in rvm-test/fast and a more robust set of tests provided in rvm-test/gemset_separator_tests. The test runner,rvm-test/fast/rvm_gemset_separator_comment_test.sh, allows you test different gemset separators. Right now it tests only '@@' and all the tests pass.
Note: The build for this branch fails with the same failures that are in master.