Skip to content

Instantly share code, notes, and snippets.

View roidrage's full-sized avatar
🌱
Planting seeds

Mathias Meyer roidrage

🌱
Planting seeds
View GitHub Profile
/home/travis/.rvm/gems/ruby-2.0.0-p195/bin:/home/travis/.rvm/gems/ruby-2.0.0-p195@global/bin:/home/travis/.rvm/rubies/ruby-2.0.0-p195/bin:/home/travis/.rvm/bin:/home/travis/.gvm/pkgsets/go1.1.1/global/bin:/home/travis/.gvm/gos/go1.1.1/bin:/home/travis/.gvm/pkgsets/go1.1.1/global/overlay/bin:/home/travis/.gvm/bin:/usr/local/phantomjs/bin:/home/travis/.nvm/v0.10.12/bin:./node_modules/.bin:/usr/local/gradle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
/home/travis/.rvm/gems/ruby-2.0.0-p195:/home/travis/.rvm/gems/ruby-2.0.0-p195@global
/home/travis/.rvm/gems/ruby-2.0.0-p195
RubyGems Environment:
- RUBYGEMS VERSION: 2.0.3
- RUBY VERSION: 2.0.0 (2013-05-14 patchlevel 195) [x86_64-linux]
- INSTALLATION DIRECTORY: /home/travis/.rvm/gems/ruby-2.0.0-p195
- RUBY EXECUTABLE: /home/travis/.rvm/rubies/ruby-2.0.0-p195/bin/ruby
- EXECUTABLE DIRECTORY: /home/travis/.rvm/gems/ruby-2.0.0-p195/bin
- RUBYGEMS PLATFORMS:
server {
listen 80;
root @HOTELLOOK_ROOT@/;
index index.php index.html;
location / {
index index.html index.php;
try_files $uri $uri/ /index.php?$args;
}
@roidrage
roidrage / travis.yml
Last active December 17, 2015 21:50
before_install:
- mongo --eval 'db.runCommand({setParameter: 1, textSearchEnabled: true})' admin
@roidrage
roidrage / bundler-ssl-retries.rb
Last active December 17, 2015 04:48
Patch to add retries to Bundler for Gem installations. Drop this bit in your Gemfile to test it out. Tested with Bundler 1.3.x only
require 'bundler/installer'
module ::Bundler
class Installer < Environment
MAX_RETRIES = 3
def install_gem_from_spec(spec, standalone = false)
retries = 1
begin
# Download the gem to get the spec, because some specs that are returned
body {
background-color: white !important; }
#upload_target {
display: none !important; }
div.bottom {
padding: 0px !important;
margin: 0px !important;
background-image: none !important; }
language: php
php:
- 5.3
before_script: composer install --dev
script: phpunit
branches:
@roidrage
roidrage / gist:5296483
Created April 2, 2013 21:44
Remove https://rubygems.org as a source from your Gemfile, and switch it to http://rubygems.org if you're still having issues after applying this change.
before_install:
- gem update --system
- gem install bundler
@roidrage
roidrage / wrap.rb
Last active May 3, 2018 04:46
A simple wrapper that forks off a child and prints out a progress dot every X seconds
#!/usr/bin/env ruby
pid = Kernel.fork do
`#{ARGV.join(" ")}`
exit
end
trap(:CHLD) do
print "\n"
exit
if EasyBib.is_aws?
default[:aws] = true
else
default[:scalarium] = true
end