gemtronics 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gemtronics/manager.rb +3 -0
- metadata +1 -1
data/lib/gemtronics/manager.rb
CHANGED
@@ -48,6 +48,9 @@ module Gemtronics
|
|
48
48
|
def warp_drive(name, options = {})
|
49
49
|
options = {:load => false}.merge(options)
|
50
50
|
group(:warp_drives) {|g| g.add(name, options)}
|
51
|
+
if defined?(RAILS_ENV)
|
52
|
+
group(RAILS_ENV.to_sym) {|g| g.add(name, options)}
|
53
|
+
end
|
51
54
|
begin
|
52
55
|
find_and_require_gem(name)
|
53
56
|
load(WarpDrive::Path.config.gemtronics.rb)
|