Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (28 sloc) 0.964 kb
gem 'split', :require => 'split/dashboard'
after_bundler do
route %{match '/split/#{config['split_admin_secret']}', :to => Split::Dashboard, :anchor => false}
initializer "split_config.rb", <<-RUBY
Split.configure do |config|
config.db_failover = true # handle redis errors gracefully
config.db_failover_on_db_error = proc{|error| Rails.logger.error(error.message) }
config.allow_multiple_experiments = true
# config.robot_regex = /my_custom_robot_regex/
# config.ignore_ip_addresses << '81.19.48.130'
end
RUBY
end
__END__
name: Split
description: Rack Based AB testing framework
author: drnic
website: https://github.com/andrew/split
screencast: http://railscasts.com/episodes/331-a-b-testing-with-split
requires: [redis]
run_after: [redis]
run_before: []
category: other
exclusive: ab-testing
config:
- split_admin_secret:
type: string
prompt: "Enter a secret string for the Split dashboard route /split/YOUR-SECRET-STRING:"
Jump to Line
Something went wrong with that request. Please try again.