Created
August 18, 2011 13:18
-
-
Save DriesS/1154039 to your computer and use it in GitHub Desktop.
Error with vanity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uninitialized constant Vanity::Rails |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "date" | |
require "time" | |
require "logger" | |
require "cgi" | |
require "erb" | |
require "yaml" | |
# All the cool stuff happens in other places. | |
# @see Vanity::Helper | |
# @see Vanity::Rails | |
# @see Vanity::Playground | |
# @see Vanity::Metric | |
# @see Vanity::Experiment | |
module Vanity | |
end | |
require "vanity/version" | |
require "vanity/backport" if RUBY_VERSION < "1.9" | |
# Metrics. | |
require "vanity/metric/base" | |
require "vanity/metric/active_record" | |
require "vanity/metric/google_analytics" | |
require "vanity/metric/remote" | |
# Experiments. | |
require "vanity/experiment/base" | |
require "vanity/experiment/ab_test" | |
# Database adapters | |
require "vanity/adapters/abstract_adapter" | |
require "vanity/adapters/redis_adapter" | |
require "vanity/adapters/mongodb_adapter" | |
require "vanity/adapters/mock_adapter" | |
# Playground. | |
require "vanity/playground" | |
require "vanity/helpers" | |
# Integration with various frameworks. | |
require "vanity/frameworks/rails" if defined?(Rails) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment