- Install Virtualbox
- Install XCode and the Command Line Tools
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Must have Nokogiri gem installed and save this file in your spec/support dir | |
# Allows you to write cleaner/faster specs in your views (50% faster than css_select) | |
# Increased readability in your spec doc | |
# ex. | |
# rendered.should contain('my heading').within('h1') # searches all H1 tags for 'my heading' | |
# or | |
# rendered.should contain('my string') # searches entire rendered string for 'my string' | |
class Within | |
def initialize(expected, css_selector) | |
@expected = expected |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'meatloaf' | |
require 'steps' | |
Feature "Eat candies" do | |
Scenario "Eat a candy from a jar full of them" do | |
Given "I have a jar with candies", candies: 10 | |
When "I eat one candy" | |
Then "the jar won't be empty" | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Docker file of shingara/chruby container | |
FROM base | |
MAINTAINER Cyril Mougel "[email protected]" | |
RUN apt-get update | |
RUN apt-get install -q -y wget | |
RUN apt-get install -q -y ca-certificates | |
RUN apt-get install -q -y make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% -- ERLANG INET CONFIGURATION FILE -- | |
%% https://erlang.org/doc/apps/erts/inet_cfg.html | |
%% use it by setting the following envvar: | |
%% export ERL_INETRC="/path/to/this-file" | |
%% | |
%% read and monitor nameserver config from here | |
{resolv_conf, "/etc/resolv.conf"}. | |
%% increase cache size | |
{cache_size, 2000}. | |
%% specify lookup method |