Skip to content

Popen.popen returns nil  #9

Open
@cyjake

Description

@cyjake

I was stumped by this exception when trying to compile a dynamic js string.

undefined method `success?' for nil:NilClass

Turns out it was status.success? failed at line 42 of compiler.rb. The status is nil. The compile process itself succeed. When I change the condition to !status || status.success?, the result shows up.

My setup is Windows 7, Ruby 1.8.7 and Rails 3. I am not familiar with commands and threads (shame). Is this a bug or just my own problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions