Sha256: c092fe5cc1dc8245a7306eb8bf38b34d4e0247cd394a606e48f7ade50fae8388
Contents?: true
Size: 535 Bytes
Versions: 5
Compression:
Stored size: 535 Bytes
Contents
require 'rubygems' require 'rubygems/command.rb' require 'rubygems/dependency_installer.rb' begin Gem::Command.build_args = ARGV rescue NoMethodError end inst = Gem::DependencyInstaller.new begin if RUBY_PLATFORM.downcase.include? 'darwin' inst.install 'phantomjs-mac', '>= 0.0.3' end rescue #Exit with a non-zero value to let rubygems know something went wrong exit(1) end # create dummy rakefile to indicate success f = File.open(File.join(File.dirname(__FILE__), 'Rakefile'), 'w') f.write("task :default\n") f.close
Version data entries
5 entries across 5 versions & 1 rubygems