RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

`gem install` is painful

I wrote a blog post about Installing Gems.

It turns out the super simple use case for installing a command line tool written in Ruby and packaged as a gem is not simple at all. In fact, it’s downright hard. I walk through a few of the barriers and some of the solutions.

Comments

For user installs, use gem install --user your-gem and add “$HOME/.gem/ruby-1.8.7/bin” (or equivalent) to your PATH.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in