You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.
Hi !
It's been a few hours I'm fighting with the r.js compilation (note : that works on heroku, but other errors are thrown anyway !).
Every time I'm trying to compile ... I get this (with --trace argument) :
I tried with three different node versions (0.6.21, 0.8.4 and 0.9.0). I don't think it comes from my code (for the moment, it's just as simple as the samples) but from somewhere else I don't know (maybe node considering that I'm using the n version manager).
I tried to use the r.js command directly but it does not play nice with the rails directory structure.
If you have any idea or help to give me : first, to debug this (I'm ok with pure ruby or pure node debugging but this ...) and if you have more time, to locate and patch with me (if it's a bug) this error.
Anyway, thank you for the awesome plugin !
I'll continue to investigate ... !
EDIT : I think I found it by following the node stack trace ! I added in the rake task in your gem a line which is supposed to print the temporary rjs driver :
print`cat #{requirejs.config.driver_path}`
And ... surprise ! the path to the driver is incomplete ! I had a space in one of my parent directories that wasn't escaped well ! I'll give you a patch soon !
The text was updated successfully, but these errors were encountered:
Hi !
It's been a few hours I'm fighting with the r.js compilation (note : that works on heroku, but other errors are thrown anyway !).
Every time I'm trying to compile ... I get this (with --trace argument) :
I tried with three different node versions (0.6.21, 0.8.4 and 0.9.0). I don't think it comes from my code (for the moment, it's just as simple as the samples) but from somewhere else I don't know (maybe node considering that I'm using the n version manager).
I tried to use the r.js command directly but it does not play nice with the rails directory structure.
If you have any idea or help to give me : first, to debug this (I'm ok with pure ruby or pure node debugging but this ...) and if you have more time, to locate and patch with me (if it's a bug) this error.
Anyway, thank you for the awesome plugin !
I'll continue to investigate ... !
EDIT : I think I found it by following the node stack trace ! I added in the rake task in your gem a line which is supposed to print the temporary rjs driver :
And ... surprise ! the path to the driver is incomplete ! I had a space in one of my parent directories that wasn't escaped well ! I'll give you a patch soon !
The text was updated successfully, but these errors were encountered: