Hi Mandeep Can you include your Gemfile also ? I'd recommend creating a Gist: https://help.github.com/articles/creating-gists/
Then you can include the stack trace and relevant files in one place (without having a really long email). On Tue, Aug 28, 2018 at 9:00 PM mandeep saini <[email protected]> wrote: > yes that throws this error: > Unable to load the EventMachine C extension; To use the pure-ruby reactor, > require 'em/pure_ruby' > rake aborted! > LoadError: cannot load such file -- 2.4/rubyeventmachine > C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/eventmachine-1.2.7-x64-mingw32/lib/rubyeventmachine.rb:2:in > `require' > C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/eventmachine-1.2.7-x64-mingw32/lib/rubyeventmachine.rb:2:in > `<top (required)>' > C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/eventmachine-1.2.7-x64-mingw32/lib/eventmachine.rb:8:in > `require' > C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/eventmachine-1.2.7-x64-mingw32/lib/eventmachine.rb:8:in > `<top (required)>' > C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/bundler-1.16.4/lib/bundler/runtime.rb:81:in > `require' > C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/bundler-1.16.4/lib/bundler/runtime.rb:81:in > `block (2 levels) in require' > C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/bundler-1.16.4/lib/bundler/runtime.rb:76:in > `each' > C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/bundler-1.16.4/lib/bundler/runtime.rb:76:in > `block in require' > C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/bundler-1.16.4/lib/bundler/runtime.rb:65:in > `each' > C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/bundler-1.16.4/lib/bundler/runtime.rb:65:in > `require' > C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/bundler-1.16.4/lib/bundler.rb:114:in > `require' > C:/promotracks-rails/config/application.rb:7:in `<top (required)>' > C:/promotracks-rails/Rakefile:4:in `require' > C:/promotracks-rails/Rakefile:4:in `<top (required)>' > C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/rake_module.rb:29:in > `load' > C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/rake_module.rb:29:in > `load_rakefile' > C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:703:in > `raw_load_rakefile' > C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:104:in > `block in load_rakefile' > C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:186:in > `standard_exception_handling' > C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:103:in > `load_rakefile' > C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:82:in > `block in run' > C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:186:in > `standard_exception_handling' > C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:80:in > `run' > C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rake-12.3.1/exe/rake:27:in `<top > (required)>' > C:/Ruby24-x64/bin/rake:23:in `load' > C:/Ruby24-x64/bin/rake:23:in `<main>' > > > On Tue, Aug 28, 2018 at 8:58 PM Jason King <[email protected]> wrote: > >> Did you try `bundle exec rake db:migrate`? >> >> On Tue, Aug 28, 2018 at 9:15 PM mandeep saini < >> [email protected]> wrote: >> >>> I am trying to run the existing rails app on local server. But somehow >>> it fails when i am trying to migrate the db . >>> >>> >>> Error message : rake aborted! LoadError: cannot load such file -- >>> eventmachine C:/promotracks-rails/config/application.rb:7:in <top >>> (required)>' C:/promotracks-rails/Rakefile:4:in' >>> >>> ( I have ruby,rails,gem,bundler installed) >>> >>> -- >>> -- >>> SD Ruby mailing list >>> [email protected] >>> http://groups.google.com/group/sdruby >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "SD Ruby" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> -- >> SD Ruby mailing list >> [email protected] >> http://groups.google.com/group/sdruby >> --- >> You received this message because you are subscribed to the Google Groups >> "SD Ruby" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > -- > -- > SD Ruby mailing list > [email protected] > http://groups.google.com/group/sdruby > --- > You received this message because you are subscribed to the Google Groups > "SD Ruby" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby --- You received this message because you are subscribed to the Google Groups "SD Ruby" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
