lib/generators/spotlight/install_generator.rb in blacklight-spotlight-0.23.0 vs lib/generators/spotlight/install_generator.rb in blacklight-spotlight-0.24.0
- old
+ new
@@ -16,9 +16,11 @@
route "root to: 'spotlight/exhibits#index'"
end
def friendly_id
gem 'friendly_id', github: 'norman/friendly_id'
+ # we need to immediately run `bundle install` while pointing at github.
+ Bundler.with_clean_env { run 'bundle install' }
generate 'friendly_id'
end
def riiif
gem 'riiif', '~> 0.4.0'