Skip to content
  • bogdanvlviv's avatar
    f8cbc1dd
    Return back "/" to the end of RAILS_GEM_ROOT · f8cbc1dd
    bogdanvlviv authored
    - 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.
    f8cbc1dd
    Return back "/" to the end of RAILS_GEM_ROOT
    bogdanvlviv authored
    - 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.
Loading