Commit b7ce1aa

mo <mo.khan@gmail.com>
2017-12-02 01:34:29
conditionally load saml-kit location.
1 parent d50d8cf
Changed files (1)
Gemfile
@@ -61,7 +61,11 @@ end
 # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
 gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
 gem 'dotenv-rails'
-gem 'saml-kit', path: '../saml-kit'
+if ENV['RAILS_ENV'] == 'production'
+  gem 'saml-kit'
+else
+  gem 'saml-kit', path: '../saml-kit'
+end
 gem 'rails-assets-bootstrap', source: 'https://rails-assets.org'
 gem 'jwt'
 gem 'activerecord-session_store'