garrettheaver/guard-rspec-jruby — pull request #2 by koszta (2012-10-03 23:14:28+00:00)
Title: change import to java_import

I couldn't do rake tasks with the guard-rspec-jruby included in my test environment, because it terminated the following error:

```
rake aborted!
can't convert Class into String
org/jruby/RubyFile.java:465:in `basename'
org/jruby/RubyFile.java:659:in `extname'
```

It turned out, that rake defines Object#import and that causes the problem.
Using java_import instead of import fixes it.

http://jira.codehaus.org/browse/JRUBY-3171