Skip to content

Commit

Permalink
We can now use a released version of Devise
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne authored and cbeer committed Sep 9, 2016
1 parent 935ba6d commit 4f97d82
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/generators/blacklight/user_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ class UserGenerator < Rails::Generators::Base
# Install Devise?
def generate_devise_assets
if options[:devise]
if ENV['RAILS_VERSION'] =~ /^5\.0/ || ENV['RAILS_VERSION'] == 'edge'
gem 'devise', github: 'plataformatec/devise' # Need > 3.5.3
else
gem "devise"
end
gem "devise"
gem "devise-guests", "~> 0.5"

Bundler.with_clean_env do
Expand Down

0 comments on commit 4f97d82

Please sign in to comment.