mdube@arcane-technologies.com (Martin Dubé)
- Login: mdube@arcane-technologies.com
- Registered on: 11/17/2012
- Last sign in: 10/22/2014
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
11/17/2012
-
07:31 AM Ruby Bug #7374: File.expand_path resolving to first file/dir instead of absolute path
- =begin
No other scenario. Caught that bug trying to install a plugin to redmine 2.1.2 with ruby 1.9.3p327
Redmine then attempt to add plugins routes with the following code:
(({Dir.glob File.expand_path("plugins/*", Rails.root) d... -
07:19 AM Ruby Bug #7374: File.expand_path resolving to first file/dir instead of absolute path
- luislavena (Luis Lavena) wrote:
> Martin,
> ...
Yes, same problem with r37691:
C:\ruby-2.0.0-r37691-i386-mingw32\bin>irb.bat
irb(main):001:0> File.expand_path("./*", "c:/")
=> "c:/$RECYCLE.BIN"
irb(main):002:0>
-
03:32 AM Ruby Bug #7374: File.expand_path resolving to first file/dir instead of absolute path
- ruby 1.9.3p194 (2012-04-20) [i386-mingw32] is working fine:
irb(main):002:0> File.expand_path("./*", "c:/temp")
=> "c:/temp/*"
-
03:23 AM Ruby Bug #7374 (Closed): File.expand_path resolving to first file/dir instead of absolute path
- =begin
(({File.expand_path("./*", "c:)"}))
will give "c:/$recycle.bin" as result instead of "c:/*"
(({File.expand_path("./*", "c:/temp)"}))
will give "c:/temp/." as result instead of "c:/temp/*"
It looks like the first directory...