Getting images like this? Your camera probably needs more time to warm up. Try using the
--delay setting in your lolcommits hook or the
LOLCOMMITS_DELAY env var with a number of seconds (e.g. try 2,3 or 5). Your lolcommits post-commit hook lives in
If you're not happy with the extra wait time, try using the
LOLCOMMITS_FORK env var to perform the capture in a background process. Check our Configure Commit Capturing page for more information on these settings.
Simply use the --device option (or
LOLCOMMITS_DEVICE env var). This will be passed directly to the
device argument on the
For now, you'll have to open up .git/hooks/post-commit and edit it manually after enabling lolcommits for each project. Where it currently reads:
It should instead read:
#!/usr/bin/env bash source "$HOME/.rvm/scripts/rvm" # or "/etc/rvmrc" if you have a system-wide installation rvm use 1.9.3-p194 # or whichever gemset you want to use
Follow the instructions here as modified with the correct paths for your machine. For instance, Homebrew installed ImageMagick in /usr/local/Cellar/imagemagick/6.7.5-7/ for this author.
Set the environment variable
LOLCOMMITS_DIR when invoking lolcommits. To do this, edit the .git/hooks/post-commit hook to look something like the following:
LOLCOMMITS_DIR=/path/to/.lolcommits lolcommits --capture
To avoid this make sure you have installed Xcode 4.6.x before using HomeBrew to install ImageMagick. If you do get a message like this;
Warning: Could not link jpeg. Unlinking... Error: The `brew link` step did not complete successfully The formula built, but is not symlinked into /usr/local You can try again using `brew link jpeg'
follow these steps to resolve,
brew rm jpeg brew install jpeg brew link --overwrite jpeg
After that, try to install lolcommits again
[sudo] gem install lolcommits
Try the shell solution here