Last active
December 17, 2015 04:09
-
-
Save parndt/5548788 to your computer and use it in GitHub Desktop.
`bundle exec` like a sudoer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
04:52:02: [master±|2.0.0p0] /code/parndt/forem$ rake forem:dummy_app | |
rake aborted! | |
You have already activated rake 10.0.4, but your Gemfile requires rake 10.0.3. Using bundle exec may solve this. | |
04:52:04: [master±|2.0.0p0] /code/parndt/forem$ bundle exec !! | |
bundle exec rake forem:dummy_app | |
Copying over Forem migrations... # success |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Context: I rebased against master so the branch make_flexible has divergd from the remote version. | |
05:32:28: [make_flexible|2.0.0p0] /code/parndt/forem$ git push origin make_flexible | |
To git@github.com:radar/forem.git | |
! [rejected] make_flexible -> make_flexible (non-fast-forward) | |
error: failed to push some refs to 'git@github.com:radar/forem.git' | |
hint: Updates were rejected because the tip of your current branch is behind | |
hint: its remote counterpart. Merge the remote changes (e.g. 'git pull') | |
hint: before pushing again. | |
hint: See the 'Note about fast-forwards' in 'git push --help' for details. | |
05:32:45: [make_flexible|2.0.0p0] /code/parndt/forem$ !! --force | |
git push origin make_flexible --force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment