title: getting Errno::ENOENT: No such file or directory on sass watch command
body: <p>I installed Ruby on my Windows system to use <code>Sass</code> in order to follow Best practices in CSS Theming in my PHP project, as given in <a href="https://stackoverflow.com/questions/3662351/best-practices-css-theming">Best Practices - CSS Theming</a>. I have never used Ruby or Sass before.</p>
  
  <p>After installation, I went to <code>Start Command Prompt with Ruby</code> and entered - </p>
  
  <pre><code>gem install sass
  </code></pre>
  
  <p>and it installed successfully.</p>
  
  <p>Then following the tutorial given in <a href="http://sass-lang.com/tutorial.html" rel="nofollow noreferrer">http://sass-lang.com/tutorial.html</a>,</p>
  
  <p>I created two files <code>test.scss</code> and <code>test.css</code> at <code>/some/path</code> which is inside my web directory (PHP development environment). I wrote the following in <code>test.scss</code> - </p>
  
  <pre><code>/* test.scss */
  #navbar {
    width: 80%;
    height: 23px;
  }
  </code></pre>
  
  <p>I cd'ed to the <code>/some/path</code> in the Ruby Command prompt and entered - </p>
  
  <pre><code>sass --watch test.scss:test.css
  </code></pre>
  
  <p>And got this output - </p>
  
  <pre><code>Sass is watching for changes. Press Ctrl-C to stop.
  Errno::ENOENT: No such file or directory - test.scss
  Use --trace for backtrace
  </code></pre>
  
  <p>The errors comes even if I give the entire absolute path of the css files. If I add --trace to the command, following is the output - </p>
  
  <pre><code>C:/Ruby192/lib/ruby/gems/1.9.1/gems/sass-3.1.1/lib/sass/plugin/compiler.rb:317:i
  n `read': No such file or directory - C:\xampp\htdocs\examvillage_recovered\bran
  ches\I18N\trunk\style\dev_styles\test.scss (Errno::ENOENT)
          from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sass-3.1.1/lib/sass/plugin/comp
  iler.rb:317:in `update_stylesheet'
          from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sass-3.1.1/lib/sass/plugin/comp
  iler.rb:169:in `block in update_stylesheets'
          from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sass-3.1.1/lib/sass/plugin/comp
  iler.rb:167:in `each'
          from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sass-3.1.1/lib/sass/plugin/comp
  iler.rb:167:in `update_stylesheets'
          from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sass-3.1.1/lib/sass/plugin/comp
  iler.rb:214:in `watch'
          from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sass-3.1.1/lib/sass/plugin.rb:1
  11:in `method_missing'
          from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sass-3.1.1/lib/sass/exec.rb:408
  :in `watch_or_update'
          from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sass-3.1.1/lib/sass/exec.rb:294
  :in `process_result'
          from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sass-3.1.1/lib/sass/exec.rb:41:
  in `parse'
          from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sass-3.1.1/lib/sass/exec.rb:21:
  in `parse!'
          from C:/Ruby192/lib/ruby/gems/1.9.1/gems/sass-3.1.1/bin/sass:8:in `&lt;top
  (required)&gt;'
          from C:/Ruby192/bin/sass:19:in `load'
          from C:/Ruby192/bin/sass:19:in `&lt;main&gt;'
  </code></pre>
  
  <p>Then went through this youtube video <a href="http://www.youtube.com/watch?v=b_-HLevIJbc" rel="nofollow noreferrer">http://www.youtube.com/watch?v=b_-HLevIJbc</a> where the installation steps are mention. I installed gem <code>haml</code> too and it installed successfully.</p>
  
  <p>But I am still getting this error with an extra notice</p>
  
  <pre><code>NOTE: Gem::Specification#default_executable= is deprecated with no replacement.
  It will be removed on or after 2011-10-01.
  Gem::Specification#default_executable= called from C:/Ruby192/lib/ruby/gems/1.9
  1/specifications/rubygems-update-1.8.0.gemspec:11.
  &gt;&gt;&gt; Sass is watching for changes. Press Ctrl-C to stop.
  Errno::ENOENT: No such file or directory - C:\xampp\htdocs\examvillage_recovere
  \branches\I18N\trunk\style\dev_styles\test.scss
    Use --trace for backtrace.
  </code></pre>
  
  <p>How do I fix this? Any pointers? </p>
  
  <p>Thanks</p>