Permalink
Browse files

scan is the new grep?

  • Loading branch information...
1 parent 60c4b3b commit 4e0fae0ee45cb76c25a025639e351b65fd57eef6 @wayneeseguin wayneeseguin committed Feb 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/railsinstaller/actions.rb
@@ -38,7 +38,7 @@ def self.build!
#
def self.package!
- unless %x{iscc --version}.grep("Inno Setup 5")
+ unless %x{iscc --version}.scan("Inno Setup 5")
printf "ERROR: Inno Setup 5 is required in order to package RailsInstaller.\n"
printf " http://www.jrsoftware.org/isdl.php#qsp\n"
printf "Please see README for full RailsInstaller instructions.\n"

0 comments on commit 4e0fae0

Please sign in to comment.