Ruby on Rails Thursday, July 5, 2012

On 5 July 2012 08:16, Mandeep Kaur <meghasimak@gmail.com> wrote:
> I want to uninstall RoR completely. And did as following:
>
> $ sudo apt-get remove ruby
> $ sudo gem uninstall rails
> $ sudo apt-get remove rubygems
>
> According to these commands its uninstalled but while checking rails
> and ruby version it shows following result:
>
> $ ruby -v
> Traceback (most recent call last):
> File "/usr/lib/command-not-found", line 10, in <module>
> import CommandNotFound
> ImportError: No module named CommandNotFound
>
> $ rails -v
> Traceback (most recent call last):
> File "/usr/lib/command-not-found", line 10, in <module>
> import CommandNotFound
> ImportError: No module named CommandNotFound
>
> Anyone help me to uninstall Ruby on Rails completely.

You have, but you have a problem with command-not-found which is run
when any command is not found. I expect you will see the same thing
if you type any nonsense command. Googling for the error message
produced this which may be of help, though I have not studied it in
detail.

http://unix.stackexchange.com/questions/9580/why-is-this-python-error-message-generated-whenever-i-type-a-nonsense-command

If that does not help then some more googling by be helpful, but
either way this is not a rails problem so you might be best to seek
help elsewhere.

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