[help] install sqlite3-ruby

Why if I write, #sudo gem install sqlite3-ruby , returned this error?

Select which gem to install for your platform (i486-linux)
1. sqlite3-ruby 1.2.0 (mswin32)
2. sqlite3-ruby 1.2.0 (ruby)
3. sqlite3-ruby 1.1.0 (mswin32)
4. sqlite3-ruby 1.1.0 (ruby)
5. Skip this gem
6. Cancel installation

2

Building native extensions. This could take a while...
Successfully installed sqlite3-ruby-1.2.0
/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 /usr/local/lib/site_ruby/1.8/rubygems/doc_manager.rb:71:in
`load_rdoc'
        from /usr/local/lib/site_ruby/1.8/rubygems/doc_manager.rb:41:in
`generate_ri'
        from /usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:299:in
`execute'
        from /usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:298:in
`execute'
        from /usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:236:in
`execute'
        from /usr/local/lib/site_ruby/1.8/rubygems/command.rb:70:in `invoke'
        from /usr/local/lib/site_ruby/1.8/rubygems/cmd_manager.rb:120:in
`process_args'
        from /usr/local/lib/site_ruby/1.8/rubygems/cmd_manager.rb:91:in
`run'
        from /usr/local/lib/site_ruby/1.8/rubygems/gem_runner.rb:30:in `run'
        from /usr/bin/gem:23

Can someone help me ?

Thanks!!!

···

--
ln -s /dev/brain /dev/null

Why if I write, #sudo gem install sqlite3-ruby , returned this error?

Select which gem to install for your platform (i486-linux)
1. sqlite3-ruby 1.2.0 (mswin32)
2. sqlite3-ruby 1.2.0 (ruby)
3. sqlite3-ruby 1.1.0 (mswin32)
4. sqlite3-ruby 1.1.0 (ruby)
5. Skip this gem
6. Cancel installation> 2Building native extensions. This could take a while...
Successfully installed sqlite3-ruby-1.2.0
/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 /usr/local/lib/site_ruby/1.8/rubygems/doc_manager.rb:71:in
`load_rdoc'
        from /usr/local/lib/site_ruby/1.8/rubygems/doc_manager.rb:41:in
`generate_ri'
        from /usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:299:in
`execute'
        from /usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:298:in
`execute'
        from /usr/local/lib/site_ruby/1.8/rubygems/gem_commands.rb:236:in
`execute'
        from /usr/local/lib/site_ruby/1.8/rubygems/command.rb:70:in `invoke'
        from /usr/local/lib/site_ruby/1.8/rubygems/cmd_manager.rb:120:in
`process_args'
        from /usr/local/lib/site_ruby/1.8/rubygems/cmd_manager.rb:91:in
`run'
        from /usr/local/lib/site_ruby/1.8/rubygems/gem_runner.rb:30:in `run'
        from /usr/bin/gem:23

Can someone help me ?

Thanks!!!

Hi,

What you have here is not a failure to install sqlite3-ruby
("Successfully installed sqlite3-ruby-1.2.0" indicates that the gem
installed without problems). You should be able to use sqlite from
ruby now.

What you do have is a failure to build the documentation for
sqlite3-ruby. Somehow you don't seem to have rdoc installed. What
kind of system are you on? How did you install ruby?

Best,

-r

···

On Jan 23, 10:44 am, "Riot@ct" <domandam...@ciao.ciao> wrote:

--
ln -s /dev/brain /dev/null

--
Ryan Raaum
http://raaum.org
http://rails.raaum.org -- Rails docs
http://locomotive.raaum.org -- Self contained Rails for Mac OS X

Do you have an rdoc executable installed with your ruby install?

Mike

···

On 1/23/07, Riot@ct <domandamelo@ciao.ciao> wrote:

Building native extensions. This could take a while...
Successfully installed sqlite3-ruby-1.2.0
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- rdoc/rdoc (LoadError)

--
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein

Michael P. Soulier ha scritto:

Do you have an rdoc executable installed with your ruby install?

Thank you, this is the problem.
I have resolved it.

···

--
ln -s /dev/brain /dev/null