Sha256: 93cdb3dcc35de9e35b277db329e098f9aa5459848e977a6630eec93e90efdac2

Contents?: true

Size: 392 Bytes

Versions: 9

Compression:

Stored size: 392 Bytes

Contents

#!/usr/bin/env ruby

require 'sys/uname'
include Sys

$:.push File.expand_path("../../lib", __FILE__)
require "phantomjs-binaries/version"

machine  = Uname.machine
platform = Uname.sysname.downcase
version  = Phantomjs::Binaries::PHANTOM_VERSION
platform_binary = File.expand_path(File.join(File.dirname(__FILE__), "phantomjs-#{version}-#{platform}-#{machine}"))
exec platform_binary, *ARGV

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
phantomjs-binaries-2.1.1.0 bin/phantomjs
phantomjs-binaries-1.9.8.0 bin/phantomjs
phantomjs-binaries-1.9.2.4 bin/phantomjs
phantomjs-binaries-1.9.2.3 bin/phantomjs
phantomjs-binaries-1.9.2.2 bin/phantomjs
phantomjs-binaries-1.9.2.1 bin/phantomjs
phantomjs-binaries-1.8.1.4 bin/phantomjs
phantomjs-binaries-1.8.1.1 bin/phantomjs
phantomjs-binaries-1.8.0.2 bin/phantomjs