Ruby-on-rails – How to specify a local gem in the Gemfile

bundlerrubyruby-on-railsruby-on-rails-3rubygems

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?

Best Answer

I believe you can do this:

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