Assuming you are using the Bundler, you can specify the repository and branch for use in gem in your Gemfile (it also supports specifying a tag or link hash, but the branch should work for your case). In this case, it might look something like this:
gem 'carrierwave-video', :git => 'git://github.com/elja/carrierwave-video.git', :branch => 'patch-1'
or, more briefly:
gem 'carrierwave-video', :github => 'elja/carrierwave-video', :branch => 'patch-1'
This is not a great long-term solution, as the branch is unlikely to continue to update properly and may disappear, so you should probably revert to the default once the pull request is resolved.
source share