Step-by-step debugging and stack navigation for JRuby code.
Problem: the common tools byebug and pry-byebug are MRI-only.
Force JRuby to run in fully interpreted mode:
(otherwise next
would behave like step
)
# check if a formula is still needed | |
brew uses —installed formula |
Step-by-step debugging and stack navigation for JRuby code.
Problem: the common tools byebug and pry-byebug are MRI-only.
Force JRuby to run in fully interpreted mode:
(otherwise next
would behave like step
)
cd `brew --prefix` | |
git fetch origin | |
git reset --hard origin/master |
begin | |
require "bundler/inline" | |
rescue LoadError => e | |
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler" | |
raise e | |
end | |
gemfile(true) do | |
source "https://rubygems.org" |
Downgrade tmux
installed via homebrew to v 29.a
.
Uninstall current version and install from the old formula:
brew uninstall tmux
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/c8cff106b17b90472cc6e251b9e5c2daf4fd8d46/Formula/tmux.rb
Pin the version to prevent it from accidental upgrades:
#!/bin/sh | |
set -o errexit | |
set -o nounset | |
# Create directory | |
mkdir example && cd example | |
# Initialize Git repository | |
git init && git commit --allow-empty -m "init commit" |