Class: Phantomjs::Platform::Linux32
Class Method Summary
collapse
architecture, ensure_installed!, host_os, install!, installed?, phantomjs_path, system_phantomjs_installed?, system_phantomjs_path, system_phantomjs_version, temp_path
Class Method Details
.package_url ⇒ Object
136
137
138
|
# File 'lib/phantomjs/platform.rb', line 136
def package_url
'https://s3-us-west-2.amazonaws.com/phantomjs-bin/phantomjs-2.0.0-debian7.8_linux-i686.tar.bz2'
end
|
132
133
134
|
# File 'lib/phantomjs/platform.rb', line 132
def platform
'x86_32-linux'
end
|
.useable? ⇒ Boolean
128
129
130
|
# File 'lib/phantomjs/platform.rb', line 128
def useable?
host_os.include?('linux') and (architecture.include?('x86_32') or architecture.include?('i686'))
end
|