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 exception when using `compass watch' in jruby 1.7.8. #1245
Milestone
Comments
Stacktrace:
|
Hi, |
Hmm this actually works on master but not on 1.7 branch. I will see if I can quickly bisect this. |
enebo
added a commit
that referenced
this issue
Dec 5, 2013
…ruby 1.7.8. This is actually a regression from native Pathname addition. Some methods which should use class of caller was instead using Pathname. This is far from clear since some Pathname methods do seem to use Pathname and not subclass.
Thanks for the second reminder on this as compass was completely broken. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm calling compass from scripting container.
When trying to use 'compass watch' command.
The following error occurs:
I checked the code of fssm. And found that Pathname is a class extending ruby's default Pathname class. And it has a method `is_virtual?'
https://github.com/ttilley/fssm/blob/master/lib/fssm/pathname.rb
https://github.com/ttilley/fssm/blob/master/lib/fssm/path.rb
However, this method is_virtual? is not recognized by jruby.
I also tried to call 'compass watch' from command line using jruby. The error is the same.
Since it runs successfully in MRI. I suppose this is a bug of jruby.
Please check it.
The text was updated successfully, but these errors were encountered: