⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (294 Bytes)
Bug #11946
ยป bug11946.rb
bjmllr (Ben Miller)
, 02/02/2016 11:15 PM
# just setup
require
'tmpdir'
require
'fileutils'
include
FileUtils
dir
=
Dir
.
mktmpdir
cd
(
dir
)
mkdir_p
(
'foo'
)
touch
(
'foo/bar.rb'
)
# seems to be important
file
=
File
.
join
(
'foo'
,
Dir
.
new
(
'foo'
).
to_a
.
last
)
load
(
file
)
# just cleanup
rm_rf
(
dir
)
# where we crash
File
.
basename
(
file
).
split
(
'baz'
)
(1-1/1)
Loading...