Running windows 8. Uninstalled older version of rails and installed the most recent version using railsinstaller. Also installed DevKit. When I do a bundle install, however, I get the following:
c:\RubymineProjects\untitled>bundle install Fetching gem metadata from https://rubygems.org/.......... Fetching version metadata from https://rubygems.org/.. Resolving dependencies... Using rake 10.4.2 Using i18n 0.7.0 Gem::Ext::BuildError: ERROR: Failed to build gem native extension. C:/RailsInstaller/Ruby22/bin/ruby.exe -r ./siteconf20150419-17152-1ik7eap.rb extconf.rb creating Makefile make "DESTDIR=" clean make "DESTDIR=" generating generator-i386-mingw32.def compiling generator.c In file included from c:/RailsInstaller/Ruby22/include/ruby-2.2.0/ruby.h:33:0, from ../fbuffer/fbuffer.h:5, from generator.c:1: c:/RailsInstaller/Ruby22/include/ruby-2.2.0/ruby/ruby.h:111:14: error: size of a rray 'ruby_check_sizeof_voidp' is negative In file included from c:/RailsInstaller/Ruby22/include/ruby-2.2.0/ruby.h:33:0, from ../fbuffer/fbuffer.h:5, from generator.c:1: c:/RailsInstaller/Ruby22/include/ruby-2.2.0/ruby/ruby.h: In function 'rb_obj_fre eze_inline': c:/RailsInstaller/Ruby22/include/ruby-2.2.0/ruby/ruby.h:1156:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c:/RailsInstaller/Ruby22/include/ruby-2.2.0/ruby/ruby.h:1157:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c:/RailsInstaller/Ruby22/include/ruby-2.2.0/ruby/ruby.h:1158:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c:/RailsInstaller/Ruby22/include/ruby-2.2.0/ruby/ruby.h:1158:27: warning: cast t o pointer from integer of different size [-Wint-to-pointer-cast] c:/RailsInstaller/Ruby22/include/ruby-2.2.0/ruby/ruby.h: In function 'rb_data_ob ject_get': c:/RailsInstaller/Ruby22/include/ruby-2.2.0/ruby/ruby.h:1192:13: warning: cast t o pointer from integer of different size [-Wint-to-pointer-cast] c:/RailsInstaller/Ruby22/include/ruby-2.2.0/ruby/ruby.h: In function 'rb_obj_wri tten': c:/RailsInstaller/Ruby22/include/ruby-2.2.0/ruby/ruby.h:1271:10: warning: cast t o pointer from integer of different size [-Wint-to-pointer-cast] c:/RailsInstaller/Ruby22/include/ruby-2.2.0/ruby/ruby.h:1271:34: warning: cast t o pointer from integer of different size [-Wint-to-pointer-cast] c:/RailsInstaller/Ruby22/include/ruby-2.2.0/ruby/ruby.h: In function 'rb_num2cha r_inline': c:/RailsInstaller/Ruby22/include/ruby-2.2.0/ruby/ruby.h:1344:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c:/RailsInstaller/Ruby22/include/ruby-2.2.0/ruby/ruby.h:1344:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c:/RailsInstaller/Ruby22/include/ruby-2.2.0/ruby/ruby.h:1344:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c:/RailsInstaller/Ruby22/include/ruby-2.2.0/ruby/ruby.h:1344:36: warning: cast t o pointer from integer of different size [-Wint-to-pointer-cast] c:/RailsInstaller/Ruby22/include/ruby-2.2.0/ruby/ruby.h:1344:36: warning: cast t o pointer from integer of different size [-Wint-to-pointer-cast] c:/RailsInstaller/Ruby22/include/ruby-2.2.0/ruby/ruby.h:1344:36: warning: cast t o pointer from integer of different size [-Wint-to-pointer-cast] c:/RailsInstaller/Ruby22/include/ruby-2.2.0/ruby/ruby.h:1345:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c:/RailsInstaller/Ruby22/include/ruby-2.2.0/ruby/ruby.h:1345:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c:/RailsInstaller/Ruby22/include/ruby-2.2.0/ruby/ruby.h:1345:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c:/RailsInstaller/Ruby22/include/ruby-2.2.0/ruby/ruby.h: In function 'rb_class_o f': c:/RailsInstaller/Ruby22/include/ruby-2.2.0/ruby/ruby.h:1670:12: warning: cast t o pointer from integer of different size [-Wint-to-pointer-cast] c:/RailsInstaller/Ruby22/include/ruby-2.2.0/ruby/ruby.h: In function 'rb_type': c:/RailsInstaller/Ruby22/include/ruby-2.2.0/ruby/ruby.h:1687:12: warning: cast t o pointer from integer of different size [-Wint-to-pointer-cast] In file included from generator.c:1:0: ../fbuffer/fbuffer.h: In function 'fbuffer_append_str': ../fbuffer/fbuffer.h:127:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ../fbuffer/fbuffer.h:127:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ../fbuffer/fbuffer.h:127:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] generator.c: In function 'convert_UTF8_to_JSON_ASCII': generator.c:129:35: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:129:35: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:129:35: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:130:38: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:130:38: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:130:38: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c: In function 'convert_UTF8_to_JSON': generator.c:227:23: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:227:23: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:227:23: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:228:25: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:228:25: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:228:25: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c: In function 'cState_configure': generator.c:559:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:559:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:559:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:560:34: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:560:34: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:560:34: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:567:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:567:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:567:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:568:33: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:568:33: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:568:33: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:575:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:575:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:575:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:576:40: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:576:40: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:576:40: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:583:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:583:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:583:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:584:36: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:584:36: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:584:36: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:591:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:591:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:591:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:592:37: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:592:37: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:592:37: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c: In function 'set_state_ivars': generator.c:640:21: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:640:21: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:640:21: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:642:24: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:642:24: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:642:24: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c: In function 'generate_json_object': generator.c:727:20: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:727:20: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:727:20: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c: In function 'generate_json_array': generator.c:773:20: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:773:20: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:773:20: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c: In function 'isArrayOrObject': generator.c:930:23: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:930:23: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:930:23: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:931:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:931:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c:931:15: warning: cast to pointer from integer of different size [-Wi nt-to-pointer-cast] generator.c: In function 'cState_indent_set': generator.c:1055:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1055:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1055:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1064:32: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1064:32: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1064:32: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c: In function 'cState_space_set': generator.c:1093:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1093:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1093:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1102:31: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1102:31: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1102:31: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c: In function 'cState_space_before_set': generator.c:1129:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1129:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1129:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1138:38: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1138:38: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1138:38: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c: In function 'cState_object_nl_set': generator.c:1167:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1167:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1167:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1175:35: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1175:35: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1175:35: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c: In function 'cState_array_nl_set': generator.c:1202:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1202:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1202:11: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1210:34: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1210:34: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] generator.c:1210:34: warning: cast to pointer from integer of different size [-W int-to-pointer-cast] make: *** [generator.o] Error 1 make failed, exit code 2 Gem files will remain installed in C:/RailsInstaller/Ruby22/lib/ruby/gems/2.2.0/ gems/json-1.8.2 for inspection. Results logged to C:/RailsInstaller/Ruby22/lib/ruby/gems/2.2.0/extensions/x86-mi ngw32/2.2.0/json-1.8.2/gem_make.out An error occurred while installing json (1.8.2), and Bundler cannot continue. Make sure that `gem install json -v '1.8.2'` succeeds before bundling. Extra info: Tried gem install json -v 1,8,2 as suggested as well, same error message. Also: c:\\RubymineProjects\untitled>ruby -v ruby 2.2.1p85 (2015-02-26 revision 49769) [i386-mingw32] Any ideas? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/db90b776306828a81ee4613c1373328b%40ruby-forum.com. For more options, visit https://groups.google.com/d/optout.

