-
-
Notifications
You must be signed in to change notification settings - Fork 925
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
File to import not found or unreadable: bootstrap-compass (issue only on Windows) #2005
Comments
sorry for typo. The jruby version listed on the bottom part about the environment should be jruby-complete-1.7.16.jar. |
I'm seeing this happen with up-to-date versions of
using the sass-maven-plugin on windows. (GeoDienstenCentrum/sass-maven-plugin#41) It can be worked around by downgrading JRuby to 1.7.10 as is demonstrated in this sample project: https://github.com/mprins/maven-compass-example I've had a cursory look at the changes from 1.7.10...1.7.11 |
FWIW it also happens on 9.0.0.0.rc1 error/stack trace showing on AppVeyor: https://ci.appveyor.com/project/mprins/maven-compass-example/build/35%20(jruby-upgrade) |
this looks like an issue with those slashes |
yeah, compass has a hardcoded slash: TEMPLATE_FOLDER = File.join(File.expand_path('../', __FILE__), 'sprite_importer') I guess that should be using File.expand_path('..', __FILE__) |
if the LoadService gets a string like ruby itself uses |
@mprins I uploaded jruby-1.7,21-SNAPSHOT to https://oss.sonatype.org/content/repositories/snapshots/org/jruby/ if you have a chance to test this on windows it would be great. |
that error message above
Is actually from the 9.0.0.0-RC1 release I created a branch in my sample project with the jruby-1.7.21-SNAPSHOT but that still fails:
|
ah - ok. my fault. jruby-9k uses uri:classloader: pseudo protocol whenever you use jruby-complete or ScriptingContainer or ... so I will merge the fix to master. on jruby-1.7.x I do not see the problem from the stacktraces alone :( |
@mprins I just deployed the jruby-9.0.0.0-SNAPSHOT on the same sonatype repo. maybe you find some time to give it a run. |
Using the 9000 snapshot resolves this (on both java 7 and java 8) see: https://ci.appveyor.com/project/mprins/maven-compass-example/build/42%20(jruby-9000-SNAPSHOT) |
cool. the jruby-1.7.x could be related to `````` C:/Users/appveyor/.m2/repository/nl/geodienstencentrum/maven/sass-maven-plugin/2.6/sass-maven-plugin-2.6.jar!/gems/compass-core-1.0.3/stylesheets``` not getting translated into a correct
|
I following the steps to create a jar for a Sass project:
then I run the following command to create a Sass project:
I got the following error:
I checked that _bootstrap-compass.scss existed in compass.jar\gems\bootstrap-sass-3.2.0.2\assets\stylesheets
Runing
got the same error output.
jdk1.8.0_11 (64bit)
jruby-complete-1.6.8.jar
Windows 8.1 (64 bit)
The above operations works well on Ubuntu (12.04).
This also occurred with jruby 1.7.13/14/15.
The text was updated successfully, but these errors were encountered: