# Path problems

**URL:** <https://www.ruby-forum.com/t/path-problems/184929>\
**Category:** Rails\
**Created:** [March 10, 2010, 3:05pm UTC](https://www.ruby-forum.com/t/path-problems/184929 "2010-03-10T15:05:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![binbash-x](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/ecb155/32.png) [@binbash-x](https://www.ruby-forum.com/u/binbash-x)\
**Post date:** [March 10, 2010, 3:05pm UTC](https://www.ruby-forum.com/t/path-problems/184929/1 "2010-03-10T15:05:30Z")

</div>

%\>rails expense  
/usr/local/bin/rails:19: undefined method `bin\_path’ for Gem:Module  
(NoMethodError).

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:  
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin

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

/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin

help would be much appreciated.

Thanks.
