vmg / redcarpet

The safe Markdown parser, reloaded.
MIT License
4.99k stars 527 forks source link

Build fails inside Docker container based on Ubuntu 14.04 and ruby 2.1 #449

Closed soupdiver closed 9 years ago

soupdiver commented 9 years ago

I've git a Docker container based on phusion/baseimage and inside this container I compiled ruby 2.1.2 myself. I try to install the gem livingstyleguide and during this process redcarpet 3.0.0 will be installed. This always fails and I don't know why. This is the output:

ERROR:  Error installing livingstyleguide:
    ERROR: Failed to build gem native extension.

    /usr/local/bin/ruby extconf.rb
/usr/local/bin/ruby: invalid option -'  (-h will show valid options) (RuntimeError)

extconf failed, exit code 1

Gem files will remain installed in /usr/local/lib/ruby/2.1.0/rubygems/gems/redcarpet-3.0.0 for inspection.
Results logged to /usr/local/lib/ruby/2.1.0/rubygems/extensions/x86_64-linux/2.1.0-static/redcarpet-3.0.0/gem_make.out

Are there any special requirements?

soupdiver commented 9 years ago

sorry guys wasn't related to your repo.