Topic: Rails problems on Debian, I think it might be a gem problem
I'm trying to convince people I work with how great RoR is, and the first time someone tries to install it everything goes to hell
Anyways, she has a Debian machine, and the output of `uname -a` is:
Linux metascholar3 2.6.3-1-386 #2 Tue Feb 24 20:20:23 EST 2004 i686 GNU/Linux
Ruby is version 1.8.4
When I tried to install gem (ie. "ruby setup.rb"), I got the following error at the end:
Removing old RubyGems RDoc and ri...
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- rdoc/rdoc (LoadError)
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from /home/ugadi/gem_install/rubygems-0.9.2/./post-install.rb:103:in `install_rdoc'
from /home/ugadi/gem_install/rubygems-0.9.2/./post-install.rb:118:in `try_run_hook'
from setup.rb:584:in `run_hook'
from setup.rb:1322:in `exec_task_traverse'
from setup.rb:1175:in `exec_install'
from setup.rb:894:in `exec_install'
from setup.rb:717:in `invoke'
from setup.rb:681:in `invoke'
I thought I was able to bypass this problem, because I was able to actually call gem. I used gem to install Rails 1.2.1 and everything seemed fine...
until she tried to actually run a Rails app. When I started WEBrick and tried to call an action on a controller, I got a 404 Not Found error in the browser. There was an ArgumentError (I don't have the full text, I'll post it tomorrow) in the console.
Anyone have any ideas? How can I uninstall all of rails (including all the dependencies) and then reinstall it all?