I believe I screwed up when trying to install ruby on rails with ruby1.9.
Is there a simple way to start from scratch with Ruby and rubygem-rails by deinstalling them manually somehow?
I attempted to deinstall with but got errors:
And now if I attempt to reinstall I get an error.
Is there a simple way to start from scratch with Ruby and rubygem-rails by deinstalling them manually somehow?
I attempted to deinstall with but got errors:
Code:
# cd /usr/ports/www/rubygem-rails && make deinstall
===> Deinstalling for www/rubygem-rails
===> Deinstalling rubygem-rails-3.0.5
pkg_delete: file '/usr/local/lib/ruby/gems/1.8/cache/rails-3.0.5.gem' doesn't exist
pkg_delete: file '/usr/local/lib/ruby/gems/1.8/specifications/rails-3.0.5.gemspec' doesn't exist
pkg_delete: file '/usr/local/lib/ruby/gems/1.8/gems/rails-3.0.5/bin/rails' doesn't exist
pkg_delete: file '/usr/local/lib/ruby/gems/1.8/gems/rails-3.0.5/bin' doesn't exist
pkg_delete: unable to completely remove directory '/usr/local/lib/ruby/gems/1.8/gems/rails-3.0.5/bin'
pkg_delete: file '/usr/local/lib/ruby/gems/1.8/gems/rails-3.0.5' doesn't exist
pkg_delete: unable to completely remove directory '/usr/local/lib/ruby/gems/1.8/gems/rails-3.0.5'
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)
And now if I attempt to reinstall I get an error.
Code:
===> Checking if www/rubygem-rails already installed
/usr/bin/env /usr/local/bin/gem18 install -l --no-update-sources --no-ri --install-dir /usr/local/lib/ruby/gems/1.8 --no-rdoc
/usr/ports/distfiles/rubygem/rails-3.0.5.gem -- --build-args
/usr/local/bin/gem18:8:in `require': no such file to load -- rubygems (LoadError)
from /usr/local/bin/gem18:8
*** Error code 1
Stop in /usr/ports/www/rubygem-rails.
*** Error code 1
Stop in /usr/ports/www/rubygem-rails.