Thursday, September 24, 2015

Splitting Word document into separate files

Tuesday, September 22, 2015

Rails - Apache - "Web Application could not be started"

When deploying a new rails application to a local Apache install, i seem to run into this error:
Web application could not be started It looks like Bundler could not find a gem. Maybe you didn't install all the gems that this application needs. To install your gems, please run: bundle install If that didn't work, then the problem is probably caused by your application being run under a different environment than it's supposed to. Please check the following:
A quick fix, appears to be:

Run: bundle install --path vendor/bundle


Friday, May 29, 2015

Shell command to remove a .bak extension

find . -name "*.bak" -exec sh -c 'mv {} "`dirname {}`/`basename {} .bak`"' \;