Error compiling coffeescript as part of the asset pipelien
----------------------------------------------------------

                 Key: JRUBY-5942
                 URL: https://jira.codehaus.org/browse/JRUBY-5942
             Project: JRuby
          Issue Type: Bug
          Components: Application Error
    Affects Versions: JRuby 1.6.1
         Environment: Mac os x 10.6.7
            Reporter: Paul Cowan


HTTP requests for /assets/application.js are failing with TypeError: can't 
convert Hash into String. It works fine under MRI 1.9.2.

Line 141 of external_runtime.rb for ExecJS (a coffee-script dependency) appears 
to be where this TypeError is cropping up:

IO.popen(command, options) { |f| output = f.read }

Poking around jira.codehaus.org I stumbled onto JRUBY-5532 which is fixed, but 
Charles Nutter noted that other IO calls ignore encoding options, which makes 
me wonder if this is an IO issue with JRuby's 1.9 support.



--
This message is automatically generated by JIRA.
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