Rail con apt-get y problemas con las gemas


#1

Buenas, he instalado rails con apt-get (version 1.2.2) el probema es que
cuando intento instalar una gema con rubygems me aparece el siguiente
error

gem install hoe

Successfully installed hoe-1.2.1
/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/commands/install_command.rb:112:in
execute' from /usr/local/lib/site_ruby/1.8/rubygems/commands/install_command.rb:111:ineach’
from
/usr/local/lib/site_ruby/1.8/rubygems/commands/install_command.rb:111:in
execute' from /usr/local/lib/site_ruby/1.8/rubygems/commands/install_command.rb:49:ineach’
from
/usr/local/lib/site_ruby/1.8/rubygems/commands/install_command.rb:49:in
execute' from /usr/local/lib/site_ruby/1.8/rubygems/command.rb:70:ininvoke’
from
/usr/local/lib/site_ruby/1.8/rubygems/command_manager.rb:121:in
process_args' from /usr/local/lib/site_ruby/1.8/rubygems/command_manager.rb:92:inrun’
from /usr/local/lib/site_ruby/1.8/rubygems/gem_runner.rb:30:in
`run’
from /usr/bin/gem:23

Alguna idee?


#2

On 7/20/07, Emili Parreño removed_email_address@domain.invalid wrote:

    from /usr/local/lib/site_ruby/1.8/rubygems/doc_manager.rb:71:in

/usr/local/lib/site_ruby/1.8/rubygems/commands/install_command.rb:111:in
/usr/local/lib/site_ruby/1.8/rubygems/command_manager.rb:121:in
process_args' from /usr/local/lib/site_ruby/1.8/rubygems/command_manager.rb:92:inrun’
from /usr/local/lib/site_ruby/1.8/rubygems/gem_runner.rb:30:in
`run’
from /usr/bin/gem:23

Alguna idee?

$sudo apt-get remove rails --purge

$sudo gem i rails --include-dependencies

Saludos!


#3

Eso ya lo sé, pero nu puedo hacerlo. Necesito Rails como paquete de
debian.

Emilio T. wrote:

On 7/20/07, Emili Parre�o removed_email_address@domain.invalid wrote:

    from /usr/local/lib/site_ruby/1.8/rubygems/doc_manager.rb:71:in

/usr/local/lib/site_ruby/1.8/rubygems/commands/install_command.rb:111:in
/usr/local/lib/site_ruby/1.8/rubygems/command_manager.rb:121:in
process_args' from /usr/local/lib/site_ruby/1.8/rubygems/command_manager.rb:92:inrun’
from /usr/local/lib/site_ruby/1.8/rubygems/gem_runner.rb:30:in
`run’
from /usr/bin/gem:23

Alguna idee?

$sudo apt-get remove rails --purge

$sudo gem i rails --include-dependencies

Saludos!


#4

On 7/20/07, Emili Parreño removed_email_address@domain.invalid wrote:

Eso ya lo sé, pero nu puedo hacerlo. Necesito Rails como paquete de
debian.

No, no lo necesitas, no instales el paquete rails ni rake, usa los de
gems no de los repositorios de debian (o distro que uses).

Solo traen problemas, te lo digo por mis experiencias.

Saludos!