mysql - 在 Windows 7 上按照 Lynda 教程首次使用 "rails server"命令时出现错误

标签 mysql ruby-on-rails ruby-on-rails-4 rubygems

操作系统: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/

相关文章:

mysql - Sql 每个左表结果从右表返回一行

ruby-on-rails - 你的 Ruby 版本是 2.3.1,但是你的 Gemfile 指定了 2.4.1

ruby-on-rails-4 - 使用azk时如何管理系统依赖项?

javascript - Ruby-on-Rails JavaScript 未在 link_to 上加载

ruby-on-rails - 使用 Rails 4 将自定义字段/列添加到 Devise

php - MySQL 复制如何保持同步?

mysql - 如何使数据库轮询可扩展?

ruby-on-rails - RSpec:测试 Controller 时对模型的期望不起作用

css - 实现 css 复选框在 Rails 应用程序中不起作用

php - 在 Laravel 中从 AS 中选择并加入