Forum: JRuby File to import not found or unreadable: compass/reset, Why?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Guofeng Zhang (Guest)
on 2014-08-22 09:10
(Received via mailing list)

I following the following link to create single runnable jar containing
sass, compass, and jruby:
then I use:
   java -jar  jcompass.jar -S compass create MY_JPROJECT
to create a project. I got the following error message:
    error MY_JPROJECT/sass/screen.scss (Line 6: File to import not found
adable: compass/reset.
Load paths:

Compilation failed in 1 files.

I don't know what happened for this error. I check that
exsited in the directory "gems\compass-core-1.0.1\stylesheets" in

How to solve it?

I use JDK jdk1.8.0_11 on Windows 8.

Thanks for your help?

christian (Guest)
on 2014-08-22 10:09
(Received via mailing list)
for some reason it does not look into the jar for finding that this

could you try to add the following load_path:

java -jar  jcompass.jar -I classpath:/ -S compass create MY_JPROJECT

would be interesting to know since there is refactoring going on
loading of such resources.
Guofeng Zhang (Guest)
on 2014-08-22 10:55
(Received via mailing list)
Use the command line you given, I got the same error, that
is,  compass/reset still cannot be found or unreadable.

Thanks for your quick reply.
christian (Guest)
on 2014-08-22 11:40
(Received via mailing list)
hoops did not see this:


and with this it should actually work - i.e. it look like a bug with the
windows absolute path and resources from within a jar !

so my "trick" needs a modification then

java -jar  jcompass.jar -I
-S compass create MY_JPROJECT

but I admit it would be crude workaround (in case it really works).
Guofeng Zhang (Guest)
on 2014-08-23 19:27
(Received via mailing list)
This issue is solved by rolling back to Compass 0.12.7 and SASS 3.2.9.
The last version of compass might have issues.

I really want to use Foundation with Compass, so I use ruby (not jruby)
taste its sample and find that the compiled css file is very small and
page is not styled. then I found the above link.

After rolled back,
     java -jar  jcompass.jar -S compass create MY_JPROJECT
     java -jar  jcompass.jar -S compass compile
worked well.

Thanks for your time very much.
Guofeng Zhang (Guest)
on 2014-08-27 14:13
(Received via mailing list)
The issue is not resolved. I made a mistake that I use another project
foundation project) that does not reference any sass file in the jar.

I copied the project from Windows 8 to a linux box (Ubuntu 12.04), the
project compile with compass successfully. so this a bug related to the
windows absolute path (as you said)

Will be there any patch or workarround for the bug?

I really saw the following line on the console:
This topic is locked and can not be replied to.