This project is archived and is in readonly mode.
Ruby 1.9.2 compat: use File#expand_path for require path in script/*
Reported by Akira Matsuda | July 19th, 2009 @ 07:12 AM | in 2.x
"." will no more be included in LOAD_PATH since Ruby 1.9.2.
Attached a patch to use File#expand_path for require path in order to call script/* scripts from RAILS_ROOT.
Comments and changes to this ticket
-
Repository July 21st, 2009 @ 08:10 AM
- State changed from new to resolved
(from [9163b9ac9d0b986cb5de2af63a8ed50ffc8ece71]) Ruby 1.9.2 compat: Use File#expand_path for require path because "." will not be included in LOAD_PATH since Ruby 1.9.2 [#2921 state:resolved]
Signed-off-by: Yehuda Katz wycats@gmail.com
http://github.com/rails/rails/commit/9163b9ac9d0b986cb5de2af63a8ed5... -
Repository July 21st, 2009 @ 09:17 AM
(from [7a427a83ca4da92c70760007aaf313638a5d8374]) Ruby 1.9.2 compat: Use File#expand_path for require path because "." will not be included in LOAD_PATH since Ruby 1.9.2 [#2921 state:resolved]
Signed-off-by: Yehuda Katz wycats@gmail.com
http://github.com/rails/rails/commit/7a427a83ca4da92c70760007aaf313...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
- Nobody is watching this ticket.
Attachments
Referenced by
- 2921 Ruby 1.9.2 compat: use File#expand_path for require path in script/* (from [9163b9ac9d0b986cb5de2af63a8ed50ffc8ece71]) Ruby 1....
- 2921 Ruby 1.9.2 compat: use File#expand_path for require path in script/* (from [7a427a83ca4da92c70760007aaf313638a5d8374]) Ruby 1....