Ruby Installer 2.5.0 problem

100 views
Skip to first unread message

Surya Majhi

unread,
Feb 7, 2018, 10:44:28 AM2/7/18
to RubyInstaller
Following the installation tutorials, I found out that in the previous versions DevKit was used which had a file named dk.rb but there is no such file in msys2. So I skipped that process.
But now I encountered a problem with the rails s command ...
C:\Users\Surya\Sites\simple_cms>rails s
Traceback (most recent call last):
        23: from bin/rails:4:in `<main>'
        22: from bin/rails:4:in `require'
        21: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/railties-5.1.4/lib/rails/commands.rb:16:in `<top (required)>'
        20: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/railties-5.1.4/lib/rails/command.rb:44:in `invoke'
        19: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/railties-5.1.4/lib/rails/command/base.rb:63:in `perform'
        18: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor.rb:387:in `dispatch'
        17: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in `invoke_command'
        16: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor/command.rb:27:in `run'
        15: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:130:in `perform'
        14: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:130:in `tap'
        13: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:133:in `block in perform'
        12: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/railties-5.1.4/lib/rails/commands/server/server_command.rb:133:in `require'
        11: from C:/Users/Surya/Sites/simple_cms/config/application.rb:7:in `<top (required)>'
        10: from C:/Ruby25-x64/lib/ruby/site_ruby/2.5.0/bundler.rb:114:in `require'
         9: from C:/Ruby25-x64/lib/ruby/site_ruby/2.5.0/bundler/runtime.rb:65:in `require'
         8: from C:/Ruby25-x64/lib/ruby/site_ruby/2.5.0/bundler/runtime.rb:65:in `each'
         7: from C:/Ruby25-x64/lib/ruby/site_ruby/2.5.0/bundler/runtime.rb:76:in `block in require'
         6: from C:/Ruby25-x64/lib/ruby/site_ruby/2.5.0/bundler/runtime.rb:76:in `each'
         5: from C:/Ruby25-x64/lib/ruby/site_ruby/2.5.0/bundler/runtime.rb:81:in `block (2 levels) in require'
         4: from C:/Ruby25-x64/lib/ruby/site_ruby/2.5.0/bundler/runtime.rb:81:in `require'
         3: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/mysql2-0.4.10-x64-mingw32/lib/mysql2.rb:31:in `<top (required)>'
         2: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/mysql2-0.4.10-x64-mingw32/lib/mysql2.rb:31:in `require'
         1: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/mysql2-0.4.10-x64-mingw32/lib/mysql2/mysql2.rb:2:in `<top (required)>'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/mysql2-0.4.10-x64-mingw32/lib/mysql2/mysql2.rb:2:in `require': cannot load such file -- mysql2/2.5/mysql2 (LoadError)


can anyone help me on this?
Reply all
Reply to author
Forward
0 new messages