path problems

%>rails expense
/usr/local/bin/rails:19: undefined method `bin_path' for Gem:Module

I keep getting the above error after installing rails. I have gone
through every
step at hivelogic. It worked once and ever since I have been getting the
above error.

I understand the issue is that the path is not configured properly....
on typing echo $PATH i get:

but when I execute <prompt%>. ~/.bash_login,
on typing echo $PATH i get:


help would be much appreciated.