Easy gem development with FakeGem

Rubygems is nice way to manage dependencies, but it’s a little messy
when it comes to updating and developing gems, You has to constantly
rebuild & push it.

And the ability to use :path option in Bundler’s Gemfile also doesn’t
solve the problem, because:

  • You has to change source code - Gemfile
  • If there’s multiple application with multiple gems - You have to
    change lots of lines in lots of Gemfiles.

FakeGem solves this problem, it makes any directory looks like gem, no
need in code changes.

FakeGem https://github.com/alexeypetrushin/fake_gem
Short introduction
http://ruby-lang.info/blog/fakegem-fakes-directories-into-gems

P.S. If any bug or question, please feel free to submit issue (on
GitHub) or comment article.

On Aug 6, 2011, at 5:59, Alexey P. [email protected] wrote:

FakeGem solves this problem, it makes any directory looks like gem, no need in
code changes.

I do this with:

ruby -I /path/to/other/gem/lib -S some_executable

No need for code changes either