Forum: Rails-ES error al instalar ruby gems

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Pablo M. (Guest)
on 2007-05-28 16:16
(Received via mailing list)
como puedo solucionar este error? a que se debe?

*****************************
debian4:/home/pasante/Desktop/rubygems-0.9.4# ruby setup.rb
---> bin
<--- bin
---> lib
---> lib/rubygems
---> lib/rubygems/digest
<--- lib/rubygems/digest
---> lib/rubygems/commands
<--- lib/rubygems/commands
<--- lib/rubygems
---> lib/rbconfig
<--- lib/rbconfig
<--- lib
---> bin
updating shebang: gem
updating shebang: gemri
updating shebang: gem_mirror
updating shebang: gem_server
updating shebang: gemwhich
updating shebang: gemlock
updating shebang: update_rubygems
updating shebang: index_gem_repository.rb
<--- bin
---> lib
---> lib/rubygems
---> lib/rubygems/digest
<--- lib/rubygems/digest
---> lib/rubygems/commands
<--- lib/rubygems/commands
<--- lib/rubygems
---> lib/rbconfig
<--- lib/rbconfig
<--- lib
rm -f InstalledFiles
---> bin
mkdir -p /usr/bin/
install gem /usr/bin/
install gemri /usr/bin/
install gem_mirror /usr/bin/
install gem_server /usr/bin/
install gemwhich /usr/bin/
install gemlock /usr/bin/
install update_rubygems /usr/bin/
install index_gem_repository.rb /usr/bin/
<--- bin
---> lib
mkdir -p /usr/local/lib/site_ruby/1.8/
install ubygems.rb /usr/local/lib/site_ruby/1.8/
install rubygems.rb /usr/local/lib/site_ruby/1.8/
install gemconfigure.rb /usr/local/lib/site_ruby/1.8/
---> lib/rubygems
mkdir -p /usr/local/lib/site_ruby/1.8/rubygems
install command_manager.rb /usr/local/lib/site_ruby/1.8/rubygems
install config_file.rb /usr/local/lib/site_ruby/1.8/rubygems
install gem_openssl.rb /usr/local/lib/site_ruby/1.8/rubygems
install user_interaction.rb /usr/local/lib/site_ruby/1.8/rubygems
install source_info_cache.rb /usr/local/lib/site_ruby/1.8/rubygems
install server.rb /usr/local/lib/site_ruby/1.8/rubygems
install source_index.rb /usr/local/lib/site_ruby/1.8/rubygems
install gem_runner.rb /usr/local/lib/site_ruby/1.8/rubygems
install gem_commands.rb /usr/local/lib/site_ruby/1.8/rubygems
install gem_open_uri.rb /usr/local/lib/site_ruby/1.8/rubygems
install doc_manager.rb /usr/local/lib/site_ruby/1.8/rubygems
install installer.rb /usr/local/lib/site_ruby/1.8/rubygems
install remote_installer.rb /usr/local/lib/site_ruby/1.8/rubygems
install old_format.rb /usr/local/lib/site_ruby/1.8/rubygems
install builder.rb /usr/local/lib/site_ruby/1.8/rubygems
install rubygems_version.rb /usr/local/lib/site_ruby/1.8/rubygems
install format.rb /usr/local/lib/site_ruby/1.8/rubygems
install custom_require.rb /usr/local/lib/site_ruby/1.8/rubygems
install specification.rb /usr/local/lib/site_ruby/1.8/rubygems
install dependency_list.rb /usr/local/lib/site_ruby/1.8/rubygems
install command.rb /usr/local/lib/site_ruby/1.8/rubygems
install package.rb /usr/local/lib/site_ruby/1.8/rubygems
install timer.rb /usr/local/lib/site_ruby/1.8/rubygems
install source_info_cache_entry.rb /usr/local/lib/site_ruby/1.8/rubygems
install remote_fetcher.rb /usr/local/lib/site_ruby/1.8/rubygems
install validator.rb /usr/local/lib/site_ruby/1.8/rubygems
install open-uri.rb /usr/local/lib/site_ruby/1.8/rubygems
install version.rb /usr/local/lib/site_ruby/1.8/rubygems
install security.rb /usr/local/lib/site_ruby/1.8/rubygems
---> lib/rubygems/digest
mkdir -p /usr/local/lib/site_ruby/1.8/rubygems/digest
install sha1.rb /usr/local/lib/site_ruby/1.8/rubygems/digest
install sha2.rb /usr/local/lib/site_ruby/1.8/rubygems/digest
install md5.rb /usr/local/lib/site_ruby/1.8/rubygems/digest
install digest_adapter.rb /usr/local/lib/site_ruby/1.8/rubygems/digest
<--- lib/rubygems/digest
---> lib/rubygems/commands
mkdir -p /usr/local/lib/site_ruby/1.8/rubygems/commands
install dependency_command.rb
/usr/local/lib/site_ruby/1.8/rubygems/commands
install unpack_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands
install help_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands
install cert_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands
install query_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands
install environment_command.rb
/usr/local/lib/site_ruby/1.8/rubygems/commands
install build_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands
install outdated_command.rb
/usr/local/lib/site_ruby/1.8/rubygems/commands
install rdoc_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands
install search_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands
install contents_command.rb
/usr/local/lib/site_ruby/1.8/rubygems/commands
install update_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands
install uninstall_command.rb
/usr/local/lib/site_ruby/1.8/rubygems/commands
install cleanup_command.rb
/usr/local/lib/site_ruby/1.8/rubygems/commands
install check_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands
install list_command.rb /usr/local/lib/site_ruby/1.8/rubygems/commands
install specification_command.rb
/usr/local/lib/site_ruby/1.8/rubygems/commands
install install_command.rb
/usr/local/lib/site_ruby/1.8/rubygems/commands
install pristine_command.rb
/usr/local/lib/site_ruby/1.8/rubygems/commands
install sources_command.rb
/usr/local/lib/site_ruby/1.8/rubygems/commands
<--- lib/rubygems/commands
<--- lib/rubygems
---> lib/rbconfig
mkdir -p /usr/local/lib/site_ruby/1.8/rbconfig
install datadir.rb /usr/local/lib/site_ruby/1.8/rbconfig
<--- lib/rbconfig
<--- lib
  Successfully built RubyGem
  Name: sources
  Version: 0.0.1
  File: sources-0.0.1.gem
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/pasante/Desktop/rubygems-0.9.4/./post-install.rb:103:in
`install_rdoc'
        from
/home/pasante/Desktop/rubygems-0.9.4/./post-install.rb:118:in
`run_hook'
        from setup.rb:1526:in `exec_task_traverse'
        from setup.rb:1342:in `exec_install'
        from setup.rb:1000:in `exec_install'
        from setup.rb:814:in `invoke'
        from setup.rb:773:in `invoke'
        from setup.rb:1578
debian4:/home/pasante/Desktop/rubygems-0.9.4#
debian4:/home/pasante/Desktop/rubygems-0.9.4#
debian4:/home/pasante/Desktop/rubygems-0.9.4#
debian4:/home/pasante/Desktop/rubygems-0.9.4# gem install rails
Bulk updating Gem source index for: http://gems.rubyforge.org
ERROR:  While executing gem ... (Gem::GemNotFoundException)
    Could not find rails (> 0) in any repository
****************************************
Si alguien sabe de alguna guia para instalar en debian, buscque en
internet pero salen de diferentes formas...medio que me marea.

Si alguien me unifioca los pasos..se lo agradecere...

Saludos.

PD: perdon si ya se tocó este tema
Imobach González Sosa (Guest)
on 2007-05-28 16:20
(Received via mailing list)
On Monday 28 May 2007 13:15:02 Pablo M. wrote:
> como puedo solucionar este error? a que se debe?
[..]
> `install_rdoc'
>         from /home/pasante/Desktop/rubygems-0.9.4/./post-install.rb:118:in
> `run_hook'
>         from setup.rb:1526:in `exec_task_traverse'
>         from setup.rb:1342:in `exec_install'
>         from setup.rb:1000:in `exec_install'
>         from setup.rb:814:in `invoke'
>         from setup.rb:773:in `invoke'
>         from setup.rb:1578

Instala el paquete "rdoc" (aptitude install rdoc), que nunca está de más.

> debian4:/home/pasante/Desktop/rubygems-0.9.4# gem install rails
> Bulk updating Gem source index for: http://gems.rubyforge.org
> ERROR:  While executing gem ... (Gem::GemNotFoundException)
>     Could not find rails (> 0) in any repository
> ****************************************
> Si alguien sabe de alguna guia para instalar en debian, buscque en
> internet pero salen de diferentes formas...medio que me marea.
>
> Si alguien me unifioca los pasos..se lo agradecere...

Prueba a poner: gem install rails -r

Saludos.

--
Imobach González Sosa
correo-e: imobachgs en banot punto net
jabber id: osoh en jabberes punto org
web: http://www.banot.net/~osoh/
blog: http://devnull.blogs.banot.net/
This topic is locked and can not be replied to.