NOTE: If you use ansicon make sure it is not loaded
Download the Oniguruma library.
I have had good luck with 5.9.1 and 5.9.2.
I used C:\Users\gthiesfeld\Work\repo\onig-5.9.2.
| C:\Users\gthiesfeld\Work\repo\vert>pik list --remote | |
| --- | |
| DevKit: | |
| 3.4.5r3: http://rubyforge.org/frs/download.php/66888/devkit-3.4.5r3-20091110.7z | |
| Ruby: | |
| 1.9.2-p0: http://rubyforge.org/frs/download.php/72160/ruby-1.9.2-p0-i386-mingw32.7z | |
| 1.8.7-p302: http://rubyforge.org/frs/download.php/72087/ruby-1.8.7-p302-i386-mingw32.7z | |
| 1.9.1-p429: http://rubyforge.org/frs/download.php/71496/ruby-1.9.1-p429-i386-mingw32.7z | |
| 1.9.1-p430: http://rubyforge.org/frs/download.php/72076/ruby-1.9.1-p430-i386-mingw32.7z | |
| 1.9.2-rc1: http://rubyforge.org/frs/download.php/71498/ruby-1.9.2-rc1-i386-mingw32.7z |
NOTE: If you use ansicon make sure it is not loaded
I have had good luck with 5.9.1 and 5.9.2.
I used C:\Users\gthiesfeld\Work\repo\onig-5.9.2.
| ## Windows 7 x64 Ultimate | |
| C:\Users\gthiesfeld\Work\repo\pik>C:\Users\gthiesfeld\.pik\rubies\JRuby-160RC1\bin\jruby.exe -v | |
| # | |
| # A fatal error has been detected by the Java Runtime Environment: | |
| # | |
| # Internal Error (exceptions.cpp:367), pid=7176, tid=7004 | |
| # Error: ExceptionMark destructor expects no pending exceptions | |
| # |
| C:\>set home= | |
| C:\>set USERPROFILE= | |
| C:\>echo %HOMEDRIVE%%HOMEPATH% | |
| C:\Users\gthiesfeld | |
| C:\>pik ruby -e "puts File.expand_path('~')" | |
| IronRuby 1.1.1.0 on .NET 4.0.30319.1 |
| def parse(name) | |
| raise "Write the parse method." | |
| end | |
| describe "parse" do | |
| it "should list all permutations, text in brackets is optional" do | |
| strings = parse("foo[bar]") | |
| strings.should include('foo') | |
| strings.should include('foobar') |
| C:/Ruby/ruby-187-p249/bin/ruby.exe extconf.rb | |
| *** 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 |
| rm -r tmp | |
| mkdir -p tmp | |
| windres -DCUI src/exerb/resource.rc tmp/resource_cui.o | |
| (in C:/Users/gthiesfeld/Work/repo/exerb-mingw) | |
| Temporarily enhancing PATH to include DevKit... | |
| mkdir -p tmp/patched | |
| mkdir -p tmp | |
| gcc -g -O2 -DFD_SETSIZE=256 -DRUBY_EXPORT -Isrc/mingw -IC:/Users/gthiesfeld/.pik/rubies/Ruby-187-p330/lib/ruby/1.8/i386-mingw32 -Isrc/mingw187 -c -o tmp/eval.o tmp/patched/eval.c | |
| tmp/patched/eval.c: In function 'rb_eval_string_wrap': | |
| tmp/patched/eval.c:1744:5: warning: assignment discards qualifiers from pointer target type |
| # TID Module API Return Error | |
| 1 6312 msvcrt-ruby191.dll GetCurrentDirectoryA ( 0, NULL ) 29 | |
| 2 6312 msvcrt-ruby191.dll GetCurrentDirectoryA ( 200, 0x00562450 ) 28 | |
| 3 6312 msvcrt-ruby191.dll FindFirstFileA ( "C:/repo/simple-bench-ruby-io", 0x0028f790 ) 0x00aa1410 | |
| 4 6312 msvcrt-ruby191.dll FindClose ( 0x00aa1410 ) TRUE | |
| 5 6312 msvcrt-ruby191.dll FindFirstFileA ( "C:/repo/simple-bench-ruby-io", 0x0028f3d0 ) 0x00aa1410 | |
| 6 6312 msvcrt-ruby191.dll FindClose ( 0x00aa1410 ) TRUE | |
| 7 6312 msvcrt-ruby191.dll FindFirstFileA ( "C:/repo/simple-bench-ruby-io/enc/encdb.so", 0x0028f570 ) INVALID_HANDLE_VALUE 3 = The system cannot find the path specified. | |
| 8 6312 msvcrt-ruby191.dll FindFirstFileA ( "C:/Users/gthiesfeld/.pik/rubies/ruby-1.9.3-dev/lib/ruby/site_ruby/1.9.1", 0x0028f3d0 ) 0x00a9f470 | |
| 9 6312 msvcrt-ruby191.dll FindClose ( 0x00a9f470 ) TRUE |
| API | |
| FindFirstFileA ( "C:/Users/gthiesfeld/.pik/rubies/ruby-1.9.3-dev/bin", 0x0028f790 ) | |
| FindClose ( 0x009814d0 ) | |
| FindFirstFileA ( "C:/Users/gthiesfeld/.pik/rubies/ruby-1.9.3-dev/bin", 0x0028f3d0 ) | |
| FindClose ( 0x009814d0 ) | |
| FindFirstFileA ( "C:/Users/gthiesfeld/.pik/rubies/ruby-1.9.3-dev/bin/enc/encdb.so", 0x0028f570 ) | |
| FindFirstFileA ( "C:/Users/gthiesfeld/.pik/rubies/ruby-1.9.3-dev/lib/ruby/site_ruby/1.9.1", 0x0028f3d0 ) | |
| FindClose ( 0x009814d0 ) | |
| FindFirstFileA ( "C:/Users/gthiesfeld/.pik/rubies/ruby-1.9.3-dev/lib/ruby/site_ruby/1.9.1/enc/encdb.so", 0x0028f570 ) | |
| FindFirstFileA ( "C:/Users/gthiesfeld/.pik/rubies/ruby-1.9.3-dev/lib/ruby/site_ruby/1.9.1/i386-msvcrt", 0x0028f3d0 ) |
| API | |
| FindFirstFileW ( "C:\Users", 0x0028e800 ) | |
| FindClose ( 0x00469540 ) | |
| FindFirstFileW ( "C:\Users\gthiesfeld", 0x0028e7f0 ) | |
| FindClose ( 0x00469540 ) | |
| FindFirstFileW ( "C:\Users\gthiesfeld\.pik", 0x0028e7e0 ) | |
| FindClose ( 0x00469540 ) | |
| FindFirstFileW ( "C:\Users\gthiesfeld\.pik\rubies", 0x0028e7d0 ) | |
| FindClose ( 0x00469540 ) | |
| FindFirstFileW ( "C:\Users\gthiesfeld\.pik\rubies\ruby-1.9.3-dev", 0x0028e7c0 ) |