forked from benstein/annotatedtimeline-for-rails
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
54 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
require 'vendor/plugins/annotated_timeline/lib/annotated_timeline.rb' | ||
require File.join(File.dirname(__FILE__), 'lib/annotated_timeline.rb') | ||
ActionView::Base.send(:include, AnnotatedTimeline) |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
ENV["RAILSENV"] = "test" | ||
# require File.expand_path(File.join(File.dirname(__FILE__), '../../../../config/boot')) | ||
|
||
# #if soap4r is installed as a gem, it totally craps rails. This MUST be at the top of environment.rb | ||
# require 'rubygems' | ||
# gem 'soap4r' | ||
# | ||
# # Remove pointless deprecation warnings | ||
# Object.class_eval "undef type" | ||
# Object.class_eval "undef id;alias id object_id" | ||
# $VERBOSE = nil | ||
# | ||
# # Uncomment below to force Rails into production mode when | ||
# # you don't control web/app server and can't set it the proper way | ||
# # ENV['RAILS_ENV'] ||= 'production' | ||
# | ||
# # Specifies gem version of Rails to use when vendor/rails is not present | ||
# RAILS_GEM_VERSION = '1.2.6' unless defined? RAILS_GEM_VERSION | ||
# | ||
# # Bootstrap the Rails environment, frameworks, and default configuration | ||
# require File.expand_path(File.join(File.dirname(__FILE__), '../../../../config/boot')) | ||
# # | ||
# require 'rubygems' | ||
# gem "rails", "=1.2.6" | ||
# require_gem "rails" | ||
|
||
|
||
|
||
# require 'initializer' | ||
|
||
# require 'test_help' |