I upgraded my hardware yesterday and fresh installed Win 8.1. This error is killing me since then. I already lost full day of work trying to figure out what's going on. I never encountered this on my Mac or in my old Win 7 machine.
Setting up a new project with yo webapp using Bootstrap and Modernizr works great. Server would fire-up and I can see my updates livereload. But, setting up a new project with Compass and SASS included would prevent me from starting local server and throw this error:
D:\test>grunt serve
Running "serve" task
Running "clean:server" (clean) task
Running "concurrent:server" (concurrent) task
Running "copy:styles" (copy) task
Done, without errors.
Warning: Errno::EACCES on line ["897"] of C: Permission denied - (D:/test/.t
mp/styles/main.css20140323-6060-d9r9eo, D:/test/.tmp/styles/main.css)
Run with --trace to see the full backtrace Use --force to continue.
Aborted due to warnings.
Execution Time (2014-03-23 20:05:00 UTC)
concurrent:server 4.8s ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 100%
Total 4.8s
D:\test>
I updated Compass and SASS to latest version, reinstalled Yeoman & Ruby, and tried bunch of other small tweaks. Nothing worked.
Any ideas what else I could try?
I have found solution for this issue. I guess this might help with other similar problems running grunt server. This is what did it for me:
Uninstall SASS
gem uninstall sass
Uninstall COMPASS
gem uninstall compass
Install --pre COMPASS version
gem install compass --pre
Install --pre SASS version
gem install sass --pre
For some reason only running task in this order worked for me. I hope this helps.
Issue is solved in SASS 3.2.19
Try gem update compass
Related
I've got some issues with SASS. After updating the .scss file, the .css file won't update.
Lets say that this is my folder structure:
-scss
-style.scss
-css
-style.css
index.html
And I'm using this command from project root in cmd:
sass --watch scss/style.scss:css/style.css --style compressed
It compiles it the first time, but when I make some changes in the .scss file, it doesn't update.
I'm using:
win 8.1 64bit
ruby 2.0.0p481 64bit
Sass 3.4.2
How to make it watch for updates? Or am I doing something wrong?
Thanks
Update: Tested the same thing on ubuntu 14.04 and it works just fine (however, on ubuntu I've installed the latest version of ruby - ruby 2.1.2p95 )
Update 2: Issue on GitHub
This was a bug in Sass 3.4.2: https://github.com/sass/sass/issues/1409
It was fixed in Sass 3.4.3: http://sass-lang.com/documentation/file.SASS_CHANGELOG.html#343_4_september_2014
If you're using Bundler, make sure your Sass version is not restricted to 3.4.2 in your Gemfile. Recommended line is gem 'sass', '~> 3.4.3'. The run bundle update within your project root.
If you're not using Bundler, simply run gem update sass.
I also came across this issue. I downgraded Sass to version 3.3.14 and it worked for me again. No idea why.
Using:
win 8.1 64bit
ruby 2.0.0p481 64bit
I had same problem and upon solution didn't helped. Looks like ruby on windows 8 has WDM (Windows Directory Monitor) problem and --watch command is not working properly.
I solved problem in this way:
Downloaded and installed Installed Ruby 1.9.3p550 - Download link
Downloaded and installed Development Kit (which is required to install WDM) for Ruby 1.9.3 -
DevKit-tdm-32-4.5.2-20110712-1620-sfx.exe
Extract DevKit to path C:\Ruby193\DevKit
Run cd C:\Ruby193\DevKit
Run ruby dk.rb init
Run ruby dk.rb review
Run ruby dk.rb install
Then run gem install wdm
And after that, --watch command is working properly.
Hope this way will help someone.
I recently downloaded OSX Yosemite and now grunt-contrib-sass is not working and I am getting the error:
Running "sass:dist" (sass) task
Warning: spawn ENOENT Use --force to continue.
Aborted due to warnings.
I'm not a grunt expert, do I need to reinstall any plugins or something else? I'm happy to provide any other information if needed. Thanks.
Adding it as an answer here from comments above for posterity.
That error usually means Sass isn't installed. Run gem install sass to install it.
For me, it kept failing to install, so ran gem install sass --debug --backtrace --verbose and that fixed the no implicit conversion of nil into String (TypeError) install error.
I noticed that running compass directly threw an exception, so I uninstalled compass and reinstalled it (making sure to delete all compass binaries on PATH) and that fixed it.
Msfconsole has been working fine, all of a sudden I get this error. It also states:
Load error: Make sure the Ruby gems are installed properly, run bundle install- which I did and after fiddling with it, it completed successfully. Any tips?
try this out:-
install ruby-nmap gem
gem install ruby-nmap
I am having problems when creating a new compass project (Windows 7). I get this:
C:\>compass create a
create config.rb
Errno::EACCES on line ["891"] of C: Permission denied - (C:/a/config.rb20140321-6828-1g0ytlc, C:/a/config.rb)
Run with --trace to see the full backtrace
I have tried to start cmd with "Run as administrator", I have tried to delete compass, sass and ruby, and reinstalled without any luck. Anyone else having problems or know a solution to this irritating problem?
I was using the latest version (21.03.2014) of compass v.0.12.4...
Downgraded to v.0.12.2 everything worked fine!
Looks like a bug?
To downgrade:
$ gem uninstall compass
$ gem uninstall sass
$ gem install compass -v 0.12.2
$ gem install sass -v <rev>
Please update to Sass 3.2.18 and let me know if that fixes it.
Is this linked to
Compass/Sass writing files with "No Access" permissions for Everyone group on OSX?
If so, updating to 3.2.18 hasn't made a difference.
This has been resolved in Compass version 0.12.5
https://github.com/chriseppstein/compass/issues/1618
Have been trying installing compass after installing ruby version 1.9.3 on windows 7 but always getting following message every now and then:
C:\Users\marif>gem install compass
Fetching: fssm-0.2.9.gem ( 22%)ERROR: While executing gem ... (Gem::RemoteFetch
er::FetchError)
too many connection resets (http://cachefly.mirrors.rubygems.org/gems/fssm-0
.2.9.gem)
Also tried out the gem update --system but didn't get any luck so far.
Ahh, it works on home network and never worked out at work somehow.
I think in windows7 You have to restart your machine after installing ruby. That is how it worked for me. Even I was thinking same way that it doesn't work on work-network but works at home-network but it's wrong.