Issue when installing rails apartment gem

拥有回忆 提交于 2020-08-08 06:34:17

问题


I am getting an error when I am trying to

bundle exec rails generate apartment:install

Getting this error,

build': undefined method new' for "Apartment::Reloader":String (NoMethodError)

Looks this is a middleware issue. Any solution.


回答1:


In order to use Rails 6 you have to use the development branch on github:

gem "apartment", git: 'git@github.com:influitive/apartment.git', branch: "development"


来源:https://stackoverflow.com/questions/59590162/issue-when-installing-rails-apartment-gem

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!