To add new gems (libraries) you can edit the Gemfile_custom
file. For example to add rails-footnotes gem you would just add:
gem 'rails-footnotes', '~> 4.0'
And then just do the classic Ruby on Rails flow bundle install
and following any gem specific install steps from it's own documentation.