操作系统:Windows 7 64 位 rails 版本:4.2.0 使用MySQL
所以,我已经完全安装了 Ruby on Rails、MySQL、MySQL gems,如 lynda 教程中所示...我是 ruby on Rails 的新手。 当我创建第一个应用程序并使用命令“rails server”启动 WebRICK 时...它给了我以下错误:
**
693 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/actionview-4.2.0/lib/action_view/he
lpers/form_options_helper.rb
694 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4.2.0/lib/active_supp
ort/number_helper.rb
695 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/actionview-4.2.0/lib/action_view/he
lpers/number_helper.rb
696 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4.2.0/lib/active_supp
ort/core_ext/module/concerning.rb
697 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4.2.0/lib/active_supp
ort/core_ext/module/qualified_const.rb
698 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4.2.0/lib/active_supp
ort/core_ext/module.rb
699 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/actionview-4.2.0/lib/action_view/re
cord_identifier.rb
700 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/actionview-4.2.0/lib/action_view/he
lpers/record_tag_helper.rb
701 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/actionview-4.2.0/lib/action_view/he
lpers/rendering_helper.rb
702 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/activesupport-4.2.0/lib/active_supp
ort/core_ext/string/access.rb
703 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/actionview-4.2.0/lib/action_view/he
lpers/translation_helper.rb
704 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/actionview-4.2.0/lib/action_view/he
lpers.rb
705 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/sprockets-rails-2.2.4/lib/sprockets
/rails/helper.rb
706 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/sprockets-rails-2.2.4/lib/sprockets
/rails/version.rb
707 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.2.0/lib/rails/engine/con
figuration.rb
708 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.2.0/lib/rails/source_ann
otation_extractor.rb
709 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.2.0/lib/rails/applicatio
n/configuration.rb
710 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/sprockets-rails-2.2.4/lib/sprockets
/railtie.rb
711 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/railties-4.2.0/lib/rails/all.rb
712 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mysql2-0.3.17/lib/mysql2/version.rb
713 C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mysql2-0.3.17/lib/mysql2/error.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.
C:\Users\Neha\My Documents\www\simple_cms>
**
<小时/>这只是大量行的一部分...... 现在,我无法弄清楚这里的问题是什么!
有人可以告诉我如何解决这个问题吗?
最佳答案
我确实相信您可能需要完全删除安装并重新安装。我以前在 Windows 8 上也遇到过这种情况。
关于mysql - 在 Windows 7 上按照 Lynda 教程首次使用 "rails server"命令时出现错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28384516/