Skip to content

Undefined method exception when using `compass watch' in jruby 1.7.8. #1245

@ghost

Description

I'm calling compass from scripting container.
When trying to use 'compass watch' command.

The following error occurs:

NoMethodError on line ["87"] of path/to/gems/fssm-0.2.10/lib/fssm/path.rb: undefined method `is_virtual?' for <Pathname:/tmp/1384933325506-0>:Pathname

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions