-
Notifications
You must be signed in to change notification settings - Fork 188
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
English: Method $RS is already a global not implemented #1590
Comments
This also happens with RuboCop apparently:
|
I'm not sure what defines Here is a very simple repro case, but it might be different because there it's just using defining twice the aliases:
Supporting an alias already present might be a good workaround. |
|
In my case, this happens because lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'cancan/version'
Gem::Specification.new do |s|
...
s.files = `git ls-files lib init.rb cancancan.gemspec`.split($INPUT_RECORD_SEPARATOR)
...
end But So an easy reproducer for that case is:
This more complex case also works on MRI:
Where the I'll work on a fix for this. |
I verified, and the specs of
cc @zverok, in the case you would want to add |
Will do :) Thanks for all the great work you are doing here! |
TruffleRuby 1.0.0-rc15 was released with this fix. |
This error had been occurred when I tried to run time_math2.
To reproduce
Error:
The text was updated successfully, but these errors were encountered: