title: no such file to load -- rubygems (LoadError)
body: <p>I recently installed rails in fedora 12. I'm new to linux as well. Everything works fine on Windows 7. But I'm facing lot of problems in linux. Help please!</p>
  
  <p>I've installed all the essentials to my knowledge to get the basic script/server up and running. I have this error from boot.rb popping up when I try script/server. Some of the details I'd like to give here:</p>
  
  <p>The directories where rails, ruby and gem are installed,</p>
  
  <pre><code>[vineeth@localhost my_app]$ which ruby
  /usr/local/bin/ruby
  
  [vineeth@localhost my_app]$ which rails
  /usr/bin/rails
  
  [vineeth@localhost my_app]$ which gem
  /usr/bin/gem
  </code></pre>
  
  <p>And when I run the script/server, this is the error.</p>
  
  <pre><code>[vineeth@localhost my_app]$ script/server
  ./script/../config/boot.rb:9:in `require': no such file to load -- rubygems (LoadError)
   from ./script/../config/boot.rb:9
   from script/server:2:in `require'
   from script/server:2
  </code></pre>
  
  <p>And the PATH file looks like this</p>
  
  <pre><code>[vineeth@localhost my_app]$ cat ~/.bash_profile
  # .bash_profile
  
  # Get the aliases and functions
  if [ -f ~/.bashrc ]; then
   . ~/.bashrc
  fi
  
  # User specific environment and startup programs
  
  PATH=$PATH:$HOME/bin
  
  export PATH="/usr/local/bin:/usr/local/sbin:/usr/bin/ruby:$PATH"
  </code></pre>
  
  <p>I suppose it is something to do with the PATH file. Let me know what I need to change here. If there are other changes I should make, please let me know.</p>