Closed jonathanulco closed 8 years ago
Depending on your system, can you try your_package_manager(brew, apt-get, yum, ...) install zlib
and retry installing it ?
I'd also recommend you to use a Gemfile
to manage your dependencies, but that's up to you and shouldn't change anything to this issue.
I've tried with zlib-bin but no change. I will try gemfile. Thx
Can you try with zlib-dev
or zlib-devel
too ?
I didn't find zlib-dev
but i found zlib1g-dev
sudo gem install algoliasearch-jekyll
Building native extensions. This could take a while...
Fetching: algoliasearch-jekyll-0.5.3.gem (100%)
Successfully installed nokogiri-1.6.6.2
Successfully installed algoliasearch-jekyll-0.5.3
2 gems installed
Installing ri documentation for nokogiri-1.6.6.2...
Installing ri documentation for algoliasearch-jekyll-0.5.3...
RDoc::Parser::Ruby failure around line 142 of
lib/record_extractor.rb
Before reporting this, could you check that the file you're documenting
has proper syntax:
/usr/bin/ruby1.9.1 -c lib/record_extractor.rb
RDoc is not a full Ruby parser and will fail when fed invalid ruby programs.
The internal error was:
(RDoc::Error) unknown type of %string "i"
ERROR: While generating documentation for algoliasearch-jekyll-0.5.3
... MESSAGE: unknown type of %string "i"
... RDOC args: --ri --op /var/lib/gems/1.9.1/doc/algoliasearch-jekyll-0.5.3/ri lib LICENSE.txt README.md --title algoliasearch-jekyll-0.5.3 Documentation --quiet
Seems like we're making some progress. It seems like you're using ruby 1.9.1 , could you try with the latest version?
Actually, it seems like it's the documentation installation that failed, I'm not sure wether gem
rollbacks on error or not, you might be able to use the gem anyway.
Ok thx have a nice day.
Hello i'm a noob on ruby and i try to install gem algoliasearch-jekyll with command line like this and i have this issue
How can i fix it ? Thx