The mistake you’re making is this one.
maior_ou_menor.Rb: [BUG] Segmentation fault
ruby 2.3.3p222 (2016-11-21 Revision 56859) [i386-mingw32]
-- Control frame information -----------------------------------------------
c:0001 p:0000 s:0002 E:0001b0 (None) [FINISH]
-- C level backtrace information -------------------------------------------
C: WINDOWS SYSTEM32 ntdll.dll(Ntwaitforsingleobject+0xc) [0x7717E7AC]
C: WINDOWS System32 KERNELBASE.dll(Waitforsingleobject+0x12) [0x75A5EB42]
C: Railsinstaller Ruby2.3.3 bin msvcrt-ruby230.dll(rb_vm_bugreport+0xaa) [0x6305F9EA]
C: Railsinstaller Ruby2.3.3 bin msvcrt-ruby230.dll(rb_bug_context+0x49) [0x62F06209]
C: Railsinstaller Ruby2.3.3 bin msvcrt-ruby230.dll(rb_check_safe_obj+0x394) [0x62FD0794]
[0x00401866]
C: WINDOWS SYSTEM32 ntdll.dll(Rtlcapturestackcontext+0x1970d) [0x771B381D]
-- Other Runtime information -----------------------------------------------
Loaded script: maior_ou_menor.Rb
Loaded Features:
0 enumerator.s
1 thread.Rb
2 Rational.so
3 Complex.so
4 C:/Railsinstaller/Ruby2.3.3/lib/ruby/2.3.0/i386-mingw32/Enc/encdb.so
5 C:/Railsinstaller/Ruby2.3.3/lib/ruby/2.3.0/i386-mingw32/Enc/trans/transdb.so
6 C:/Railsinstaller/Ruby2.3.3/lib/ruby/2.3.0/i386-mingw32/Enc/windows_1252.so
7 C:/Railsinstaller/Ruby2.3.3/lib/ruby/2.3.0/unicode_normalize.Rb
8 C:/Railsinstaller/Ruby2.3.3/lib/ruby/2.3.0/i386-mingw32/rbconfig.Rb
9 C:/Railsinstaller/Ruby2.3.3/lib/ruby/2.3.0/rubygems/Compatibility.Rb
10 C:/Railsinstaller/Ruby2.3.3/lib/ruby/2.3.0/rubygems/defaults.Rb
11 C:/Railsinstaller/Ruby2.3.3/lib/ruby/2.3.0/rubygems/deprecate.Rb
12 C:/Railsinstaller/Ruby2.3.3/lib/ruby/2.3.0/rubygems/errors.Rb
13 C:/Railsinstaller/Ruby2.3.3/lib/ruby/2.3.0/rubygems/version.Rb
14 C:/Railsinstaller/Ruby2.3.3/lib/ruby/2.3.0/rubygems/requirement.Rb
15 C:/Railsinstaller/Ruby2.3.3/lib/ruby/2.3.0/rubygems/Platform.Rb
16 C:/Railsinstaller/Ruby2.3.3/lib/ruby/2.3.0/rubygems/basic_specification.Rb
17 C:/Railsinstaller/Ruby2.3.3/lib/ruby/2.3.0/rubygems/stub_specification.Rb
18 C:/Railsinstaller/Ruby2.3.3/lib/ruby/2.3.0/rubygems/util/list.Rb
19 C:/Railsinstaller/Ruby2.3.3/lib/ruby/2.3.0/i386-mingw32/stringio.so
20 C:/Railsinstaller/Ruby2.3.3/lib/ruby/2.3.0/rubygems/Specification.Rb
21 C:/Railsinstaller/Ruby2.3.3/lib/ruby/2.3.0/rubygems/exceptions.Rb
22 C:/Railsinstaller/Ruby2.3.3/lib/ruby/2.3.0/rubygems/defaults/operating_system.Rb
23 C:/Railsinstaller/Ruby2.3.3/lib/ruby/2.3.0/rubygems/dependency.Rb
24 C:/Railsinstaller/Ruby2.3.3/lib/ruby/2.3.0/rubygems/core_ext/kernel_gem.Rb
25 C:/Railsinstaller/Ruby2.3.3/lib/ruby/2.3.0/monitor.Rb
26 C:/Railsinstaller/Ruby2.3.3/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.Rb
27 C:/Railsinstaller/Ruby2.3.3/lib/ruby/2.3.0/rubygems.Rb
28 C:/Railsinstaller/Ruby2.3.3/lib/ruby/2.3.0/rubygems/path_support.Rb
29 C:/Railsinstaller/Ruby2.3.3/lib/ruby/Gems/2.3.0/Gems/did_you_mean-1.0.0/lib/did_you_mean/version.Rb
30 C:/Railsinstaller/Ruby2.3.3/lib/ruby/Gems/2.3.0/Gems/did_you_mean-1.0.0/lib/did_you_mean/core_ext/name_error.Rb
31 C:/Railsinstaller/Ruby2.3.3/lib/ruby/Gems/2.3.0/Gems/did_you_mean-1.0.0/lib/did_you_mean/Levenshtein.Rb
32 C:/Railsinstaller/Ruby2.3.3/lib/ruby/Gems/2.3.0/Gems/did_you_mean-1.0.0/lib/did_you_mean/jaro_winkler.Rb
33 C:/Railsinstaller/Ruby2.3.3/lib/ruby/Gems/2.3.0/Gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkable.Rb
34 C:/Railsinstaller/Ruby2.3.3/lib/ruby/2.3.0/delegate.Rb
35 C:/Railsinstaller/Ruby2.3.3/lib/ruby/Gems/2.3.0/Gems/did_you_mean-1.0.0/lib/did_you_/mean/spell_checkers/name_error_checkers/class_name_checker.Rb
36 C:/Railsinstaller/Ruby2.3.3/lib/ruby/Gems/2.3.0/Gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.Rb
37 C:/Railsinstaller/Ruby2.3.3/lib/ruby/Gems/2.3.0/Gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkers/name_error_checkers.Rb
38 C:/Railsinstaller/Ruby2.3.3/lib/ruby/Gems/2.3.0/Gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkers/method_name_checker.Rb
39 C:/Railsinstaller/Ruby2.3.3/lib/ruby/Gems/2.3.0/Gems/did_you_mean-1.0.0/lib/did_you_mean/spell_checkers/null_checker.Rb
40 C:/Railsinstaller/Ruby2.3.3/lib/ruby/Gems/2.3.0/Gems/did_you_mean-1.0.0/lib/did_you_mean/Formatter.Rb
41 C:/Railsinstaller/Ruby2.3.3/lib/ruby/Gems/2.3.0/Gems/did_you_mean-1.0.0/lib/did_you_mean.Rb
[NOTE]
You may have encountered a bug in the Ruby interpreter or Extension Libraries.
Bug Reports are Welcome.
For Details: http://www.ruby-lang.org/bugreport.html
This application has requested the Runtime to terminate it in an Unusual way.
Please contact the application’s support team for more information.
Without the log you can’t be sure, but it seems to be a problem with ruby. Are you using Windows? Try to reinstall.
– Luiz Carvalho
It worked, thanks. Just out of curiosity the error that was giving is commented, further down.
– Thiago Benevides