You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.
The SharedHelpers.clean_load_path method looks like it was written to correct an issue Ruby 1.9, but is causing problems in Ruby 2.3. You can reproduce the issue using iruby-dependencies which uses bundler/inline to inject dependencies into Jupyter notebooks:
This is an edge case for sure, but it is not hard to imagine it creeping up in other applications. The clean_load_path method should either be updated to work in Ruby 2.3 or properly relegated to only those versions of Ruby it was originally intended for.
The text was updated successfully, but these errors were encountered:
kylekyle
changed the title
SharedHelpers.clean_load_path causes in 2.3
SharedHelpers.clean_load_path causes error in 2.3
Aug 4, 2016
The
SharedHelpers.clean_load_path
method looks like it was written to correct an issue Ruby 1.9, but is causing problems in Ruby 2.3. You can reproduce the issue using iruby-dependencies which uses bundler/inline to inject dependencies into Jupyter notebooks:The block works the first time, but if you re-run the block (or run any other dependency block), you get the following backtrace:
This is an edge case for sure, but it is not hard to imagine it creeping up in other applications. The
clean_load_path
method should either be updated to work in Ruby 2.3 or properly relegated to only those versions of Ruby it was originally intended for.The text was updated successfully, but these errors were encountered: