require: false for rails_admin gem on Gemfile #1411

Closed
elado opened this Issue Nov 25, 2012 · 3 comments

Comments

Projects
None yet
4 participants
Contributor

elado commented Nov 25, 2012

Is there any option to require gem only on demand, and not in gem file? Looks like it takes a few seconds to load, which are critical on Heroku apps.

Ideally, the require and config initialization would take place on first access to /admin.

I have SKIP_RAILS_ADMIN_INITIALIZER=true, but looks like requiring the gem itself takes a few seconds.

+1

+1

Collaborator

mshibuya commented Mar 23, 2015

#1428 should have been resolved this.

mshibuya closed this Mar 23, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment