Ruby version is 2.1, the devkit is installed successfully
C: \ Ruby21 & gt; Gem install cf - uaac - r - source http://rubygems.org/
ERROR: While executing gem... (Gem: : RemoteFetcher: : FetchError)
Errno: : ETIMEDOUT: A connection attempt failed because the connected party d
D not properly respond after a period of time, or established connection failed
Because connected host has failed to respond. - connect (2) for the "API. Rubygems. Or
"The port 80 (http://api.rubygems.org/gems/cf-uaa-lib-3.1.0.gem)
C: \ Ruby21 & gt; Gem install cf - uaac - r - source http://rubygems.org/
Fetching: cf - uaa - lib - 3.1.0. Gem (100%)
Successfully installed cf - uaa - lib - 3.1.0
Fetching: highline - 1.6.21. Gem (100%)
Successfully installed highline - 1.6.21
Fetching: eventmachine - 1.0.7. Gem (100%)
Temporarily enhancing the PATH to the include DevKit...
Building native extensions. This could take a while...
ERROR: ERROR installing cf - uaac:
ERROR: Failed to build the gem native extension.
C:/Ruby21/bin/ruby. Exe extconf. Rb
Checking for the main () in - LSSL... * * * * * * extconf in rb failed
Could not create a Makefile due to some reason, probably lack of necessary
Libraries and/or headers. Check the MKMF. The log file for more details. You may
Need the configuration options.
Provided the configuration options:
- with opt - dir
- without - opt - dir
- with opt - include
- without - opt - include=${opt - dir}/include
- with opt - lib
- without - opt - lib=${opt - dir}/lib
- with - the make - prog
- without - make - prog
-- srcdir=.
- curdir
- ruby=C:/Ruby21/bin/ruby
- with openssl - config
- without - openssl - config
- with - PKG - config
- without - PKG - config
- with SSL - dir
- without - SSL - dir
- with SSL - include
- without - SSL - include=${SSL - dir}/include
- with SSL - lib
- without - SSL - lib=${SSL - dir}/lib
- with - ssllib
- without - ssllib
C:/Ruby21/lib/ruby/2.1.0/MKMF rb: 456: in ` try_do ': The compiler failed to generat
E an executable file. (RuntimeError)
You have to install the development tools first.
The from C:/Ruby21/lib/ruby/2.1.0/MKMF rb: 541: in ` try_link0 '
The from C:/Ruby21/lib/ruby/2.1.0/MKMF rb: 556: in ` try_link '
The from C:/Ruby21/lib/ruby/2.1.0/MKMF rb: 742: in ` try_func '
The from C:/Ruby21/lib/ruby/2.1.0/MKMF rb: 973: in ` block in have_library '
The from C:/Ruby21/lib/ruby/2.1.0/MKMF rb: 918: in ` block in checking_for '
The from C:/Ruby21/lib/ruby/2.1.0/MKMF rb: 351: in ` block (2 levels) in postpo
Ne '
The from C:/Ruby21/lib/ruby/2.1.0/MKMF rb: 321: in ` open '
The from C:/Ruby21/lib/ruby/2.1.0/MKMF rb: 351: in ` block in postpone '
The from C:/Ruby21/lib/ruby/2.1.0/MKMF rb: 321: in ` open '
The from C:/Ruby21/lib/ruby/2.1.0/MKMF rb: 347: in ` postpone '
The from C:/Ruby21/lib/ruby/2.1.0/MKMF rb: 917: in ` checking_for '
The from C:/Ruby21/lib/ruby/2.1.0/MKMF rb: 968: in ` have_library '
The from extconf. Rb: 5: in ` block in check_libs'
The from extconf. Rb: 5: ` in each '
The from extconf. Rb: 5: ` in all? '
The from extconf. Rb: 5: in ` check_libs'
The from extconf. Rb: 39: in ` manual_ssl_config '
The from extconf. Rb: 64: in ` & lt; Main> '
Extconf failed, the exit code 1
Gem files will remain installed in C:/Ruby21/lib/ruby/gems/2.1.0/gems/eventmachi
Ne - 1.0.7 for inspection.
Results logged to C:/Ruby21/lib/ruby/gems/2.1.0/extensions/x86 - mingw32 2.1.0/eve
Ntmachine 1.0.7/gem_make. Out
CodePudding user response:
C: \ Ruby21 & gt; Gem install cf - uaac - r - source http://rubygems.org/Fetching: cf - uaa - lib - 3.1.0. Gem (100%)
Successfully installed cf - uaa - lib - 3.1.0
Fetching: highline - 1.6.21. Gem (100%)
Successfully installed highline - 1.6.21
Fetching: eventmachine - 1.0.7. Gem (100%)
Temporarily enhancing the PATH to the include DevKit...
Building native extensions. This could take a while...
ERROR: ERROR installing cf - uaac:
ERROR: Failed to build the gem native extension.
C:/Ruby21/bin/ruby. Exe extconf. Rb
Checking for the main () in - LSSL... * * * * * * extconf in rb failed
Could not create a Makefile due to 60400. com "reason, probably lack of necessary
Libraries and/or headers. Check the MKMF. The log file for more details. You may
Need the configuration options.
Provided the configuration options:
- with opt - dir
- without - opt - dir
- with opt - include
- without - opt - include=${opt - dir}/include
- with opt - lib
- without - opt - lib=${opt - dir}/lib
- with - the make - prog
- without - make - prog
-- srcdir=.
- curdir
- ruby=C:/Ruby21/bin/ruby
- with openssl - config
- without - openssl - config
- with - PKG - config
- without - PKG - config
- with SSL - dir
- without - SSL - dir
- with SSL - include
- without - SSL - include=${SSL - dir}/include
- with SSL - lib
- without - SSL - lib=${SSL - dir}/lib
- with - ssllib
- without - ssllib