Skip to content

Commit

Permalink
Merge branch 'radiant' of https://github.com/Zorros/powder into Zorro…
Browse files Browse the repository at this point in the history
…s-radiant
  • Loading branch information
philnash committed May 26, 2011
2 parents 1fbcf90 + 75ce820 commit b00d9aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/powder
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ module Powder
end

def is_rails2_app?
File.exists?('config/environment.rb') && !`grep RAILS_GEM_VERSION config/environment.rb`.empty?
File.exists?('config/environment.rb') &&
(!`grep RAILS_GEM_VERSION config/environment.rb`.empty? ||
!`grep Radiant::Initializer config/environment.rb`.empty?)
end

def domain
Expand Down

0 comments on commit b00d9aa

Please sign in to comment.