简体   繁体   English

“ Rails Server”命令失败

[英]'Rails Server' command failure

I am trying to set up a RoR development environment on my Windows 7 PC. 我正在尝试在Windows 7 PC上设置RoR开发环境。

I have so far been able to: 到目前为止,我已经能够:

  1. Install Ruby 安装Ruby

  2. Install Rails 安装滑轨

  3. Install a few gems, including the mysql2 gem (I had to download and install the MySQL community server again, since the one which came with XAMPP was 32 bit, and my Ruby is 64 bit) 安装一些gem,包括mysql2 gem(我不得不再次下载并安装MySQL社区服务器,因为XAMPP随附的是32位,而Ruby是64位)

  4. Execute the 'Rails New' command to create a project 执行“ Rails New”命令以创建项目

  5. Run 'Bundler Install' command 运行“捆绑安装”命令

Now however, when I try to run the server from the project root, I am getting a huge error message of more than 600 lines, beginning with: 但是,现在,当我尝试从项目根目录运行服务器时,收到了一条超过600行的巨大错误消息,开头是:

C:\\Users\\Chinmay\\Documents\\Sites\\TaxCloud>rails s C:/Ruby21-x64/lib/ruby/gems/2.1.0/extensions/x64-mingw32/2.1.0/mysql2-0.3.16/mysql2/mysql2.so: [BUG] Segmentation fault ruby 2.1.4p265 (2014-10-27 revision 48166) [x64-mingw32] C:\\ Users \\ Chinmay \\ Documents \\ Sites \\ TaxCloud> rails C:/Ruby21-x64/lib/ruby/gems/2.1.0/extensions/x64-mingw32/2.1.0/mysql2-0.3.16/mysql2/ mysql2.so:[BUG]细分错误ruby 2.1.4p265(2014-10-27修订版48166)[x64-mingw32]

-- Control frame information ----------------------------------------------- c:0020 p:-10803034 s:0067 e:000066 TOP [FINISH] c:0019 p:---- s:0065 e:000064 CFUNC :require c:0018 p:0083 s:0061 e:000060 TOP -控制框信息--------------------------------------------- -c:0020 p:-10803034 s:0067 e:000066 TOP [完成] c:0019 p:---- s:0065 e:000064 CFUNC:require c:0018 p:0083 s:0061 e:000060 TOP
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mysql2-0.3.16/lib/mysql2.rb:8 [FINISH] c:0017 p:---- s:0059 e:000058 CFUNC :require c:0016 p:0037 s:0055 e:000054 BLOCK C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler/runtime.rb:76 [FINISH] c:0015 p:---- s:0052 e:000051 CFUNC :each c:0014 p:0055 s:0049 e:000048 BLOCK C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler/runtime.rb:72 [FINISH] c:0013 p:---- s:0042 e:000041 CFUNC :each c:0012 p:0030 s:0039 e:000038 METHOD C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler/runtime.rb:61 c:0011 p:0013 s:0035 e:000034 METHOD C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler.rb:133 c:0010 p:0047 s:0031 e:000030 TOP C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mysql2-0.3.16/lib/mysql2.rb:8 [完成] c:0017 p:---- s:0059 e:000058 CFUNC:需要c:0016 p:0037 s:0055 e:000054块C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler/runtime.rb:76 [完成] c:0015 p:---- s:0052 e:000051 CFUNC:每个c:0014 p:0055 s:0049 e:000048块C:/Ruby21-x64/lib/ruby/gems/2.1.0 /gems/bundler-1.7.4/lib/bundler/runtime.rb:72 [完成] c:0013 p:---- s:0042 e:000041 CFUNC:每个c:0012 p:0030 s:0039 e: 000038方法C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler/runtime.rb:61 c:0011 p:0013 s:0035 e:000034方法C :/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler.rb:133 c:0010 p:0047 s:0031 e:000030 TOP
C:/Users/Chinmay/Documents/Sites/TaxCloud/config/application.rb:7 [FINISH] c:0009 p:---- s:0029 e:000028 CFUNC :require c:0008 p:0014 s:0025 e:000024 BLOCK C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb :79 [FINISH] c:0007 p:---- s:0022 e:000021 CFUNC :tap c:0006 p:0031 s:0019 e:000018 METHOD C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb :76 c:0005 p:0033 s:0016 e:000015 METHOD C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb :40 c:0004 p:0116 s:0012 e:000011 TOP C:/用户/ Chinmay /文档/站点/TaxCloud/config/application.rb:7 [完成] c:0009 p:---- s:0029 e:000028 CFUNC:require c:0008 p:0014 s:0025 e:000024块C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb:79 [FINISH] c:0007 p:- -s:0022 e:000021 CFUNC:tap c:0006 p:0031 s:0019 e:000018方法C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib /rails/commands/commands_tasks.rb:76 c:0005 p:0033 s:0016 e:000015方法C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/ rails / commands / commands_tasks.rb:40 c:0004 p:0116 s:0012 e:000011 TOP
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands.rb:17 [FINISH] c:0003 p:---- s:0008 e:000007 CFUNC :require c:0002 p:0034 s:0004 E:000218 EVAL bin/rails:4 [FINISH] c:0001 p:0000 s:0002 E:000a78 TOP [FINISH] C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands.rb:17 [完成] c:0003 p:---- s:0008 e :000007 CFUNC:要求c:0002 p:0034 s:0004 E:000218 EVAL仓位/导轨:4 [完成] c:0001 p:0000 s:0002 E:000a78返回顶部[完成]

