0

I'm trying to run rails server and this error comes up!

Error message on command prompt

Gemfile

gem 'Rails', '4.2.6'

gem 'mysql2', '>= 0.3.13', '< 0.5'

gem 'sdoc', '~> 0.4.0', group: :doc

gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

geek-tech
  • 95
  • 1
  • 10

1 Answers1

0

Try these:

https://github.com/tzinfo/tzinfo/wiki/Resolving-TZInfo::DataSourceNotFound-Errors

Could not find gem 'rails x86-mingw32'

And try deleting the Gemfile.lock, then bundle installing again.

Community
  • 1
  • 1
fbelanger
  • 3,522
  • 1
  • 17
  • 32
  • I still have the same problem! – geek-tech Mar 12 '16 at 21:24
  • Hmm, has Rails ever worked on your machine? It looks to me like your running on Windows. Try deleting the `Gemfile.lock`, then `bundle install`-ing again. – fbelanger Mar 13 '16 at 00:01
  • Finally! worked like charm following this one [link](http://stackoverflow.com/questions/23022258/tzinfodatasourcenotfound-error-starting-rails-v4-1-0-server-on-windows). Thanks a lot @fbelanger – geek-tech Mar 13 '16 at 09:46