ruby - ERROR: Failed to build gem native extension on rubygem installation -


When trying to "install bundle", I get an error message below

environment ==

OSX 10.9.4 , RBNI 0.4.0 , Ruby 2.1.2 , Homebrew 0.9.5

  Gems :: Extension :: build error: Error: Failed to create gem native extension /Users/irotakagotanda/.rbenv/versions/2.1.2/bin/ruby extconf.rb *** extconf.rb failed *** Could not create Makefile due to some reason, maybe there is a lack of necessary libraries and / or headers. Check the mkmf.log file for information. You may need configuration options. Configurable options available: - With-Opt-Direction - Without - OPTION DIRECTION - OP-IN - WITHOUT OPTION = $ {opt-dir} / include --with-opt-lib-without-opt-in -lib = $ {opt-dir} / lib - with-makeup -pag - without-make-handling --srcdir =. --Kurdir - RUB = / User / Hirokkandan / Rbenv / version / 2.1.2 / bin / Rabbi / Users / Hirokagotand /. RBNV / Version-2.1.2 / LIB / RUB / 2/1 / F / FULUTIES. RB: 1573: In 'State': Any such file or directory @ rb_file_s_stat - ./212/ruby_debug.h (Errno :: ENOENT) /users/irotakagotanda/.rbenv/versions/2.1.2/lib/ruby/2.1.0 to /fileutils.rb:1573:IN / users / urotakagotanda / .rbenv / versions / 2.1.2 / lib / ruby ​​/ 2.1. 0 / fileutils.rb: 1587: From '/ fu_each_src_dest0' to 'user / user /' to 'fu_each_src_dest' Block / HirotaGots /. Rbenv / versions / 2.1.2 / lib / ruby ​​/ 2.1.0 / fileutils.rb: 1571: in / fs_each_src_dest in / User / Hiroshaganda / RBAN / Version2 / 2.1 / Leib / Ruby / 2 0 / fileutils.rb: 399: in `CP 'with extconf.rb: 83:` in block & lt; Main & gt; ' From Extconf.rb: 82: In 'each' from extconf.rb: 82: ` 

Can someone provide me the solution, I am unfortunate to find someone ...

This is probably a problem with Xcode command line tools. There are several steps to get this right.

This question provides an example.


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

c# - Create dynamic LINQ query expression at runtime which translates into a parameterized SQL query for nullable types -

cmake - cpack generates RPMs with %files entries that conflict with the RPM spec. How to fix? -