-- Ruby level backtrace information ---------------------------------------- bin/rails:4:in <main>' bin/rails:4:in require' C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands.rb:17:in <top (required)>' C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb:40:in run_command!' -Ruby级回溯信息---------------------------------------- bin / rails: 4:在<main>' bin/rails:4:in require中C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands.rb:17 :in <top (required)>' C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb:40:in run_command中!' C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb:76:in server' C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb:76:in tap' C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb:79:in block in server' C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb:79:in require' C:/Users/Chinmay/Documents/Sites/TaxCloud/config/application.rb:7:in <top (required)>' C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler.rb:133:in require' C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler/runtime.rb:61:in require' C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler/runtime.rb:61:in each' C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler/runtime.rb:72:in block in require' C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler/runtime.rb:72:in each' C:/Ruby21-x64/lib/ruby/gems/2.1.0/g C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb:76:在server' C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb:76:in :/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties -4.1.7 / lib / rails / commands / commands_tasks.rb:79: block in server' C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb:79:in :/Users/Chinmay/Documents/Sites/TaxCloud/config/application.rb:7:in <top (required)>' C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler.rb:133:in require'C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7。 4 / lib / bundler / runtime.rb:61: require' C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler/runtime.rb:61:in每个C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler/runtime.rb:72: block in require' C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler/runtime.rb:72:in每个C:/Ruby21-x64/lib/ruby/gems/2.1.0/g ems/bundler-1.7.4/lib/bundler/runtime.rb:76:in block (2 levels) in require' C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler/runtime.rb:76:in require' C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mysql2-0.3.16/lib/mysql2.rb:8:in <top (required)>' C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mysql2-0.3.16/lib/mysql2.rb:8:in require' ems / bundler-1.7.4 / lib / bundler / runtime.rb:76: block (2 levels) in require' C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler/runtime.rb:76:in中的block (2 levels) in require' C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/bundler-1.7.4/lib/bundler/runtime.rb:76:in require'C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mysql2-0.3.16/lib/mysql2.rb:8:in <top (required)>' C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mysql2-0.3.16/lib/mysql2.rb:8:in require'

