ruby - Install only part of a gem -


i have large gem installed use part of. so, few questions:

  • is possible install part need?
  • if so, make more sense installing whole thing , requireing part need?

it possible install gem in entirety, i.e. declared in gemspec.

if so, make more sense installing whole thing , requireing part need?

only requiring need you're looking for. if gem declared in gemfile this:

gem "your_gem", require: false 

then, won't automatically required in app , therefore, won't loaded memory, seems effect want. then, require parts need.


Comments