Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I'm new to this, but I was having this problem doing the rails tutorial, but by adding the gems bin path to the PATH env variable I was able to fix it. (Just like gertas said a few posts above) </p> <p>First in the command prompt:</p> <pre><code>gem list -d annotate </code></pre> <p>and you'll get a result that says something like</p> <blockquote> <p>: annotate-models (1.0.4)<p> Author: Dave Thomas<p> Rubyforge: <a href="http://rubyforge.org/projects/annotate-models" rel="nofollow noreferrer">http://rubyforge.org/projects/annotate-models</a><p> Homepage: h'ttp://annotate-models.rubyforge.org<p> Installed at: C:/ruby192/lib/ruby/gems/1.9.1</p> </blockquote> <p>the key line is:</p> <p>Installed at: C:/ruby192/lib/ruby/gems/1.9.1 </p> <p>So in this case add a /bin to that path, For example I used: C:\ruby192\lib\ruby\gems\1.9.1\bin is what you want to add to your PATH environment variable.</p> <p>To change your PATH environment variable on Vista do the following go to: control panel >> system >> advanced system settings(link on the left). Once the box opens up,click the <em>Advanced</em> tab and then the <em>Environment variables</em> button. Then on the system variables find the PATH variable and click the <em>Edit</em> button. Since paths are separated by semi-colons, add <p> <code>;C:\ruby192\lib\ruby\gems\1.9.1\bin</code> <p> At the end of the variable value field.</p> <p>It should look like `some/path;some_other_path;C:\ruby192\lib\ruby\gems\1.9.1\bin` when you finish </p> <p>Save it, and close and reopen the command prompt. annotate and rspec started to work for me after that. Good luck.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload