Closed brnrc closed 11 years ago
@brucardoso2 can you tell us which version of devkit did you download?
Also, what are the contents of mkmf.log
file that was left inside the gem installation directory?
Thank you.
@luislavena Version: DevKit-mingw64-32-4.7.2-20130224-1151-sfx.exe
I found two mkmf.log, here they are: C:\Ruby200-x64\lib\ruby\gems\2.0.0\gems\gherkin-2.11.6\ext\gherkin_lexer_ar\mkmf.log
"x86_64-w64-mingw32-gcc -o conftest.exe -IC:/Ruby200-x64/include/ruby-2.0.0/x64-mingw32 -IC:/Ruby200-x64/include/ruby-2.0.0/ruby/backward -IC:/Ruby200-x64/include/ruby-2.0.0 -I. -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -O0 -Wall conftest.c -L. -LC:/Ruby200-x64/lib -L. -lx64-msvcrt-ruby200 -lshell32 -lws2_32 -limagehlp -lshlwapi "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: int main(void) {return 0;}
/* end */
C:\Ruby200-x64\lib\ruby\gems\2.0.0\gems\bson_ext-1.8.4\ext\cbson\mkmf.log
"x86_64-w64-mingw32-gcc -o conftest.exe -IC:/Ruby200-x64/include/ruby-2.0.0/x64-mingw32 -IC:/Ruby200-x64/include/ruby-2.0.0/ruby/backward -IC:/Ruby200-x64/include/ruby-2.0.0 -I. -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -LC:/Ruby200-x64/lib -L. -lx64-msvcrt-ruby200 -lshell32 -lws2_32 -limagehlp -lshlwapi "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: int main(void) {return 0;}
/* end */
Version: DevKit-mingw64-32-4.7.2-20130224-1151-sfx.exe
That is the wrong devkit for the x64 version of Ruby.
As mentioned in the Download page:
http://rubyinstaller.org/downloads
Ruby 1.8.6 to 1.9.3: tdm-32-4.5.2
Ruby 2.0.0: mingw64-32-4.7.2
Ruby 2.0.0 x64 (64bits): mingw64-64-4.7.2
You need to download and install mingw64-64-4.7.2
@luislavena Thank you for your quick and assertive response.
@brucardoso2 it is confusing because mingw64-64 seems repetitive, but mingw-w64
is the name of the project we are using the compiler from, so that is why is named mingw64
Hope that makes sense.
hi I have installed Ruby rubyinstaller-2.0.0-p247-x64 with devkit DevKit-mingw64-32-4.7.2-20130224-1151-sfx
Still I get the same error: Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... ERROR: Error installing calabash-android: ERROR: Failed to build gem native extension.
C:/Ruby200-x64/bin/ruby.exe extconf.rb
checking for main() in -lc... * extconf.rb failed * Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options.
Provided 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-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=C:/Ruby200-x64/bin/ruby
--with-gherkin_lexer_pt-dir
--without-gherkin_lexer_pt-dir
--with-gherkin_lexer_pt-include
--without-gherkin_lexer_pt-include=${gherkin_lexer_pt-dir}/include
--with-gherkin_lexer_pt-lib
--without-gherkin_lexer_pt-lib=${gherkin_lexer_pt-dir}/
--with-clib
--without-clib
C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:430:in try_do': The compiler failed to ge nerate an executable file. (RuntimeError) You have to install development tools first. from C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:515:in
try_link0'
from C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:530:in try_link' from C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:716:in
try_func'
from C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:946:in block in have_library ' from C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:891:in
block in checking_for
'
from C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:336:in block (2 levels) in p ostpone' from C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:306:in
open'
from C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:336:in block in postpone' from C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:306:in
open'
from C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:332:in postpone' from C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:890:in
checking_for'
from C:/Ruby200-x64/lib/ruby/2.0.0/mkmf.rb:941:in have_library' from extconf.rb:5:in
Gem files will remain installed in C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/gherk in-2.12.0 for inspection. Results logged to C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/gherkin-2.12.0/ext/ghe rkin_lexer_pt/gem_make.out
You are mixing compiler and ruby.
The version of ruby you downloaded is 64 bits but the compiler is 32... Please see the downloads page of rubyinstaller site:
http://rubyinstaller.org/downloads
Ruby 1.8.6 to 1.9.3: tdm-32-4.5.2 Ruby 2.0.0: mingw64-32-4.7.2 Ruby 2.0.0 x64 (64bits): mingw64-64-4.7.2
You're installing the wrong devkit.
hello, I'm trying to install in my computer too, but without sucess. I'm using: rubyinstaller-2.0.0-p247-x64 and DevKit-mingw64-64-4.7.2-20130224-1432-sfx - this is correct, isn't it?
but always I try to install, happen this error, I'll show you all the steps I did:
hp@HP1 ~/Documents/Aptana Studio 3 Workspace/sadfggfwr $ rails . sh.exe": rails: command not found
hp@HP1 /c/DevKit $ cd c:/DevKit
hp@HP1 /c/DevKit $ ruby dk.rb init [INFO] found RubyInstaller v2.0.0 at C:/Ruby200-x64
Initialization complete! Please review and modify the auto-generated 'config.yml' file to ensure it contains the root directories to all of the installed Rubies you want enhanced by the DevKit.
hp@HP1 /c/DevKit $ ruby dk.rb install [INFO] Skipping existing gem override for 'C:/Ruby200-x64' [WARN] Skipping existing DevKit helper library for 'C:/Ruby200-x64'
hp@HP1 /c/DevKit $ gem install ruby-debug-ide19 --platform=ruby Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... ERROR: Error installing ruby-debug-ide19: ERROR: Failed to build gem native extension.
c:/Ruby200-x64/bin/ruby.exe extconf.rb
checking for vm_core.h... no
c:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/ruby_core_source-0.1.5/lib/ruby_core_sou
rce.rb:39:in create_makefile_with_core': Use RbConfig instead of obsolete and d eprecated Config. c:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/ruby_core_source-0.1.5/lib/ruby_core_sou rce.rb:39:in
create_makefile_with_core': Use RbConfig instead of obsolete and d
eprecated Config.
checking for vm_core.h... no
* extconf.rb failed *
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided 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-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=c:/Ruby200-x64/bin/ruby
--with-ruby-dir
--without-ruby-dir
--with-ruby-include
--without-ruby-include=${ruby-dir}/include
--with-ruby-lib
--without-ruby-lib=${ruby-dir}/
c:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/ruby_core_source-0.1.5/lib/contrib/uri_e
xt.rb:268:in block (2 levels) in read': Looking for http://ftp.ruby-lang.org/pu b/ruby/1.9/ruby-2.0.0-p247.tar.gz and all I got was a 404! (URI::NotFoundError) from c:/Ruby200-x64/lib/ruby/2.0.0/net/http.rb:1413:in
block (2 levels)
in transportrequest'
from c:/Ruby200-x64/lib/ruby/2.0.0/net/http/response.rb:162:in `reading
body'
from c:/Ruby200-x64/lib/ruby/2.0.0/net/http.rb:1412:inblock in transpo rt_request' from c:/Ruby200-x64/lib/ruby/2.0.0/net/http.rb:1403:in
catch'
from c:/Ruby200-x64/lib/ruby/2.0.0/net/http.rb:1403:intransport_reques t' from c:/Ruby200-x64/lib/ruby/2.0.0/net/http.rb:1376:in
request'
from c:/Ruby200-x64/lib/ruby/2.0.0/net/http.rb:1369:inblock in request ' from c:/Ruby200-x64/lib/ruby/2.0.0/net/http.rb:852:in
start'
from c:/Ruby200-x64/lib/ruby/2.0.0/net/http.rb:1367:inrequest' from c:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/ruby_core_source-0.1.5/lib/ contrib/uri_ext.rb:239:in
block in read'
from c:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/ruby_core_source-0.1.5/lib/
contrib/uri_ext.rb:286:inconnect' from c:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/ruby_core_source-0.1.5/lib/ contrib/uri_ext.rb:234:in
read'
from c:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/ruby_core_source-0.1.5/lib/
contrib/uri_ext.rb:128:indownload' from c:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/ruby_core_source-0.1.5/lib/ ruby_core_source.rb:55:in
block in create_makefile_with_core'
from c:/Ruby200-x64/lib/ruby/2.0.0/tempfile.rb:324:inopen' from c:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/ruby_core_source-0.1.5/lib/ ruby_core_source.rb:51:in
create_makefile_with_core'
from extconf.rb:19:in`
Gem files will remain installed in c:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/linec ache19-0.5.12 for inspection. Results logged to c:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/linecache19-0.5.12/ext /trace_nums/gem_make.out
I tried with almost all versions, but without success, may you help me with this? I'm sorry for my english, I'm not american, thanks! if possible, send me an e-mail, my address is: marcio.assuncao@outlook.com thanks so much!
hp@HP1 ~/Documents/Aptana Studio 3 Workspace/sadfggfwr $ rails . sh.exe": rails: command not found
Seems you're inside a bash shell? please avoid mixing bash with native Ruby (RubyInstaller is native)
The errors you're receiving about ruby-debug19 is simply because ruby-debug19 do not work against Ruby 2.0
Neither debugger gems supports it properly.
I recommend you take a look to debugger2 gem instead.
my gosh I did, thanks dude for help me on that! I am really so happy, for you help I managed to do that! thanks for open my mind to see that and fix that... ^.^ there you go the conclusion: send my a e-mail later if you need something that I can help you.
Microsoft Windows versão 6.2.9200 2012 Microsoft Corporation. Todos os direitos reservados.
C:\Users\hp>gem install debugger Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... Successfully installed debugger-1.6.1 Parsing documentation for debugger-1.6.1 unable to convert "\x90" from ASCII-8BIT to UTF-8 for lib/ruby_debug.so, skippin g 1 gem installed
C:\Users\hp>gem install rails Fetching: actionpack-4.0.0.gem (100%) Successfully installed actionpack-4.0.0 Fetching: activemodel-4.0.0.gem (100%) Successfully installed activemodel-4.0.0 Fetching: arel-4.0.0.gem (100%) Successfully installed arel-4.0.0 Fetching: activerecord-deprecated_finders-1.0.3.gem (100%) Successfully installed activerecord-deprecated_finders-1.0.3 Fetching: activerecord-4.0.0.gem (100%) Successfully installed activerecord-4.0.0 Fetching: mime-types-1.24.gem (100%) Successfully installed mime-types-1.24 Fetching: polyglot-0.3.3.gem (100%) Successfully installed polyglot-0.3.3 Fetching: treetop-1.4.15.gem (100%) Successfully installed treetop-1.4.15 Fetching: mail-2.5.4.gem (100%) Successfully installed mail-2.5.4 Fetching: actionmailer-4.0.0.gem (100%) Successfully installed actionmailer-4.0.0 Fetching: thor-0.18.1.gem (100%) Successfully installed thor-0.18.1 Fetching: railties-4.0.0.gem (100%) Successfully installed railties-4.0.0 Fetching: bundler-1.3.5.gem (100%) Successfully installed bundler-1.3.5 Fetching: hike-1.2.3.gem (100%) Successfully installed hike-1.2.3 Fetching: tilt-1.4.1.gem (100%) Successfully installed tilt-1.4.1 Fetching: sprockets-2.10.0.gem (100%) Successfully installed sprockets-2.10.0 Fetching: sprockets-rails-2.0.0.gem (100%) Successfully installed sprockets-rails-2.0.0 Fetching: rails-4.0.0.gem (100%) Successfully installed rails-4.0.0 Parsing documentation for actionpack-4.0.0 Installing ri documentation for actionpack-4.0.0 Parsing documentation for activemodel-4.0.0 Installing ri documentation for activemodel-4.0.0 Parsing documentation for arel-4.0.0 Installing ri documentation for arel-4.0.0 Parsing documentation for activerecord-deprecated_finders-1.0.3 Installing ri documentation for activerecord-deprecated_finders-1.0.3 Parsing documentation for activerecord-4.0.0 Installing ri documentation for activerecord-4.0.0 Parsing documentation for mime-types-1.24 Installing ri documentation for mime-types-1.24 Parsing documentation for polyglot-0.3.3 Installing ri documentation for polyglot-0.3.3 Parsing documentation for treetop-1.4.15 Installing ri documentation for treetop-1.4.15 Parsing documentation for mail-2.5.4 unable to convert "\x80" from ASCII-8BIT to UTF-8 for lib/mail/values/unicode_ta bles.dat, skipping Installing ri documentation for mail-2.5.4 Parsing documentation for actionmailer-4.0.0 Installing ri documentation for actionmailer-4.0.0 Parsing documentation for thor-0.18.1 Installing ri documentation for thor-0.18.1 Parsing documentation for railties-4.0.0 Installing ri documentation for railties-4.0.0 Parsing documentation for bundler-1.3.5 Installing ri documentation for bundler-1.3.5 Parsing documentation for hike-1.2.3 Installing ri documentation for hike-1.2.3 Parsing documentation for tilt-1.4.1 Installing ri documentation for tilt-1.4.1 Parsing documentation for sprockets-2.10.0 Installing ri documentation for sprockets-2.10.0 Parsing documentation for sprockets-rails-2.0.0 Installing ri documentation for sprockets-rails-2.0.0 Parsing documentation for rails-4.0.0 unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/belon gsto.png, skipping unable to convert "\xF4" from ASCII-8BIT to UTF-8 for guides/assets/images/book icon.gif, skipping unable to convert "\x91" from ASCII-8BIT to UTF-8 for guides/assets/images/bulle t.gif, skipping unable to convert "\xF5" from ASCII-8BIT to UTF-8 for guides/assets/images/chapt ers_icon.gif, skipping unable to convert "\xF5" from ASCII-8BIT to UTF-8 for guides/assets/images/check _bullet.gif, skipping unable to convert "\xF4" from ASCII-8BIT to UTF-8 for guides/assets/images/credi ts_picblank.gif, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/csrf. png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/edge badge.png, skipping unable to convert "\x9E" from ASCII-8BIT to UTF-8 for guides/assets/images/favic on.ico, skipping unable to convert "\x80" from ASCII-8BIT to UTF-8 for guides/assets/images/featu re_tile.gif, skipping unable to convert "\x80" from ASCII-8BIT to UTF-8 for guides/assets/images/foote r_tile.gif, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/fxn.p ng, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getti ng_started/challenge.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getti ng_started/confirm_dialog.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getti ng_started/forbidden_attributes_for_new_post.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getti ng_started/form_with_errors.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getti ng_started/index_action_with_edit_link.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getti ng_started/new_post.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getti ng_started/post_with_comments.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getti ng_started/rails_welcome.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getti ng_started/routing_error_no_controller.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getti ng_started/routing_error_no_route_matches.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getti ng_started/show_action_for_posts.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getti ng_started/template_is_missing_posts_new.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getti ng_started/undefined_method_post_path.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getti ng_started/unknown_action_create_for_posts.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/getti ng_started/unknown_action_new_forposts.png, skipping unable to convert "\xF0" from ASCII-8BIT to UTF-8 for guides/assets/images/grey bullet.gif, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/habtm .png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/has_m any.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/has_m any_through.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/has_o ne.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/has_o ne_through.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/heade r_backdrop.png, skipping unable to convert "\x80" from ASCII-8BIT to UTF-8 for guides/assets/images/heade r_tile.gif, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/i18n/ demo_html_safe.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/i18n/ demo_localized_pirate.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/i18n/ demo_translated_en.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/i18n/ demo_translated_pirate.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/i18n/ demo_translation_missing.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/i18n/ demo_untranslated.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons /callouts/1.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons /callouts/10.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons /callouts/11.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons /callouts/12.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons /callouts/13.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons /callouts/14.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons /callouts/15.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons /callouts/2.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons /callouts/3.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons /callouts/4.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons /callouts/5.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons /callouts/6.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons /callouts/7.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons /callouts/8.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons /callouts/9.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons /caution.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons /example.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons /home.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons /important.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons /next.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons /note.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons /prev.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons /tip.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons /up.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/icons /warning.png, skipping unable to convert "\xFF" from ASCII-8BIT to UTF-8 for guides/assets/images/jaime iniesta.jpg, skipping unable to convert "\xF5" from ASCII-8BIT to UTF-8 for guides/assets/images/nav_a rrow.gif, skipping unable to convert "\xFF" from ASCII-8BIT to UTF-8 for guides/assets/images/oscar delben.jpg, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/polym orphic.png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/radar .png, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/rails 4_features.png, skipping unable to convert "\xFF" from ASCII-8BIT to UTF-8 for guides/assets/images/rails _guides_kindle_cover.jpg, skipping unable to convert "\xEC" from ASCII-8BIT to UTF-8 for guides/assets/images/rails _guides_logo.gif, skipping unable to convert "\x8C" from ASCII-8BIT to UTF-8 for guides/assets/images/rails _logo_remix.gif, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/sessi on_fixation.png, skipping unable to convert "\x80" from ASCII-8BIT to UTF-8 for guides/assets/images/tab_g rey.gif, skipping unable to convert "\x80" from ASCII-8BIT to UTF-8 for guides/assets/images/tab_i nfo.gif, skipping unable to convert "\x80" from ASCII-8BIT to UTF-8 for guides/assets/images/tab_n ote.gif, skipping unable to convert "\x80" from ASCII-8BIT to UTF-8 for guides/assets/images/tab_r ed.gif, skipping unable to convert "\x80" from ASCII-8BIT to UTF-8 for guides/assets/images/tab_y ellow.gif, skipping unable to convert "\x89" from ASCII-8BIT to UTF-8 for guides/assets/images/tab_y ellow.png, skipping unable to convert "\xFF" from ASCII-8BIT to UTF-8 for guides/assets/images/vijay dev.jpg, skipping Installing ri documentation for rails-4.0.0 18 gems installed
hi guys, I am following this guide to install ruby dev kit. https://github.com/oneclick/rubyinstaller/wiki/Development-Kit and I failed in step5.
I use rubyinstaller-2.2.3-x64.exe and DevKit-mingw64-64-4.7.2-20130224-1432-sfx.exe.
could someone help me, please?
Hate to open this issue again, but I'm having the same issue. is there a fix?
C:\Users\Administrator>cd C:\Ruby24-x64
C:\Ruby24-x64>which ruby
/cygdrive/c/Ruby24-x64/bin/ruby
C:\Ruby24-x64>gem install json --platform=ruby
Temporarily enhancing PATH for MSYS/MINGW...
Building native extensions. This could take a while...
ERROR: Error installing json:
ERROR: Failed to build gem native extension.
current directory: C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/json-2.1.0/ext/json/ext/generator
C:/Ruby24-x64/bin/ruby.exe -r ./siteconf20170602-32744-jv5yes.rb extconf.rb
creating Makefile
current directory: C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/json-2.1.0/ext/json/ext/generator
make "DESTDIR=" clean
'make' is not recognized as an internal or external command,
operable program or batch file.
current directory: C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/json-2.1.0/ext/json/ext/generator
make "DESTDIR="
'make' is not recognized as an internal or external command,
operable program or batch file.
make failed, exit code 1
Gem files will remain installed in C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/json-2.1.0 for inspection.
Results logged to C:/Ruby24-x64/lib/ruby/gems/2.4.0/extensions/x64-mingw32/2.4.0/json-2.1.0/gem_make.out
C:\Ruby24-x64>
@seanvree You need to install the development tools first per ridk install
. See also https://stackoverflow.com/a/44244005/4743028
@larskanis -
Right, I actually saw that after I posted this .
So if we have ruby 2.4 then we don't need the Devkit if we have MSYS2 ?
Also, I'm still getting this MAKE FAILED, EXIT CODE 2 error.
I can run MAKE just fine in the same prompt.
C:\Ruby24-x64>ridk version
---
ruby:
path: C:/Ruby24-x64
version: 2.4.1
platform: x64-mingw32
ruby_installer:
package_version: 2.4.1-1
git_commit: 6635d31
msys2:
path: C:\msys64
title: MSYS2 64bit
version: '20161025'
cc: x86_64-w64-mingw32-gcc (Rev3, Built by MSYS2 project) 6.3.0
sh: GNU bash, version 4.3.46(2)-release (x86_64-pc-msys)
C:\Ruby24-x64>ridk exec pacman -S mingw-w64-x86_64-sqlite3
resolving dependencies...
looking for conflicting packages...
Packages (8) mingw-w64-x86_64-expat-2.2.0-2 mingw-w64-x86_64-gettext-0.19.8.1-2
mingw-w64-x86_64-libsystre-1.0.1-3 mingw-w64-x86_64-libtre-git-r128.6fb7206-1
mingw-w64-x86_64-ncurses-6.0.20170325-1 mingw-w64-x86_64-readline-7.0.003-1
mingw-w64-x86_64-termcap-1.3.1-2 mingw-w64-x86_64-sqlite3-3.18.0-1
Total Download Size: 6.11 MiB
Total Installed Size: 40.56 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
mingw-w64-x86_64-expat-2.2.0-2-any 120.3 KiB 1973K/s 00:00 [#####################################] 100%
mingw-w64-x86_64-gettext-0.19.8.1-2-any 3.1 MiB 2.30M/s 00:01 [#####################################] 100%
mingw-w64-x86_64-libtre-git-r128.6fb72... 82.1 KiB 11.5M/s 00:00 [#####################################] 100%
mingw-w64-x86_64-libsystre-1.0.1-3-any 21.6 KiB 21.1M/s 00:00 [#####################################] 100%
mingw-w64-x86_64-ncurses-6.0.20170325-... 1715.5 KiB 3.47M/s 00:00 [#####################################] 100%
mingw-w64-x86_64-termcap-1.3.1-2-any 12.6 KiB 0.00B/s 00:00 [#####################################] 100%
mingw-w64-x86_64-readline-7.0.003-1-any 353.4 KiB 4.79M/s 00:00 [#####################################] 100%
mingw-w64-x86_64-sqlite3-3.18.0-1-any 746.7 KiB 3.70M/s 00:00 [#####################################] 100%
(8/8) checking keys in keyring [#####################################] 100%
(8/8) checking package integrity [#####################################] 100%
(8/8) loading package files [#####################################] 100%
(8/8) checking for file conflicts [#####################################] 100%
(8/8) checking available disk space [#####################################] 100%
:: Processing package changes...
(1/8) installing mingw-w64-x86_64-expat [#####################################] 100%
(2/8) installing mingw-w64-x86_64-gettext [#####################################] 100%
(3/8) installing mingw-w64-x86_64-libtre-git [#####################################] 100%
(4/8) installing mingw-w64-x86_64-libsystre [#####################################] 100%
(5/8) installing mingw-w64-x86_64-ncurses [#####################################] 100%
(6/8) installing mingw-w64-x86_64-termcap [#####################################] 100%
(7/8) installing mingw-w64-x86_64-readline [#####################################] 100%
(8/8) installing mingw-w64-x86_64-sqlite3 [#####################################] 100%
C:\Ruby24-x64>gem install sqlite3 --platform ruby
Fetching: sqlite3-1.3.13.gem (100%)
Temporarily enhancing PATH for MSYS/MINGW...
Building native extensions. This could take a while...
ERROR: Error installing sqlite3:
ERROR: Failed to build gem native extension.
current directory: C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sqlite3-1.3.13/ext/sqlite3
C:/Ruby24-x64/bin/ruby.exe -r ./siteconf20170602-1448-2q2cyo.rb extconf.rb
checking for sqlite3.h... yes
checking for pthread_create() in -lpthread... yes
checking for sqlite3_libversion_number() in -lsqlite3... yes
checking for rb_proc_arity()... yes
checking for rb_integer_pack()... yes
checking for sqlite3_initialize()... yes
checking for sqlite3_backup_init()... yes
checking for sqlite3_column_database_name()... yes
checking for sqlite3_enable_load_extension()... yes
checking for sqlite3_load_extension()... yes
checking for sqlite3_open_v2()... yes
checking for sqlite3_prepare_v2()... yes
checking for sqlite3_int64 in sqlite3.h... yes
checking for sqlite3_uint64 in sqlite3.h... yes
creating Makefile
current directory: C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sqlite3-1.3.13/ext/sqlite3
make "DESTDIR=" clean
current directory: C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sqlite3-1.3.13/ext/sqlite3
make "DESTDIR="
generating sqlite3_native-x64-mingw32.def
make: *** No rule to make target '/C/Ruby24-x64/include/ruby-2.4.0/ruby.h', needed by 'backup.o'. Stop.
make failed, exit code 2
Gem files will remain installed in C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sqlite3-1.3.13 for inspection.
Results logged to C:/Ruby24-x64/lib/ruby/gems/2.4.0/extensions/x64-mingw32/2.4.0/sqlite3-1.3.13/gem_make.out
C:\Ruby24-x64>
Thanks, help me.
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Diogo Francisco Mirandamailto:notifications@github.com Sent: Friday, August 4, 2017 12:23 AM To: oneclick/rubyinstallermailto:rubyinstaller@noreply.github.com Cc: Subscribedmailto:subscribed@noreply.github.com Subject: Re: [oneclick/rubyinstaller] Failling to Test DevKit Installation (#164)
Thanks, help me.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/oneclick/rubyinstaller/issues/164#issuecomment-320058516, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQveSF3QEi-PoV_fNscPd0wGLoe2RdLfks5sUhckgaJpZM4AixPs.
Hi guys, I'm trying to set my dev environment on my PC, so I went through the installation process and got stuck: (I did the previous steps, pasting the last two only) First I did this:
And then this:
I also tried Scenario A and B of the troubleshooting guide, both without success. Moving out to Linux until then... Thank you.