aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/extensions/gallery_links/script/rails
blob: 8c9932ac99b1006aa8553b06f73ac97ab0bbf0dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env ruby
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.

ENGINE_PATH = File.expand_path('../..',  __FILE__)
dummy_rails_path = File.expand_path('../../spec/dummy/script/rails',  __FILE__)
if File.exist?(dummy_rails_path)
  load dummy_rails_path
else
  puts "Please first run 'rake refinery:testing:dummy_app' to create a dummy Refinery CMS application."
end