Uninitialized Constant TZInfo::InvalidTimezoneIdentifier (NameError) - Rails 4

前端 未结 2 1464
难免孤独
难免孤独 2020-12-21 13:13

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         


        
2条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-21 13:53

    This worked for me:

    gem uninstall tzinfo
    #select 'All versions'
    gem install tzinfo
    rails c
    

提交回复
热议问题