For example, pass a config option to libv8 gem
$ bundle config --local build.libv8 --with-system-v8
$ cat .bundle/config
---
BUNDLE_BUILD__LIBV8: "--with-system-v8"
Now libv8 will be installed almost in the same way that gem does:
| patching file ChangeLog | |
| patching file NEWS | |
| patching file array.c | |
| patching file bootstraptest/test_method.rb | |
| patching file configure.in | |
| patching file ext/bigdecimal/bigdecimal.c | |
| patching file ext/bigdecimal/bigdecimal.gemspec | |
| Hunk #1 FAILED at 1. | |
| 1 out of 1 hunk FAILED -- saving rejects to file ext/bigdecimal/bigdecimal.gemspec.rej | |
| patching file ext/openssl/ossl_ssl.c |
| package main | |
| import "net/http" | |
| // https://coderwall.com/p/up2jbg | |
| func main() { | |
| http.Handle("/", http.FileServer(http.Dir("_site"))) | |
| err := http.ListenAndServe(":8000", nil) | |
| if err != nil { |
For example, pass a config option to libv8 gem
$ bundle config --local build.libv8 --with-system-v8
$ cat .bundle/config
---
BUNDLE_BUILD__LIBV8: "--with-system-v8"
Now libv8 will be installed almost in the same way that gem does:
| class LazyProxy < BasicObject | |
| def self.promise(&callback) | |
| new(&callback) | |
| end | |
| def initialize(&callback) | |
| @callback = callback | |
| end | |
| def method_missing(method, *args, &block) |
| build_package_reconfigure() { | |
| test -f configure || autoconf | |
| } | |
| build_package_patch_ruby_railsexpress() { | |
| fetch_git rvm-patchsets git://github.com/skaes/rvm-patchsets.git master | |
| patch -p1 < rvm-patchsets/patches/ruby/2.1.3/railsexpress/01-zero-broken-tests.patch | |
| patch -p1 < rvm-patchsets/patches/ruby/2.1.3/railsexpress/02-improve-gc-stats.patch | |
| patch -p1 < rvm-patchsets/patches/ruby/2.1.3/railsexpress/03-display-more-detailed-stack-trace.patch |
| build_package_reconfigure() { | |
| test -f configure || autoconf | |
| } | |
| build_package_patch_ruby_railsexpress() { | |
| fetch_git rvm-patchsets git://github.com/skaes/rvm-patchsets.git master | |
| patch -p1 < rvm-patchsets/patches/ruby/2.1.4/railsexpress/01-zero-broken-tests.patch | |
| patch -p1 < rvm-patchsets/patches/ruby/2.1.4/railsexpress/02-improve-gc-stats.patch | |
| patch -p1 < rvm-patchsets/patches/ruby/2.1.4/railsexpress/03-display-more-detailed-stack-trace.patch |
| build_package_reconfigure() { | |
| test -f configure || autoconf | |
| } | |
| build_package_patch_ruby_railsexpress() { | |
| fetch_git rvm-patchsets git://github.com/skaes/rvm-patchsets.git master | |
| patch -p1 < rvm-patchsets/patches/ruby/2.1.5/railsexpress/01-zero-broken-tests.patch | |
| patch -p1 < rvm-patchsets/patches/ruby/2.1.5/railsexpress/02-improve-gc-stats.patch | |
| patch -p1 < rvm-patchsets/patches/ruby/2.1.5/railsexpress/03-display-more-detailed-stack-trace.patch |
| build_package_reconfigure() { | |
| test -f configure || autoconf | |
| } | |
| build_package_patch_ruby_railsexpress() { | |
| fetch_git rvm-patchsets git://github.com/skaes/rvm-patchsets.git master | |
| patch -p1 < rvm-patchsets/patches/ruby/2.1.6/railsexpress/01-zero-broken-tests.patch | |
| patch -p1 < rvm-patchsets/patches/ruby/2.1.6/railsexpress/02-improve-gc-stats.patch | |
| patch -p1 < rvm-patchsets/patches/ruby/2.1.6/railsexpress/03-display-more-detailed-stack-trace.patch |
| build_package_reconfigure() { | |
| test -f configure || autoconf | |
| } | |
| build_package_patch_ruby_railsexpress() { | |
| fetch_git rvm-patchsets git://github.com/skaes/rvm-patchsets.git master | |
| patch -p1 < rvm-patchsets/patches/ruby/2.2.3/railsexpress/01-zero-broken-tests.patch | |
| patch -p1 < rvm-patchsets/patches/ruby/2.2.3/railsexpress/02-improve-gc-stats.patch | |
| patch -p1 < rvm-patchsets/patches/ruby/2.2.3/railsexpress/03-display-more-detailed-stack-trace.patch |
| % Plantilla para documentos XeTeX | |
| \documentclass[10pt]{report} | |
| % LAYOUT | |
| \usepackage[a4paper]{geometry} | |
| %% Márgenes | |
| \geometry{ | |
| includeheadfoot, | |
| twoside, |