The branch is specified in Gemfile `branch: 'rails4.1'`, but limiting only by major version for next update, if are big changes in rails, the gem might not work and we will assume that everything is ok. But will be easier.