diff options
Diffstat (limited to 'vendor/extensions/gallery_links/script/rails')
-rw-r--r-- | vendor/extensions/gallery_links/script/rails | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/extensions/gallery_links/script/rails b/vendor/extensions/gallery_links/script/rails new file mode 100644 index 0000000..8c9932a --- /dev/null +++ b/vendor/extensions/gallery_links/script/rails @@ -0,0 +1,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 |