fedena windows安装问题

时间:2018-02-14 20:21:27

标签: ruby-on-rails ruby fedena

Fedena安装问题。无法通过rake db:create创建数据库。所有宝石似乎都是fedena app的正确版本。 Config/database.yml显然是正确的。无法在MySQL中创建db的一个可能原因是为fedena指定的RoR版本的差异。即ver 1.8.7 vs ruby 2.5.0p0(2017-12-25修订版61468)[x64-mingw32](后者安装在系统上)

请参阅以下内容:

d:\fedena>rake db:create
Traceback (most recent call last):
        13: from C:/Ruby25-x64/bin/rake:23:in `<main>'
        12: from C:/Ruby25-x64/bin/rake:23:in `load'
        11: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-0.8.7/bin/rake:26:in `<top (required)>'
        10: from C:/Ruby25-x64/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
         9: from C:/Ruby25-x64/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
         8: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-0.8.7/lib/rake.rb:41:in `<top (required)>'
         7: from C:/Ruby25-x64/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
         6: from C:/Ruby25-x64/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
         5: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-0.8.7/lib/rake/win32.rb:2:in `<top (required)>'
         4: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-0.8.7/lib/rake/win32.rb:3:in `<module:Rake>'
         3: from C:/Ruby25-x64/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
         2: from C:/Ruby25-x64/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
         1: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-0.8.7/lib/rake/alt_system.rb:31:in `<top (required)>'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rake-0.8.7/lib/rake/alt_system.rb:32:in `<module:AltSystem>': uninitialized constant Rake::AltSystem::Config (NameError)
Did you mean?  RbConfig

任何建议和指导都会很棒。

0 个答案:

没有答案