Open mrsinguyen opened 9 years ago
@mrsinguyen Run it as sudo compass watch.
I have tried but fail, below is error
[12:05][mrsinguyen@Nguyen:~/Workspaces/project(master)]$ compass watch
>>> Compass is watching for changes. Press Ctrl-C to Stop.
write css/vt-theme.no-query.css
write css/vt-theme.styles.css
Errno::EACCES on line ["1144"] of /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb: Permission denied - /Library/Ruby/Gems/2.0.0/gems/compass-core-1.0.3/stylesheets/.listen_test
Run with --trace to see the full backtrace
[12:05][mrsinguyen@Nguyen:~/Workspaces/project(master)]$ sudo compass watch
Password:
>>> Compass is watching for changes. Press Ctrl-C to Stop.
write css/vt-theme.no-query.css
write css/vt-theme.styles.css
NoMethodError on line ["402"] of /Library/Ruby/Gems/2.0.0/gems/sass-3.4.15/lib/sass/plugin/compiler.rb: undefined method `start' for #<Thread:0x007fd4fc81f5f0 sleep>
Run with --trace to see the full backtrace
[12:05][mrsinguyen@Nguyen:~/Workspaces/project(master)]$
@mrsinguyen Did you do sudo before running compass watch?
Yes, sudo before start compass watch:
$ sudo su
Password:
sh-3.2# compass watch
>>> Compass is watching for changes. Press Ctrl-C to Stop.
write css/vt-theme.no-query.css
write css/vt-theme.styles.css
NoMethodError on line ["402"] of /Library/Ruby/Gems/2.0.0/gems/sass-3.4.15/lib/sass/plugin/compiler.rb: undefined method `start' for #<Thread:0x007fd8928377d8 sleep>
Run with --trace to see the full backtrace
sh-3.2#
Full track:
sh-3.2# compass watch --trace
>>> Compass is watching for changes. Press Ctrl-C to Stop.
write css/vt-theme.no-query.css
write css/vt-theme.styles.css
NoMethodError on line ["402"] of /Library/Ruby/Gems/2.0.0/gems/sass-3.4.15/lib/sass/plugin/compiler.rb: undefined method `start' for #<Thread:0x007feaa08377e0 sleep>
/Library/Ruby/Gems/2.0.0/gems/sass-3.4.15/lib/sass/plugin/compiler.rb:402:in `map'
/Library/Ruby/Gems/2.0.0/gems/sass-3.4.15/lib/sass/plugin/compiler.rb:402:in `listen_to'
/Library/Ruby/Gems/2.0.0/gems/sass-3.4.15/lib/sass/plugin/compiler.rb:338:in `watch'
/Library/Ruby/Gems/2.0.0/gems/compass-1.0.3/lib/compass/sass_compiler.rb:46:in `watch!'
/Library/Ruby/Gems/2.0.0/gems/compass-1.0.3/lib/compass/commands/watch_project.rb:41:in `perform'
/Library/Ruby/Gems/2.0.0/gems/compass-1.0.3/lib/compass/commands/base.rb:18:in `execute'
/Library/Ruby/Gems/2.0.0/gems/compass-1.0.3/lib/compass/commands/project_base.rb:19:in `execute'
/Library/Ruby/Gems/2.0.0/gems/compass-1.0.3/lib/compass/exec/sub_command_ui.rb:43:in `perform!'
/Library/Ruby/Gems/2.0.0/gems/compass-1.0.3/lib/compass/exec/sub_command_ui.rb:15:in `run!'
/Library/Ruby/Gems/2.0.0/gems/compass-1.0.3/bin/compass:30:in `block in <top (required)>'
/Library/Ruby/Gems/2.0.0/gems/compass-1.0.3/bin/compass:44:in `call'
/Library/Ruby/Gems/2.0.0/gems/compass-1.0.3/bin/compass:44:in `<top (required)>'
/usr/bin/compass:23:in `load'
/usr/bin/compass:23:in `<main>'
sh-3.2#
But compass compile work well.
$ compass compile
write css/vt-theme.no-query.css
write css/vt-theme.styles.css
Ok, no idea on how to fix the error, on that one, but for now if compass compile is working, well and good.
I also got a similart error Errno::EACCES on line ["245"] of /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb: Permission denied - /css
while I was using gulp.start('task')
to compile my sass
file on the node.js serverside.But when I run gulp
from the terminal,it works well.Could someone help me to solve the problem?
I have error when run
Full log
And Gemlog packages
Ruby version:
on MacOS 10.10.3