If your project is using Ruby 1.9.2, add these build setup commands to avoid the regression:
rbenv local 1.9.2-p320
gem install bundler --no-ri --no-rdoc
| ### | |
| # Blog settings | |
| ### | |
| # Time.zone = "UTC" | |
| activate :blog do |blog| | |
| blog.prefix = "blog" | |
| blog.permalink = ":year/:month/:day/:title.html" | |
| blog.sources = "posts/:year-:month-:day-:title.html" |
| Fetching source index from https://rubygems.org/ | |
| Could not verify the SSL certificate for https://rubygems.org/. | |
| There is a chance you are experiencing a man-in-the-middle attack, but most | |
| likely your system doesn't have the CA certificates needed for verification. For | |
| information about OpenSSL certificates, see bit.ly/ruby-ssl. To connect without | |
| using SSL, edit your Gemfile sources and change 'https' to 'http'. |
| echo "deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main" | sudo tee -a /etc/apt/sources.list.d/pgdg.list | |
| wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - | |
| sudo apt-get update | |
| sudo apt-get install -y postgresql-9.3-postgis-2.1 postgresql-9.3-postgis-2.1-scripts |
| #!/usr/bin/env ruby | |
| # | |
| # Shotgun approach (read: slow and dirty hack) to help find unused helpers in a Rails application | |
| # | |
| puts "Loading all source files into memory :(" | |
| source = {} | |
| Dir["app/**/**/*.*"].each do |f| | |
| next if f.include?("app/assets") |
Being able to create plain text files easily anywhere in Finder helps with using the iCloud-backed native file system for personal knowledge management. It's my preferred alternative to third-party apps whose longevity may be uncertain.