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

Bug with Envjs.WriteToFile in envjs/platform/rubyracer.js on Linux #35

Open
falaise opened this issue May 11, 2011 · 0 comments
Open

Bug with Envjs.WriteToFile in envjs/platform/rubyracer.js on Linux #35

falaise opened this issue May 11, 2011 · 0 comments

Comments

@falaise
Copy link

falaise commented May 11, 2011

Hi,

if you run './bin/envjs rubyracer ./examples/pictures/boot.js'
you receive an exception because Envjs.WriteToFile fails to open the file to write.
Just add in the source of WriteToFile this test :
if(/^file:///.test(url))
url = url.substring(7,url.length);

Regards.

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