Skip to content

Instantly share code, notes, and snippets.

Created February 17, 2012 08:47
Show Gist options
  • Save anonymous/1851919 to your computer and use it in GitHub Desktop.
Save anonymous/1851919 to your computer and use it in GitHub Desktop.
Ruby issues
robwatt@robsvr:~$ rvm implode
bash: /home/robwatt/.rvm/scripts/base: No such file or directory
A RVM version is installed yet 1.10.2 is loaded.
Please do one of the following:
* 'rvm reload'
* open a new shell
robwatt@robsvr:~$ which ruby
/usr/bin/ruby
robwatt@robsvr:~$ ruby -v
ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux]
robwatt@robsvr:~$ rails -v
Rails 2.3.14
robwatt@robsvr:~$ sudo apt-get remove ruby rails
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
ruby1.8-dev librack-ruby
libmemcache-client-ruby1.8 libjs-scriptaculous
libbuilder-ruby1.8 rubygems librack-ruby1.8
rake ruby-activeresource-2.3
ruby-actionmailer-2.3 libtzinfo-ruby
ruby-activerecord-2.3 ruby1.8 libi18n-ruby1.8
ruby-activesupport-2.3 ruby-rchardet
ruby-tmail libi18n-ruby libtzinfo-ruby1.8
libbuilder-ruby libmemcache-client-ruby
ruby-actionpack-2.3 libjs-prototype libruby1.8
ruby-rails-2.3 ruby-text-format
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
rails ruby
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 111 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 213349 files and directories currently installed.)
Removing rails ...
Removing ruby ...
Processing triggers for man-db ...
robwatt@robsvr:~$ ruby -v
ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux]
robwatt@robsvr:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment