When I run rails new app command the process stops at bundle giving me the above error. I have ruby 2.0.0p195, rails 4.2.0.beta4. I m trying to follow on Michael Hartl's tutorial. The command worked fine I think until I installed this version of rails... I tried to uninstall it but it looks like gem uninstall does not want to work. What should I do?
check your gemfile you will see there like this gem 'tzinfo-data', platforms: [:mingw, :mswin] OR gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw]
if you have gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw] then replace this with gem 'tzinfo-data', platforms: [:mingw, :mswin]
and after that save file and fire bundle update command .
I assume you are on Windows machine, right? I had the same problems, tried a lot of things only to be defeated by the same error that brought you here.
My fix: 1. Uninstall both Ruby and Rails and Rails Installer and anything related to RoR you have installed so far on your machine. Go to Control Panel to do so. 2. Visit http://railsftw.bryanbibat.net/ and download Ruby on Rails installer. 3. Use Ruby on Rails.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With