Sha256: 92bdcd3d70f91a7336ec3167998d22d28a52ae0f2a28359f8619711ae6b91123
Contents?: true
Size: 687 Bytes
Versions: 18
Compression:
Stored size: 687 Bytes
Contents
#!/usr/bin/env ruby if RUBY_VERSION < '2.0.0' abort("pantograph requires Ruby 2.0.0 or higher") end def self.windows? # taken from: https://stackoverflow.com/a/171011/1945875 (/cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM) != nil end require "pantograph/cli_tools_distributor" if Pantograph::CLIToolsDistributor.running_version_command? # This will print out the pantograph binary path right above the # version number. Very often, users are not aware they have # e.g. bundled pantograph installed puts("pantograph installation at path:") puts(File.expand_path(__FILE__)) puts("-----------------------------") end Pantograph::CLIToolsDistributor.take_off
Version data entries
18 entries across 18 versions & 1 rubygems