Compass / compass

Compass is no longer actively maintained. Compass is a Stylesheet Authoring Environment that makes your website design simpler to implement and easier to maintain.
http://compass-style.org
Other
6.72k stars 1.18k forks source link

Windows Compass errors. Any suggestions? #1763

Open rhinowrk opened 10 years ago

rhinowrk commented 10 years ago

I'm going to list two issues, only because i think they are related. If this assumption is in error I will repost as separate issues.

Issue #1: C:\xampp\htdocs\project>compass watch

Compass is watching for changes. Press Ctrl-C to Stop. ArgumentError on line ["500"] of C: different prefix: "/" and "C:\xampp/htdocs/project/css/sass" Run with --trace to see the full backtrace

  • Note: config.rb seems to be set up properly. Any change to config.rb will allow Compass to proceed normally again, including adding a simple space anywhere in the file and saving it.

issue #2: C:\xampp\htdocs\project>compass watch modified config.rb clean css delete css/style.css delete css/under-ie9.css

Compass is watching for changes. Press Ctrl-C to Stop. write css/style.css write css/under-ie9.css modified css/sass/partials/_project.scss

  • Note: Compass just hangs here indefinitely. Upon ctrl+c the following is outputted:

C:/Ruby200-x64/lib/ruby/2.0.0/thread.rb:72:in sleep': Interrupt from C:/Ruby200-x64/lib/ruby/2.0.0/thread.rb:72:inblock (2 levels) in wait' from C:/Ruby200-x64/lib/ruby/2.0.0/thread.rb:68:in handle_interrupt' from C:/Ruby200-x64/lib/ruby/2.0.0/thread.rb:68:inblock in wait' from C:/Ruby200-x64/lib/ruby/2.0.0/thread.rb:66:in handle_interrupt' from C:/Ruby200-x64/lib/ruby/2.0.0/thread.rb:66:inwait' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/celluloid-0.16.0.pre3/lib/c elluloid/thread_handle.rb:37:in block in join' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/celluloid-0.16.0.pre3/lib/c elluloid/thread_handle.rb:37:insynchronize' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/celluloid-0.16.0.pre3/lib/c elluloid/thread_handle.rb:37:in join' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/celluloid-0.16.0.pre3/lib/c elluloid/actor.rb:96:injoin' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/celluloid-0.16.0.pre3/lib/c elluloid/actor_system.rb:79:in block (2 levels) in shutdown' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/celluloid-0.16.0.pre3/lib/c elluloid/actor_system.rb:77:ineach' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/celluloid-0.16.0.pre3/lib/c elluloid/actor_system.rb:77:in block in shutdown' from C:/Ruby200-x64/lib/ruby/2.0.0/timeout.rb:66:intimeout' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/celluloid-0.16.0.pre3/lib/c elluloid/actor_system.rb:66:in shutdown' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/celluloid-0.16.0.pre3/lib/c elluloid.rb:156:inshutdown' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/celluloid-0.16.0.pre3/lib/c elluloid.rb:145:in `block in register_shutdown' Terminate batch job (Y/N)?

Any info greatly appreciated. Thanks!

chriseppstein commented 10 years ago

is the wdm gem installed?

rhinowrk commented 10 years ago

sorry for the response delay. yes sir it is.

chriseppstein commented 10 years ago

If you pass the --poll option does it work for you?

rhinowrk commented 10 years ago

I'm sorry, Chris, unfamiliar with the --poll option.

chriseppstein commented 10 years ago

@rhinowrk compass watch --poll

rhinowrk commented 10 years ago

C:\xampp\htdocs\project>compass watch --poll

Compass is watching for changes. Press Ctrl-C to Stop. ArgumentError on line ["500"] of C: different prefix: "/" and "C:\xampp/htdocs/project/css/sass" Run with --trace to see the full backtrace

mikapa commented 10 years ago

I have the same problem ...

/c/wamp/www/blog/sites/all/themes/mika $compass watch --poll

Compass is watching for changes. Press Ctrl-C to Stop. ArgumentError on line ["465"] of c: different prefix: "c:/" and "c:\wamp/www/blog/sites/all/themes/mika/sass" Run with --trace to see the full backtrace

chriseppstein commented 10 years ago

Ugh. windows makes me :cry:

Shupal commented 10 years ago

have you install ruby and compass via rubyinstaller?

LennyBalston commented 10 years ago

I had exactly the same error as mikapa.

I resolved this issue by changing the gemfile gem 'sass-globbing', '1.1.0' and running bundle install again.