On 5 July 2012 10:28, Mandeep Kaur <meghasimak@gmail.com> wrote:
> On Thu, Jul 5, 2012 at 2:40 PM, Colin Law <clanlaw@googlemail.com> wrote:
>> On 5 July 2012 09:54, Mandeep Kaur <meghasimak@gmail.com> wrote:
>>> This means RoR is uninstalled properly or not.
>>
>> Yes I believe so, certainly the rails and ruby commands were not found.
>>
>
> If it is uninstalled then why I'm getting result for $ locate ruby and
> when I check that path it shows file or directory not found.
>
> For example :
>
> $ locate ruby
> .
> /usr/bin/ruby
That may be because the locate command uses data from a database which
is only updated daily. I think the command
updatedb
will refresh the database.
> .... and so on
>
> And when I move to /usr/bin/ruby location then it shows
> -bash: cd: ruby: No such file or directory
/usr/bin/ruby is not a folder it is a file (the ruby command). What
do you see if you type
ls /usr/bin/ruby
Colin
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en-US.
No comments:
Post a Comment