Difference in require behaviour with MRI with ".rb" suffix
----------------------------------------------------------
Key: JRUBY-3234
URL: http://jira.codehaus.org/browse/JRUBY-3234
Project: JRuby
Issue Type: Bug
Environment: JRuby trunk as of 8313
Reporter: Nick Sieger
Assignee: Thomas E Enebo
Fix For: JRuby 1.1.6
Carried over and entered as a new bug from JRUBY-3173.
>From http://gist.github.com/34799:
{noformat}
$ git clone git://gist.github.com/34799.git
...
$ cd 34799
$ ruby all.rb
Loaded or required
/Users/nicksieger/Projects/jruby/issues/JRUBY-3173/34799/helper.rb
Helper count is 1
Helper count is 1
$ jruby all.rb
Loaded or required
/Users/nicksieger/Projects/jruby/issues/JRUBY-3173/34799/helper.rb
Loaded or required
/Users/nicksieger/Projects/jruby/issues/JRUBY-3173/34799/helper.rb
Helper count is 2
Helper count is 2
$ ~/Projects/jruby/1.1.3/bin/jruby all.rb
Loaded or required
/Users/nicksieger/Projects/jruby/issues/JRUBY-3173/34799/helper.rb
Helper count is 1
Helper count is 1
{noformat}
This appears to be a regression introduced by 8256.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email