Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make Gemfile evaluable in plugin Gemfile

  • Loading branch information...
commit a860a6c1bacda4f4308bc0453125aad1585ae011 1 parent 4835f24
@pcreux pcreux authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 Gemfile
View
4 Gemfile
@@ -2,7 +2,9 @@ source 'http://rubygems.org'
gemspec
-require File.expand_path('../spec/support/detect_rails_version', __FILE__)
+ACTIVE_ADMIN_PATH = File.dirname(__FILE__) unless defined?(ACTIVE_ADMIN_PATH)
+
+require File.expand_path('spec/support/detect_rails_version', ACTIVE_ADMIN_PATH)
rails_version = detect_rails_version
gem 'rails', rails_version
Please sign in to comment.
Something went wrong with that request. Please try again.