-- C level backtrace information ------------------------------------------- C:\\Windows\\SYSTEM32\\ntdll.dll(ZwWaitForSingleObject+0xa) [0x0000000077B3F6FA] C:\\Windows\\system32\\KERNELBASE.dll(WaitForSingleObjectEx+0x9c) [0x000007FEFE1810DC] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_vm_bugreport+0xa4) [0x000000006B417364] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_name_err_mesg_new+0x841) [0x000000006B2C9801] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_bug+0x45) [0x000000006B2CA545] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_check_safe_str+0x351) [0x000000006B398E11] [0x0000000000401A85] C:\\Windows\\SYSTEM32\\ntdll.dll(_C_specific_handler+0x9c) [0x0000000077B04F58] C:\\Windows\\SYSTEM32\\ntdll.dll(RtlCompareUnicodeString+0x7d) [0x0000000077B24F4D] C:\\Windows\\SYSTEM32\\ntdll.dll(RtlTimeToSecondsSince1970+0x63c) [0x0000000077B05B3C] C:\\Windows\\SYSTEM32\\ntdll.dll(KiUserExceptionDispatcher+0x2e) [0x0000000077B3F638] [0x000003B7A8300000] [0x000000000202343D] C:\\Ruby21-x64\\lib\\ruby\\gems\\2.1.0\\ext -C级回溯信息------------------------------------------- C :\\ Windows \\ SYSTEM32 \\ ntdll.dll(ZwWaitForSingleObject + 0xa)[0x0000000077B3F6FA] C:\\ Windows \\ system32 \\ KERNELBASE.dll(WaitForSingleObjectEx + 0x9c)[0x000007FEFE1810DC] C:\\ Ruby21-x64 \\ bin \\ xby-64-msvcrt。 dll(rb_vm_bugreport + 0xa4)[0x000000006B417364] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_name_err_mesg_new + 0x841)[0x000000006B2C9801] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ru210。 rb_bug + 0x45)[0x000000006B2CA545] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_check_safe_str + 0x351)[0x000000006B398E11] [0x0000000000401A85] C:\\ Windows \\ SYSTEM32 \\ ntdll.dll(_C_specific_handler + 0 0x0000000077B04F58] C:\\ Windows \\ SYSTEM32 \\ ntdll.dll(RtlCompareUnicodeString + 0x7d)[0x0000000077B24F4D] C:\\ Windows \\ SYSTEM32 \\ ntdll.dll(RtlTimeToSecondsSince1970 + 0x63c)[0x0000000077B05B3C] C:\\ Windows \\ SYSException + 0x2e)[0x0000000077B3F638] [0x000003B7A8300000] [0x000000000202343D] C:\\ Ruby21-x64 \\ lib \\ ruby​​ \\ gems \\ 2.1.0 \\ ext ensions\\x64-mingw32\\2.1.0\\mysql2-0.3.16\\mysql2\\mysql2.so(Init_mysql2+0x5a) [0x000000000202 43BA] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(dln_load+0x1d6) [0x000000006B281646] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_vm_call_cfunc+0x130) [0x000000006B414300] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_require_safe+0x56f) [0x000000006B2D558F] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_error_arity+0x1c6) [0x000000006B402206] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_f_send+0x5c1) [0x000000006B411601] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x1618) [0x000000006B406C98] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x5a8d) [0x000000006B40B10D] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_iseq_eval+0x183) [0x000000006B413C23] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_rubylevel_errinfo+0x66c) [0x000000006B2D396C] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_require_safe+0x5a9) [0x000000006B2D55C9] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_error_ ensions \\ x64-mingw32 \\ 2.1.0 \\ mysql2-0.3.16 \\ mysql2 \\ mysql2.so(Init_mysql2 + 0x5a)[0x000000000202 43BA] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(dln_load + 0x1d6 )[0x000000006B281646] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_vm_call_cfunc + 0x130)[0x000000006B414300] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_require_safe + 0x56f)[ 0x000000006B2D558F] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_error_arity + 0x1c6)[0x000000006B402206] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_f_send + 0x5cB1)601 C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_vm_localjump_error + 0x1618)[0x000000006B406C98] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_vm_localjump_error + 0x5a8d)[0x000000006B40 \\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_iseq_eval + 0x183)[0x000000006B413C23] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_rubylevel_errinfo + 0x66c)[0x000000006B2D21C] C: -x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_require_safe + 0x5a9)[0x000000006B2D55C9] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_error_ arity+0x1c6) [0x000000006B402206] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x1618) [0x000000006B406C98] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x5a8d) [0x000000006B40B10D] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_funcall+0x503) [0x000000006B40C503] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_yield+0x74) [0x000000006B4134D4] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_ary_each+0x51) [0x000000006B281971] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_error_arity+0x1c6) [0x000000006B402206] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x1f61) [0x000000006B4075E1] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x5a8d) [0x000000006B40B10D] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_funcall+0x503) [0x000000006B40C503] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_yield+0x74) [0x000000006B4134D4] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_ary_each+0x51) [0x000000006B281971] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll arity + 0x1c6)[0x000000006B402206] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_vm_localjump_error + 0x1618)[0x000000006B406C98] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_vm_jlocal 0x5a8d)[0x000000006B40B10D] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_funcall + 0x503)[0x000000006B40C503] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_yield + 0x74) [0x000000006B4134D4] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_ary_each + 0x51)[0x000000006B281971] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_error_arity + 0x1c6206)[0x000000006B402 ] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_vm_localjump_error + 0x1f61)[0x000000006B4075E1] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_vm_localjump_error + 0x5a8d] C0B000000 :\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_funcall + 0x503)[0x000000006B40C503] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_yield + 0x74)[0x000000006B4134D4] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_ary_each + 0x51)[0x000000006B281971] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll (rb_error_arity+0x1c6) [0x000000006B402206] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_f_send+0x5c1) [0x000000006B411601] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x1f61) [0x000000006B4075E1] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x5a8d) [0x000000006B40B10D] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_iseq_eval+0x183) [0x000000006B413C23] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_rubylevel_errinfo+0x66c) [0x000000006B2D396C] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_require_safe+0x5a9) [0x000000006B2D55C9] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_error_arity+0x1c6) [0x000000006B402206] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_f_send+0x5c1) [0x000000006B411601] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x1618) [0x000000006B406C98] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x5a8d) [0x000000006B40B10D] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_funcall+0x503) [0x000000006B40C503] C:\\Ruby21 (rb_error_arity + 0x1c6)[0x000000006B402206] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_f_send + 0x5c1)[0x000000006B411601] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_vm_local + 0x1f61)[0x000000006B4075E1] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_vm_localjump_error + 0x5a8d)[0x000000006B40B10D] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210_dll(val_ise )[0x000000006B413C23] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_rubylevel_errinfo + 0x66c)[0x000000006B2D396C] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_require_safe + 0x5a9) 0x000000006B2D55C9] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_error_arity + 0x1c6)[0x000000006B402206] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_f_send + 0x5c1B] 601 C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_vm_localjump_error + 0x1618)[0x000000006B406C98] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_vm_localjump_error + 0x5a8d)[0x000000006B40 \\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_funcall + 0x503)[0x000000006B40C503] C:\\ Ruby21 -x64\\bin\\x64-msvcrt-ruby210.dll(rb_yield+0x74) [0x000000006B4134D4] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_obj_tap+0x16) [0x000000006B32D5C6] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_error_arity+0x1c6) [0x000000006B402206] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_f_send+0x5c1) [0x000000006B411601] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x1f61) [0x000000006B4075E1] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x5a8d) [0x000000006B40B10D] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_iseq_eval+0x183) [0x000000006B413C23] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_rubylevel_errinfo+0x66c) [0x000000006B2D396C] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_require_safe+0x5a9) [0x000000006B2D55C9] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_error_arity+0x1c6) [0x000000006B402206] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_f_send+0x5c1) [0x000000006B411601] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x1618) [0x000000006B40 -x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_yield + 0x74)[0x000000006B4134D4] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_obj_tap + 0x16)[0x000000006B32D5C6] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_error_arity + 0x1c6)[0x000000006B402206] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_f_send + 0x5c1)[0x000000006B411601] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_vm_localjump_error + 0x1f61)[0x000000006B4075E1] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_vm_localjump_error + 0x5a8d)[0x000000006B40B10D] 64 \\\\ Ruby -msvcrt-ruby210.dll(rb_iseq_eval + 0x183)[0x000000006B413C23] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_rubylevel_errinfo + 0x66c)[0x000000006B2D396C] C:\\ Ruby21-x64 \\ rt \\ bin \\ x64 -ruby210.dll(rb_require_safe + 0x5a9)[0x000000006B2D55C9] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_error_arity + 0x1c6)[0x000000006B402206] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ru .dll(rb_f_send + 0x5c1)[0x000000006B411601] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_vm_localjump_error + 0x1618)[0x000000006B40 6C98] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_vm_localjump_error+0x5a8d) [0x000000006B40B10D] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_iseq_eval_main+0x1d0) [0x000000006B413E40] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(rb_check_copyable+0x304a) [0x000000006B2CF31A] C:\\Ruby21-x64\\bin\\x64-msvcrt-ruby210.dll(ruby_run_node+0x51) [0x000000006B2D2231] [0x0000000000402D14] [0x00000000004013D7] [0x00000000004014F8] C:\\Windows\\system32\\kernel32.dll(BaseThreadInitThunk+0xd) [0x000000007763F34D] 6C98] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_vm_localjump_error + 0x5a8d)[0x000000006B40B10D] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_iseq_eval_main + 0x1d0006] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(rb_check_copyable + 0x304a)[0x000000006B2CF31A] C:\\ Ruby21-x64 \\ bin \\ x64-msvcrt-ruby210.dll(ruby_run_node + 0x51)[0x000000006B2D2231] [14 ] [0x00000000004013D7] [0x00000000004014F8] C:\\ Windows \\ system32 \\ kernel32.dll(BaseThreadInitThunk + 0xd)[0x000000007763F34D]

