Pregunta

La guía definitiva para la instalación de Jekyll parece ser https://github.com/jekyll/jekyll donde dice:

gem install jekyll

Recibo un

ERROR:  could not find gem jekyll locally or in a repository

independientemente de si corro ese comando como superusuario o no.
Las devoluciones gem env lo siguiente:

RubyGems Environment:
  - RUBYGEMS VERSION: 1.2.0
  - RUBY VERSION: 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]
  - INSTALLATION DIRECTORY: /var/lib/gems/1.8
  - RUBY EXECUTABLE: /usr/bin/ruby1.8
  - EXECUTABLE DIRECTORY: /var/lib/gems/1.8/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-linux
  - GEM PATHS:
     - /var/lib/gems/1.8
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
     - :sources => ["http://gems.github.com/", "http://gems.rubyforge.org/"]
  - REMOTE SOURCES:
     - http://gems.github.com/
     - http://gems.rubyforge.org/

También he intentado github que especifica como la fuente sin suerte. ¿Qué más debería estar tratando?

¿Fue útil?

Solución

Está utilizando una versión muy antigua de RubyGems.

En primer lugar, actualizar las fuentes:

$ gem sources --clear-all
$ gem sources --add http://rubygems.org
$ gem sources --add http://gems.github.com

A continuación, intente instalarlo.

También debe iniciar sesión como superusuario y actualizar la versión RubyGems. La versión actual es 1.3.7.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top