Skip to content

Instantly share code, notes, and snippets.

@djberg96
Created July 24, 2013 19:32
Show Gist options
  • Save djberg96/6073735 to your computer and use it in GitHub Desktop.
Save djberg96/6073735 to your computer and use it in GitHub Desktop.
c:/Ruby193/bin/ruby.exe extconf.rb
creating Makefile
make
generating a-i386-mingw32.def
compiling a.c
linking shared-object a.so
make install
process_begin: CreateProcess((null), /usr/bin/mkdir -p c:/Users/djberge/AppData/Local/Temp/test
_rubygems_4724/gemhome/gems/a-2/.gem.20130724-4724-p7kukd, ...) failed.
make (e=2): The system cannot find the file specified.
make: [c:/Users/djberge/AppData/Local/Temp/test_rubygems_4724/gemhome/gems/a-2/.gem.20130724-47
24-p7kukd/a.so] Error 2 (ignored)
/usr/bin/install -c -m 0755 a.so c:/Users/djberge/AppData/Local/Temp/test_rubygems_4724/gemhome
/gems/a-2/.gem.20130724-4724-p7kukd
process_begin: CreateProcess((null), /usr/bin/install -c -m 0755 a.so c:/Users/djberge/AppData/
Local/Temp/test_rubygems_4724/gemhome/gems/a-2/.gem.20130724-4724-p7kukd, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [c:/Users/djberge/AppData/Local/Temp/test_rubygems_4724/gemhome/gems/a-2/.gem.2013072
4-4724-p7kukd/a.so] Error 2
------------------------------------------------------------------------------
E..........E....S.................S............................................................
...............................................................................................
...SS..........................................................................................
...............................................................................................
......................................................................................S........
.......S..........S............................................................................
...........................................................................................
Finished tests in 95.337453s, 13.0064 tests/s, 39.9843 assertions/s.
1) Failure:
test_execute(TestGemCommandsEnvironmentCommand) [C:/Users/djberge/Repositories/rubygems/test/ru
bygems/test_gem_commands_environment_command.rb:42]:
Expected /- \/usr\/local\/bin$/ to match "RubyGems Environment:\n - RUBYGEMS VERSION: 2.0.3\n
- RUBY VERSION: 1.9.3 (2013-01-15 patchlevel 374) [i386-mingw32]\n - INSTALLATION DIRECTORY:
C:/Users/djberge/AppData/Local/Temp/test_rubygems_4724/gemhome\n - RUBYGEMS PREFIX: C:/Users/d
jberge/Repositories/rubygems\n - RUBY EXECUTABLE: c:/Ruby193/bin/ruby.exe\n - EXECUTABLE DIRE
CTORY: C:/Users/djberge/AppData/Local/Temp/test_rubygems_4724/gemhome/bin\n - SPEC CACHE DIREC
TORY: C:/Users/djberge/AppData/Local/Temp/test_rubygems_4724/spec_cache\n - RUBYGEMS PLATFORMS
:\n - ruby\n - x86-mswin32-60\n - GEM PATHS:\n - C:/Users/djberge/AppData/Local/Temp
/test_rubygems_4724/gemhome\n - GEM CONFIGURATION:\n - :update_sources => true\n - :ve
rbose => true\n - :backtrace => false\n - :bulk_threshold => 1000\n - \"gemcutter_k
ey\" => \"****\"\n - REMOTE SOURCES:\n - http://gems.example.com\n - SHELL PATH:\n -
/usr/local/bin:/usr/bin:/bin\n".
2) Error:
test_install_extension_flat(TestGemInstaller):
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
c:/Ruby193/bin/ruby.exe extconf.rb
creating Makefile
make
generating a-i386-mingw32.def
compiling a.c
linking shared-object a.so
make install
process_begin: CreateProcess((null), /usr/bin/mkdir -p c:/Users/djberge/AppData/Local/Temp/test
_rubygems_4724/gemhome/gems/a-2/.gem.20130724-4724-p7kukd, ...) failed.
make (e=2): The system cannot find the file specified.
make: [c:/Users/djberge/AppData/Local/Temp/test_rubygems_4724/gemhome/gems/a-2/.gem.20130724-47
24-p7kukd/a.so] Error 2 (ignored)
/usr/bin/install -c -m 0755 a.so c:/Users/djberge/AppData/Local/Temp/test_rubygems_4724/gemhome
/gems/a-2/.gem.20130724-4724-p7kukd
process_begin: CreateProcess((null), /usr/bin/install -c -m 0755 a.so c:/Users/djberge/AppData/
Local/Temp/test_rubygems_4724/gemhome/gems/a-2/.gem.20130724-4724-p7kukd, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [c:/Users/djberge/AppData/Local/Temp/test_rubygems_4724/gemhome/gems/a-2/.gem.2013072
4-4724-p7kukd/a.so] Error 2
Gem files will remain installed in C:/Users/djberge/AppData/Local/Temp/test_rubygems_4724/gemho
me/gems/a-2 for inspection.
Results logged to C:/Users/djberge/AppData/Local/Temp/test_rubygems_4724/gemhome/gems/a-2/./gem
_make.out
C:/Users/djberge/Repositories/rubygems/lib/rubygems/ext/builder.rb:55:in `run'
C:/Users/djberge/Repositories/rubygems/lib/rubygems/ext/builder.rb:28:in `block in make'
C:/Users/djberge/Repositories/rubygems/lib/rubygems/ext/builder.rb:26:in `each'
C:/Users/djberge/Repositories/rubygems/lib/rubygems/ext/builder.rb:26:in `make'
C:/Users/djberge/Repositories/rubygems/lib/rubygems/ext/ext_conf_builder.rb:41:in `block in
build'
c:/Ruby193/lib/ruby/1.9.1/tempfile.rb:320:in `open'
C:/Users/djberge/Repositories/rubygems/lib/rubygems/ext/ext_conf_builder.rb:18:in `build'
C:/Users/djberge/Repositories/rubygems/lib/rubygems/installer.rb:678:in `block (2 levels) i
n build_extensions'
C:/Users/djberge/Repositories/rubygems/lib/rubygems/installer.rb:677:in `chdir'
C:/Users/djberge/Repositories/rubygems/lib/rubygems/installer.rb:677:in `block in build_ext
ensions'
C:/Users/djberge/Repositories/rubygems/lib/rubygems/installer.rb:652:in `each'
C:/Users/djberge/Repositories/rubygems/lib/rubygems/installer.rb:652:in `build_extensions'
C:/Users/djberge/Repositories/rubygems/lib/rubygems/installer.rb:218:in `install'
C:/Users/djberge/Repositories/rubygems/test/rubygems/test_gem_installer.rb:1092:in `block i
n test_install_extension_flat'
C:/Users/djberge/Repositories/rubygems/lib/rubygems/user_interaction.rb:40:in `use_ui'
C:/Users/djberge/Repositories/rubygems/lib/rubygems/user_interaction.rb:63:in `use_ui'
C:/Users/djberge/Repositories/rubygems/test/rubygems/test_gem_installer.rb:1088:in `test_in
stall_extension_flat'
3) Error:
test_install_extension_and_script(TestGemInstaller):
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
c:/Ruby193/bin/ruby.exe extconf.rb
creating Makefile
make
make: Nothing to be done for `all'.
make install
process_begin: CreateProcess((null), /usr/bin/mkdir -p c:/Users/djberge/AppData/Local/Temp/test
_rubygems_4724/gemhome/gems/a-2/.gem.20130724-4724-5xnz24/a, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [.RUBYLIBDIR.-.a.time] Error 2
Gem files will remain installed in C:/Users/djberge/AppData/Local/Temp/test_rubygems_4724/gemho
me/gems/a-2 for inspection.
Results logged to C:/Users/djberge/AppData/Local/Temp/test_rubygems_4724/gemhome/gems/a-2/./gem
_make.out
C:/Users/djberge/Repositories/rubygems/lib/rubygems/ext/builder.rb:55:in `run'
C:/Users/djberge/Repositories/rubygems/lib/rubygems/ext/builder.rb:28:in `block in make'
C:/Users/djberge/Repositories/rubygems/lib/rubygems/ext/builder.rb:26:in `each'
C:/Users/djberge/Repositories/rubygems/lib/rubygems/ext/builder.rb:26:in `make'
C:/Users/djberge/Repositories/rubygems/lib/rubygems/ext/ext_conf_builder.rb:41:in `block in
build'
c:/Ruby193/lib/ruby/1.9.1/tempfile.rb:320:in `open'
C:/Users/djberge/Repositories/rubygems/lib/rubygems/ext/ext_conf_builder.rb:18:in `build'
C:/Users/djberge/Repositories/rubygems/lib/rubygems/installer.rb:678:in `block (2 levels) i
n build_extensions'
C:/Users/djberge/Repositories/rubygems/lib/rubygems/installer.rb:677:in `chdir'
C:/Users/djberge/Repositories/rubygems/lib/rubygems/installer.rb:677:in `block in build_ext
ensions'
C:/Users/djberge/Repositories/rubygems/lib/rubygems/installer.rb:652:in `each'
C:/Users/djberge/Repositories/rubygems/lib/rubygems/installer.rb:652:in `build_extensions'
C:/Users/djberge/Repositories/rubygems/lib/rubygems/installer.rb:218:in `install'
C:/Users/djberge/Repositories/rubygems/test/rubygems/test_gem_installer.rb:1056:in `block i
n test_install_extension_and_script'
C:/Users/djberge/Repositories/rubygems/lib/rubygems/user_interaction.rb:40:in `use_ui'
C:/Users/djberge/Repositories/rubygems/lib/rubygems/user_interaction.rb:63:in `use_ui'
C:/Users/djberge/Repositories/rubygems/test/rubygems/test_gem_installer.rb:1052:in `test_in
stall_extension_and_script'
1240 tests, 3812 assertions, 1 failures, 2 errors, 22 skips
rake aborted!
Command failed with status (1): [c:/Ruby193/bin/ruby.exe -w -Ilib;bin;test;...]
Tasks: TOP => default => test
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment