简体   繁体   中英

Issue when installing rails apartment gem

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.

为了使用 Rails 6,你必须使用 github 上的 development 分支:

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM