Skip to content

Instantly share code, notes, and snippets.

View conorh's full-sized avatar

Conor Hunt conorh

View GitHub Profile
@conorh
conorh / gist:290606
Created January 30, 2010 16:11
Migrate Rails project from config.gem to Bundler
Steps to migrate a Rails 2.3 project to bundler.
1. Install bundler
gem install bundler
2. Remove existing vendor gems directory
rm -rf vendor/gems
@conorh
conorh / check_translations.rb
Created November 18, 2009 16:21
Check for missing i18n SimpleBackend translations
#!/usr/bin/env ruby
# This is intended for the I18n SimpleBackend. It checks to see that every string
# is translated. Running this script will output a list of translation keys that
# are remaining to be translated.
# The script only checks your custom translations. It does not check the Rails
# translations too. If you want to do that just remove the I18n.load_path = ...
# The script expects:
find . -name ".git" -exec rm -rf {} \;