Skip to content

Instantly share code, notes, and snippets.

View swiknaba's full-sized avatar

Lud swiknaba

View GitHub Profile
@swiknaba
swiknaba / ruby_readline_issue.md
Created May 2, 2019 21:54 — forked from soultech67/ruby_readline_issue.md
ruby bundler: Sorry, you can't use byebug without Readline

Preamble

On OS/X Sierra, after recently running a brew update I started receiving the error message Sorry, you can't use byebug without Readline when trying to run some rake tasks in my ruby project folder. I observed this in projects and gems that include byebug or pry in their Gemfile or gem.spec. I've found in my googling that many begin encountering this error message after running a brew update but there are other triggering conditions as well.

>> rake aws:show_config
WARN: Unresolved specs during Gem::Specification.reset:
      mime-types (>= 0)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
 Sorry, you can't use byebug without Readline. To solve this, you need to
@swiknaba
swiknaba / imagemagick_problem.sh
Created November 28, 2018 10:52 — forked from ExReanimator/imagemagick_problem.sh
Can't install RMagick 2.16.0. Can't find MagickWand.h
$ brew tap homebrew/versions
$ brew install imagemagick@6
$ PKG_CONFIG_PATH=/usr/local/opt/imagemagick@6/lib/pkgconfig gem install rmagick --no-ri --no-rdoc