-- Other runtime information ----------------------------------------------- -其他运行时信息--------------------------------------------- -

  • Loaded script: bin/rails 加载的脚本:bin / rails

  • Loaded features: 加载的功能:

    0 enumerator.so 1 C:/Ruby21-x64/lib/ruby/2.1.0/x64-mingw32/enc/encdb.so 2 C:/Ruby21-x64/lib/ruby/2.1.0/x64-mingw32/enc/iso_8859_1.so 3 C:/Ruby21-x64/lib/ruby/2.1.0/x64-mingw32/enc/trans/transdb.so 4 C:/Ruby21-x64/lib/ruby/2.1.0/x64-mingw32/rbconfig.rb 5 thread.rb 6 C:/Ruby21-x64/lib/ruby/2.1.0/x64-mingw32/thread.so 7 C:/Ruby21-x64/lib/ruby/site_ruby/2.1.0/rubygems/compatibility.rb 8 C:/Ruby21-x64/lib/ruby/site_ruby/2.1.0/rubygems/defaults.rb 9 C:/Ruby21-x64/lib/ruby/site_ruby/2.1.0/rubygems/deprecate.rb 0 enumerator.so 1 C:/Ruby21-x64/lib/ruby/2.1.0/x64-mingw32/enc/encdb.so 2 C:/Ruby21-x64/lib/ruby/2.1.0/x64-mingw32/enc /iso_8859_1.so 3 C:/Ruby21-x64/lib/ruby/2.1.0/x64-mingw32/enc/trans/transdb.so 4 C:/Ruby21-x64/lib/ruby/2.1.0/x64-mingw32 /rbconfig.rb 5 thread.rb 6 C:/Ruby21-x64/lib/ruby/2.1.0/x64-mingw32/thread.so 7 C:/Ruby21-x64/lib/ruby/site_ruby/2.1.0/rubygems /compatibility.rb 8 C:/Ruby21-x64/lib/ruby/site_ruby/2.1.0/rubygems/defaults.rb 9 C:/Ruby21-x64/lib/ruby/site_ruby/2.1.0/rubygems/deprecate.rb

