How can I specify a local gem in my Gemfile?

bundler, ruby, ruby-on-rails, ruby-on-rails-3, rubygems

Solution

I believe you can do this:

gem "foo", path: "/path/to/foo"

Problem

I'd like Bundler to load a local gem. Is there an option for that? Or do I have to move the gem folder into the .bundle directory?

Original source