Forum: Rails France GEM EVENTMACHINE prob d'installation

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Thomas T. (Guest)
on 2010-06-08 17:47

je suis sous mac OS X Léopard.
ruby 1.8.6
rails Rails 2.3.5

j'ai un soucis avec la gem event machine. Lorsque que je tape la ligne
de commande sudo gem install eventmachine ca me marque :

WARNING:  RubyGems 1.2+ index not found for:

RubyGems will revert to legacy indexes degrading performance.
Bulk updating Gem source index for:
ERROR:  While executing gem ... (Gem::RemoteSourceException)
    Error fetching remote gem cache: SocketError: getaddrinfo: nodename
nor servname provided, or not known (

Alors j'ai téléchargé eventmachine de télécharger et essayé de
l'installé avec setup.rb et voici le résultat :

---> lib
---> lib/em
---> lib/em/protocols
<--- lib/em/protocols
<--- lib/em
---> lib/evma
<--- lib/evma
<--- lib
---> ext
can't find header files for ruby.
setup.rb:655:in `command':
"/Users/thoams/Sites/eventmachine/ext/extconf.rb") failed (RuntimeError)
  from setup.rb:660:in `ruby'
  from setup.rb:1238:in `extconf'
  from setup.rb:1230:in `config_dir_ext'
  from setup.rb:1532:in `__send__'
  from setup.rb:1532:in `traverse'
  from setup.rb:1549:in `dive_into'
  from setup.rb:1530:in `traverse'
  from setup.rb:1524:in `exec_task_traverse'
  from setup.rb:1519:in `each'
  from setup.rb:1519:in `exec_task_traverse'
  from setup.rb:1223:in `exec_config'
  from setup.rb:991:in `exec_config'
  from setup.rb:812:in `invoke'
  from setup.rb:773:in `invoke'
  from setup.rb:1578

Avez vous une solution pour que je puisse installer cette gem
correctement merci.
Fernando P. (Guest)
on 2010-07-02 02:52
Thomas T. wrote:
> WARNING:  RubyGems 1.2+ index not found for:

Ça donne quoi:
$ gem -v
This topic is locked and can not be replied to.