What happens if you run the `bundle` command in your project? Is the mysql2 gem installed?
Walter > On May 1, 2018, at 9:22 AM, Majid Lotfi <akrama...@gmail.com> wrote: > > Hi, > I am following lynda training in my windows 7, I don't know what cause this > error : > > rake db:schema:dump > > rake aborted! > LoadError: cannot load such file -- mysql2/2.4/mysql2 > C:/majid/projTutorials/Lynda/rails/Sites/simple_cms/config/application.rb:7:in > `<top (required)>' > C:/majid/projTutorials/Lynda/rails/Sites/simple_cms/Rakefile:4:in > `require_relative' > C:/majid/projTutorials/Lynda/rails/Sites/simple_cms/Rakefile:4:in `<top > (required)>' > (See full trace by running task with --trace) > > Thanks, your help is appreciated. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscr...@googlegroups.com. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/ec6d9b5d-eed8-4c47-aefe-d64beca83ebf%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/3E669D37-00B6-46ED-967F-DFF1F2F78459%40wdstudio.com. For more options, visit https://groups.google.com/d/optout.