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:inrequire’
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:ingenerate_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:inexecute’
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:ininvoke’
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:inrun’
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!!!

On Jan 23, 10:44 am, “[email protected][email protected] wrote:

/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`execute’
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


ln -s /dev/brain /dev/null


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

On 1/23/07, [email protected] [email protected] 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)

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

Mike

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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs