Closed ahmadhasankhan closed 10 years ago
It looks like this was installed on a windows machine. I have never tried to install this project on windows but a friend did contribute this doc a couple years ago.
https://github.com/drhenner/ror_ecommerce/wiki/Window-Installation
I'd be curious if anything in the doc needs to be updated. I hope this helps.
Fetching gem metadata from http://rubygems.org/....... Fetching additional metadata from http://rubygems.org/.. Resolving dependencies.... Using rake 10.2.2 Using Ascii85 1.0.2 Using RedCloth 4.2.9 Using i18n 0.6.9 Using minitest 4.7.5 Using multi_json 1.9.2 Using thread_safe 0.3.3 Using tzinfo 0.3.39 Using activesupport 4.0.4 Using builder 3.1.4 Using erubis 2.7.0 Using rack 1.5.2 Using rack-test 0.6.2 Using actionpack 4.0.4 Using mime-types 1.25.1 Using polyglot 0.3.4 Using treetop 1.4.15 Using mail 2.5.4 Using actionmailer 4.0.4 Using actionpack-page_caching 1.0.2 Using active_utils 2.0.2 Using json 1.8.1 Using money 6.1.1 Using mini_portile 0.5.3 Using nokogiri 1.6.1 Using activemerchant 1.29.3 Using activemodel 4.0.4 Using activerecord-deprecated_finders 1.0.3 Using arel 4.0.2 Using activerecord 4.0.4 Using addressable 2.3.6 Using afm 0.2.0 Using american_date 1.1.0 Using excon 0.32.1 Using formatador 0.2.4 Using net-ssh 2.8.0 Using net-scp 1.2.0 Using fog-core 1.21.1 Using fog-json 1.0.0 Using fog-brightbox 0.0.2 Using fog 1.21.0 Using asset_sync 1.0.0 Using authlogic 3.3.0 from git://github.com/binarylogic/authlogic.git (at e4b2990) Using autotest-rails-pure 4.1.2 Using awesome_nested_set 3.0.0.rc.3 Using uuidtools 2.1.4 Using aws-sdk 1.38.0 Using coderay 1.1.0 Using better_errors 0.9.0 Using debug_inspector 0.0.2 Using binding_of_caller 0.7.2
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
checking for srand()... yes checking for random()... no checking for rand()... yes checking for bzero() in string.h,strings.h... no checking for strcasecmp()... yes checking for strncasecmp()... yes checking for mkdio.h... yes checking for ruby/encoding.h... yes creating extconf.h creating Makefile
make "DESTDIR=" generating bluecloth_ext-i386-mingw32.def compiling bluecloth.c In file included from c:\devkit\mingw\bin../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/include/windows.h:59:0, from c:\devkit\mingw\bin../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/include/winsock2.h:23, from c:/Ruby200/include/ruby-2.0.0/ruby/win32.h:40, from c:/Ruby200/include/ruby-2.0.0/ruby/defines.h:153, from c:/Ruby200/include/ruby-2.0.0/ruby/ruby.h:70, from c:/Ruby200/include/ruby-2.0.0/ruby.h:33, from bluecloth.h:14, from bluecloth.c:25: c:\devkit\mingw\bin../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/include/windef.h:113:23: error: duplicate 'unsigned' c:\devkit\mingw\bin../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/include/windef.h:113:23: error: two or more data types in declaration specifiers c:\devkit\mingw\bin../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/include/windef.h:114:24: error: duplicate 'unsigned' c:\devkit\mingw\bin../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/include/windef.h:115:23: error: duplicate 'unsigned' make: *\ [bluecloth.o] Error 1
Gem files will remain installed in C:/Ruby200/lib/ruby/gems/2.0.0/gems/bluecloth-2.2.0 for inspection. Results logged to C:/Ruby200/lib/ruby/gems/2.0.0/gems/bluecloth-2.2.0/ext/gem_make.out An error occurred while installing bluecloth (2.2.0), and Bundler cannot continue. Make sure that
gem install bluecloth -v '2.2.0'
succeeds before bundling.Process finished with exit code 5