source /usr/local/opt/chruby/share/chruby/chruby.sh source /usr/local/opt/chruby/share/chruby/auto.sh
| #Headless browser option | |
| browser: | |
| webkit: "phantomjs" | |
| # gecko: "slimerjs" | |
| #If you want to have multiple snapping files, set the file name here | |
| snap_file: "javascript/snap.js" | |
| # Type the name of the directory that shots will be stored in | |
| directory: |
| require 'wraith' | |
| require 'parallel' | |
| class Wraith::SaveImages | |
| attr_reader :wraith | |
| def initialize(config) | |
| @wraith = Wraith::Wraith.new(config) | |
| end |
| <div id="local-weather" class="container-local local-weather"> | |
| <h2> | |
| <a id="local-weather-title" href="/weather"> | |
| Weather </a> | |
| </h2> | |
| <h3 class="local-weather-current-location">London</h3> |
actionpack (4.0.2) active_support (3.0.0) activemodel (4.0.2) activesupport (4.0.2, 3.0.0) addressable (2.3.5) anemone (0.7.2) anmo (0.0.30) ast (1.1.0) atomic (1.1.14) awesome_print (1.2.0)
| links = arr.each do |l| | |
| news = l.scan(/^\/news(?:|.+)?$/) | |
| puts news | |
| end |
BUILD FAILED
Inspect or clean up the working tree at /var/folders/g8/wptkvqnj3h72tmrxf3fbcznc0000gn/T/ruby-build.20140131124151.82851 Results logged to /var/folders/g8/wptkvqnj3h72tmrxf3fbcznc0000gn/T/ruby-build.20140131124151.82851.log
Last 10 log lines: compiling dmydln.c compiling dmyencoding.c compiling version.c compiling miniprelude.c
Compiling ruby 2.0.0-p353 ... CC = gcc-4.8 LD = ld LDSHARED = gcc-4.8 -dynamic -bundle CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -pipe XCFLAGS = -include ruby/config.h -include ruby/missing.h -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -fPIE CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I/usr/local/opt/openssl/include -I/usr/local/opt/readline/include -I/usr/local/opt/libyaml/include -I/usr/local/opt/gdbm/include -I/usr/local/opt/libffi/include -I. -I.ext/include/x86_64-darwin13.0.2 -I./include -I. DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -L/usr/local/opt/openssl/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/gdbm/lib -L/usr/local/opt/libffi/
| $:.unshift(File.expand_path("./ruby")) | |
| require 'capybara' | |
| require 'capybara/cucumber' | |
| require 'selenium/webdriver' | |
| require 'capybara/poltergeist' | |
| require 'capybara/mechanize/cucumber' | |
| require 'restclient' | |
| require "anmo" | |
| require "awesome_print" |
| responsive-news ⮀ ⭠ develop ⮀ VAGRANT_LOG=INFO vagrant up --provider vmware_fusion | |
| INFO global: Vagrant version: 1.4.2 | |
| INFO global: Ruby version: 2.0.0 | |
| INFO global: RubyGems version: 2.0.14 | |
| INFO global: VAGRANT_LOG="INFO" | |
| INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/Applications/Vagrant/bin/../embedded" | |
| INFO global: VAGRANT_INSTALLER_VERSION="2" | |
| INFO global: VAGRANT_DETECTED_OS="Darwin" | |
| INFO global: VAGRANT_INSTALLER_ENV="1" | |
| INFO manager: Registered plugin: box command |