mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-17 15:50:13 +01:00
Removed superfluous 'tracks' directory at the root of the repository.
Testing commits to github.
This commit is contained in:
parent
6a42901514
commit
4cbf5a34d3
2269 changed files with 0 additions and 0 deletions
19
vendor/plugins/selenium-on-rails/init.rb
vendored
Normal file
19
vendor/plugins/selenium-on-rails/init.rb
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
require 'selenium_on_rails_config'
|
||||
envs = SeleniumOnRailsConfig.get :environments
|
||||
|
||||
if envs.include? RAILS_ENV
|
||||
#initialize the plugin
|
||||
$LOAD_PATH << File.dirname(__FILE__) + "/lib/controllers"
|
||||
require 'selenium_controller'
|
||||
require File.dirname(__FILE__) + '/routes'
|
||||
|
||||
else
|
||||
#erase all traces
|
||||
$LOAD_PATH.delete lib_path
|
||||
|
||||
#but help user figure out what to do
|
||||
unless RAILS_ENV == 'production' # don't pollute production
|
||||
require File.dirname(__FILE__) + '/switch_environment/init'
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue