platforms :mswin do
gem 'bcrypt', git: 'https://github.com/codahale/bcrypt-ruby.git'
end
platforms :ruby do
gem 'bcrypt'
end
install_if -> { RUBY_PLATFORM =~ /linux/ } do
gem 'bcrypt', git: 'https://github.com/codahale/bcrypt-ruby.git'
end
install_if -> { RUBY_PLATFORM =~ /mswin/ }
gem 'bcryptcrypt'
end
Sidekiq.configure_server do |config|
config.redis = { url: 'redis://localhost:6379/0', namespace: "appname_#{Rails.env}" }
end
Sidekiq.configure_client do |config|
config.redis = { url: 'redis://localhost:6379/0', namespace: "appname_#{Rails.env}" }
end