And ending with: 最后是:

580 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4.1.7/lib/active_support/number_helper.rb 581 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/actionview-4.1.7/lib/action_view/helpers/number_helper.rb 582 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4.1.7/lib/active_support/core_ext/module/concerning.rb 583 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4.1.7/lib/active_support/core_ext/module/qualified_const.rb 584 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4.1.7/lib/active_support/core_ext/module.rb 585 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/actionview-4.1.7/lib/action_view/record_identifier.rb 586 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/actionview-4.1.7/lib/action_view/helpers/record_tag_helper.rb 587 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/actionview-4.1.7/lib/action_view/helpers/rendering_helper.rb 588 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/actionview-4.1.7/lib/action_view/helpers/translation_helper.rb 589 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/actionview-4.1. 580 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4.1.7/lib/active_support/number_helper.rb 581 C:/Ruby21-x64/lib/ruby/gems/2.1.0 /gems/actionview-4.1.7/lib/action_view/helpers/number_helper.rb 582 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4.1.7/lib/active_support/core_ext/ module / concerning.rb 583 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4.1.7/lib/active_support/core_ext/module/qualified_const.rb 584 C:/ Ruby21-x64 / lib / ruby​​ / gems / 2.1.0 / gems / activesupport-4.1.7 / lib / active_support / core_ext / module.rb 585 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/actionview-4.1 .7 / lib / action_view / record_identifier.rb 586 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/actionview-4.1.7/lib/action_view/helpers/record_tag_helper.rb 587 C:/ Ruby21 -x64 / lib / ruby​​ / gems / 2.1.0 / gems / actionview-4.1.7 / lib / action_view / helpers / rendering_helper.rb 588 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/ actionview-4.1.7 / lib / action_view / helpers / translation_helper.rb 589 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/actionview-4.1。 7/lib/action_view/helpers.rb 590 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/sprockets-rails-2.2.0/lib/sprockets/rails/helper.rb 591 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/sprockets-rails-2.2.0/lib/sprockets/rails/version.rb 592 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/engine/configuration.rb 593 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/application/configuration.rb 594 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/sprockets-rails-2.2.0/lib/sprockets/railtie.rb 595 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/all.rb 596 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mysql2-0.3.16/lib/mysql2/version.rb 597 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mysql2-0.3.16/lib/mysql2/error.rb 7 / lib / action_view / helpers.rb 590 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/sprockets-rails-2.2.0/lib/sprockets/rails/helper.rb 591 C:/ Ruby21-x64 / lib / ruby​​ / gems / 2.1.0 / gems / sprockets-rails-2.2.0 / lib / sprockets / rails / version.rb 592 C:/Ruby21-x64/lib/ruby/gems/2.1.0 /gems/railties-4.1.7/lib/rails/engine/configuration.rb 593 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.1.7/lib/rails/application/ configuration.rb 594 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/sprockets-rails-2.2.0/lib/sprockets/railtie.rb 595 C:/ Ruby21-x64 / lib / ruby​​ / gems / 2.1.0 / gems / railties-4.1.7 / lib / rails / all.rb 596 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mysql2-0.3.16/lib/mysql2 /version.rb 597 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mysql2-0.3.16/lib/mysql2/error.rb

[NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. [注意]您可能在Ruby解释器或扩展库中遇到错误。 Bug reports are welcome. 欢迎报告错误。 For details: http://www.ruby-lang.org/bugreport.html 有关详细信息: 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. 请与应用程序的支持团队联系以获取更多信息。

[NOTE] You may have encountered a bug in the Ruby Interpreter or extension libraries. [注意]您可能在Ruby解释器或扩展库中遇到错误。 Bug reports and welcome. 错误报告,欢迎您。 For details: http://www.ruby-lang.org/bugreport.html 有关详细信息: 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. 请与应用程序的支持团队联系以获取更多信息。

So, what do I need to do, to ride ruby on rails? 那么,我需要怎么做才能将红宝石骑在铁轨上?

BTW: Initially I thought the problem could have been with the Webrick Server. 顺便说一句:最初,我认为问题可能出在Webrick Server上。 So I have configured apache manually to listen to port 3000. However, this hasn't helped. 因此,我已经手动配置了apache来监听端口3000。但是,这没有帮助。

Another concern is that I can neither see the full output in the command prompt, nor can I save it to a text file. 另一个问题是我既看不到命令​​提示符下的完整输出,也无法将其保存到文本文件中。 So I do not really know what the full error message is. 因此,我真的不知道完整的错误消息是什么。

Webrick uses port 3000. Don't set Apache to listen to port 3000 because that will create a port conflict. Webrick使用端口3000。请勿将Apache设置为侦听端口3000,因为这会导致端口冲突。 Start webrick from the command line with 'rails s'. 从命令行使用“ rails s”启动webrick。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM