On Tuesday, May 1, 2018 at 9:22:50 AM UTC-4, Majid Lotfi 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. >
Did you solve this yet? That seems an odd version of the mysql2 gem, I went from using 0.3.2 to using 0.4.5 with no stops in between What did you set as the database adapter in config/database.yml ? -- 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/371a340d-3e20-425f-bb30-b0d63679cd4b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.