I'm trying to install apartment gem but its giving error.
When I do
bundle exec rails generate apartment:install
it produce error
undefined method `new' for "Apartment::Reloader":String (NoMethodError)
what the solution of this issue?
Actually apartment doesn't support rails 6 and so on.
Use below gem instead:
gem 'ros-apartment', require: 'apartment'
and then do:
bundle install
This resolved my issue.