installing ruby gem plugins

Brady Emokpae's Avatar

Brady Emokpae

26 Jul, 2018 06:06 PM

Having a problem running this command ""gem", "install","--no-ri","--no-rdoc", "fluent-plugin-better-timestamp","--user-install","--source", ``` "http://rubygems.org" I get back this error WARNING: You don't have /root/.gem/ruby/2.3.0/bin in your PATH,
gem executables will not run. Building native extensions. This could take a while...
ERROR: Error installing fluent-plugin-better-timestamp:
ERROR: Failed to build gem native extension.

current directory: /root/.gem/ruby/2.3.0/gems/msgpack-0.5.12/ext/msgpack

/usr/bin/ruby2.3 -r ./siteconf20180726-75-11835p5.rb extconf.rb mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h

extconf failed, exit code 1

Gem files will remain installed in /root/.gem/ruby/2.3.0/gems/msgpack-0.5.12 for inspection.
Results logged to /root/.gem/ruby/2.3.0/extensions/x86_64-linux/2.3.0/msgpack-0.5.12/gem_make.out
-source http://rubygems.org -n /usr/local/bin -better-timestamp --user-install -- Building native extensions. This could take a while...
ERROR: Error installing fluent-plugin-better-timestamp:
ERROR: Failed to build gem native extension.

current directory: /root/.gem/ruby/2.3.0/gems/msgpack-0.5.12/ext/msgpack

/usr/bin/ruby2.3 -r ./siteconf20180726-84-ujvaq5.rb extconf.rb mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h

extconf failed, exit code 1

Gem files will remain installed in /root/.gem/ruby/2.3.0/gems/msgpack-0.5.12 for inspection.
Results logged to /root/.gem/ruby/2.3.0/extensions/x86_64-linux/2.3.0/msgpack-0.5.12/gem_make.ou ```

does anyone have a work around for this?

  1. Support Staff 1 Posted by kerrizor on 05 Aug, 2018 08:45 PM

    kerrizor's Avatar

    Thanks for writing us. Unfortunately, this is the support service for the RubyGems.org service, and we’re unable to provide support for individual gems or for particular local installs. Your best best is to look to the project’s website, repository, and documentation for more information, or search web resources such as Stack Overflow for more information.

    https://github.com/shivaken/fluent-plugin-better-timestamp

  2. kerrizor closed this discussion on 05 Aug, 2018 08:45 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac