[1.9] prelude and gem_prelude should not be loaded as normal libraries
----------------------------------------------------------------------

                 Key: JRUBY-4629
                 URL: http://jira.codehaus.org/browse/JRUBY-4629
             Project: JRuby
          Issue Type: Bug
          Components: Ruby 1.9
    Affects Versions: JRuby 1.5
            Reporter: Charles Oliver Nutter
            Assignee: Thomas E Enebo
            Priority: Trivial


Ruby 1.9 (and JRuby's 1.9 mode) loads two scripts on startup: prelude.rb and 
gem_prelude.rb (_prelude_internal_.rb and _gem_prelude_internal_.rb on JRuby). 
Ruby 1.9 runs their code directly, since its build process generates .c files 
containing their source as a C string. In JRuby. however, they are required as 
normal and show up in $".

We should run their code directly, and ideally avoid require altogether to load 
them (since this currently causes a small startup perf hit to find those 
resources in CLASSPATH).

-- 
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


Reply via email to