Skip to content

Instantly share code, notes, and snippets.

@merikan
merikan / Jenkinsfile
Last active August 16, 2026 03:37
Some Jenkinsfile examples
Some Jenkinsfile examples
@pwenzel
pwenzel / rbenv-fish-setup.md
Last active September 13, 2022 01:50
Installing rbenv in a fish environment

Here we use Homebrew to install rbenv:

  1. brew update; and brew install rbenv ruby-build
  2. Add ~/.rbenv/shims to your PATH
  3. Include the contents of completions/rbenv.fish in your Fish config.
  4. Run rbenv install 2.2.2 and rbenv rehash
  5. Run rbenv global 2.2.2

Now you can run gem install bundler and bundle install within your Ruby project.

@msolli
msolli / ruby-install
Last active November 15, 2017 17:21
Install Ruby 2.2 on OS X Yosemite with Fish shell
brew update
brew install chruby chruby-fish ruby-install openssl readline libyaml gdbm libffi
# Optional:
brew cleanup
# https://github.com/raggi/openssl-osx-ca
brew tap raggi/ale
brew install openssl-osx-ca
echo ". /usr/local/share/chruby/chruby.fish" >> .config/fish/config.fish