title: Ruby Gems returns "command not found"
body: <p>Ubuntu 9.10</p>
  
  <p>Just installed newgem </p>
  
  <pre><code>gem install newgem
  </code></pre>
  
  <p>and when i try</p>
  
  <pre><code>newgem new_project
  </code></pre>
  
  <p>I get </p>
  
  <pre><code>adam@adam-ubuntu:~$ newgem newproject
  newgem: command not found
  </code></pre>
  
  <p>Ive checked my path via echo $PATH</p>
  
  <pre><code>adam@adam-ubuntu:~$ echo $PATH
  /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/adam/.gem
  </code></pre>
  
  <p>and my gem enviroment</p>
  
  <pre><code>adam@adam-ubuntu:~$ gem environment
  RubyGems Environment:
    - RUBYGEMS VERSION: 1.3.6
    - RUBY VERSION: 1.8.7 (2009-06-12 patchlevel 174) [x86_64-linux]
    - INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8
    - RUBY EXECUTABLE: /usr/bin/ruby1.8
    - EXECUTABLE DIRECTORY: /usr/bin
    - RUBYGEMS PLATFORMS:
      - ruby
      - x86_64-linux
    - GEM PATHS:
       - /usr/lib/ruby/gems/1.8
       - /home/adam/.gem/ruby/1.8
    - GEM CONFIGURATION:
       - :update_sources =&gt; true
       - :verbose =&gt; true
       - :benchmark =&gt; false
       - :backtrace =&gt; false
       - :bulk_threshold =&gt; 1000
    - REMOTE SOURCES:
       - http://rubygems.org/
  </code></pre>
  
  <p>Im not hot with paths etc but all the gem directories listed above are on the path so how come it cant find the command?</p>