-
Notifications
You must be signed in to change notification settings - Fork 37
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
undefined method `useMozillaStackStyle' #29
Comments
it's very likely similar to #18 ... check your class-path for possible .jar files that contain an older version of rhino packaged. |
I ran into the same issue. Both uglifier and jslint_on_rails were depending on execjs and I think somehow Rhino got pulled in twice. Once I removed jslint_on_rails it worked as expected. My recommendation is to look at your Gemfile.lock and see who's depending on execjs and play around with removing different sets of those gems. |
@lolindrath excellent, thanks! |
I notice this intermittently - unpredictably. One of my gems requires execjs |
As soon as I try to
require "rhino"
, I get this error:This happens for in both version 1.73.5 and version 2.0.3 of therubyrhino. The only way to get it to work is to comment out the offending line. Any idea why this might be happening to me?
The text was updated successfully, but these errors were encountered: