Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Popen.popen returns nil #9

Open
cyjake opened this issue Mar 29, 2011 · 0 comments
Open

Popen.popen returns nil #9

cyjake opened this issue Mar 29, 2011 · 0 comments

Comments

@cyjake
Copy link

cyjake commented Mar 29, 2011

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant