I\'m in the process of upgrading a Rails 3.2 app to Rails 4.1. Whenever I try to start the console or server though, I come across this error:
C:/Ruby200/lib
Requiring the tzinfo
gem before initializing the app in environment.rb
fixes the issue for me. Doesn't really explain everything, but seems to work
# adding this fixes the issue
require 'tzinfo'
# Initialize the rails application
RailsApp::Application.initialize!
Edit: Seems this was a problem with Rails: https://github.com/rails/rails/issues/13553
This worked for me:
gem uninstall tzinfo
#select 'All versions'
gem install tzinfo
rails c