Get boot2docker working with nfs instead of vboxsf.
Tested on:
- Boot2Docker-cli version: v1.6.0
Git commit: 9894ae9
- Boot2Docker-cli version: v1.6.2
Git commit: cb2c3bc
# rails3_bootstrap.rb | |
# | |
# rails new project --skip-test-unit -m rails3_bootstrap.rb | |
require 'rbconfig' | |
HOST_OS = RbConfig::CONFIG['host_os'] | |
# Limpeza | |
#------------------------------------------------------------------------------- | |
say("Limpando arquivos", :yellow) |
# Idempotent way to build a /etc/hosts file with Ansible using your Ansible hosts inventory for a source. | |
# Will include all hosts the playbook is run on. | |
# Inspired from http://xmeblog.blogspot.com/2013/06/ansible-dynamicaly-update-etchosts.html | |
- name: "Build hosts file" | |
lineinfile: dest=/etc/hosts regexp='.*{{ item }}$' line="{{ hostvars[item].ansible_default_ipv4.address }} {{item}}" state=present | |
when: hostvars[item].ansible_default_ipv4.address is defined | |
with_items: groups['all'] |
require 'transproc/all' | |
require 'addressable/uri' | |
## | |
# Convert string keys to symbols | |
# | |
transform = Transproc(:symbolize_keys) | |
data = { | |
'name' => 'Mark Rickerby', |
Get boot2docker working with nfs instead of vboxsf.
Tested on:
- Boot2Docker-cli version: v1.6.0
Git commit: 9894ae9
- Boot2Docker-cli version: v1.6.2
Git commit: cb2c3bc
require 'dry-validation' | |
SCHEMA = Dry::Validation.Schema do | |
configure do | |
config.input_processor = :sanitizer | |
def self.messages | |
Dry::Validation::Messages.default.merge(en: { errors: { unique?: "oops not unique" }}) | |
end |
require 'dry-validation' | |
SCHEMA = Dry::Validation.Schema do | |
configure do | |
config.input_processor = :sanitizer | |
def self.messages | |
Dry::Validation::Messages.default.merge(en: { errors: { unique?: "oops not unique" }}) | |
end |
As of August 15, 2024, it's been announced that the three projects bein compared here will soon merge! See the official Elixir blog post for more details: https://elixir-lang.org/blog/2024/08/15/welcome-elixir-language-server-team/
We'll be comparing the following: