I'm using ubuntu 9.10 and i cant see gems located in /var/lib/gems/1.8/gems , so i cant execute gems like rake for rails. When I write $PATH in the console I get:
bash: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/dombesz/bin:/var/lib/gems/1.8/bin: No such file or directory
I also tried to add to ~/.bashrc , export PATH=$PATH:/var/lib/gems/1.8/bin
When I write gem list --local, shows only the gems located at ~/.gems dir.
This problem started when I installed rubygems from source.
Any suggestions?