Return back "/" to the end of RAILS_GEM_ROOT
- The "/" was removed in 40bdbce1 during refactoring. It may cause regression since looks like was added intentionaly because it is possible that a name of any another gem can start with /rails/, so slash was added to ensure that it is "rails" gem. I would like to backport this to `5-2-stable` too. - Use `__dir__` instead of `__FILE__`. Follow up #29176.
Showing
想要评论请 注册 或 登录