Skip to content

Commit

Permalink
Mention binary dependency in a post install message
Browse files Browse the repository at this point in the history
  • Loading branch information
crishoj committed Oct 16, 2014
1 parent 9c5ac0c commit e0cb21b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
Empty file modified bin/sim_launcher 100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion lib/sim_launcher/simulator.rb
Expand Up @@ -105,7 +105,7 @@ def iphonesim_path
return $1
end

raise "Didn't find ios-sim in your $PATH. Please install, e.g. using\n\n\tbrew install ios-sim"
raise "Didn't find the ios-sim binary in your $PATH.\n\nPlease install, e.g. using Homebrew:\n\tbrew install ios-sim\n\n"
end
end
end
11 changes: 11 additions & 0 deletions sim_launcher.gemspec
Expand Up @@ -16,5 +16,16 @@ Gem::Specification.new do |s|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]

s.post_install_message = <<-EOS
****************************************************************************************
* sim_launcher expects the ios-sim binary in your $PATH. Install using e.g. Homebrew: *
* *
* brew install ios-sim *
* *
****************************************************************************************
EOS

s.add_dependency "sinatra"
end

0 comments on commit e0cb21b

Please sign in to comment.