For homebrew version 0.9.5.
brew -v # => Homebrew 0.9.5
Install the current version of mysql.
# Install current mysql version
brew install mysql
Our Virtual Machines are provisioned using Vagrant from a Linux base box to run using VirutalBox. If the Hard Disk space runs out and you cannot remove files to free-up space, you can resize the Hard Disk using some VirtualBox and Linux commands.
The following steps assume you've got a set-up like mine, where:
| require 'zlib' | |
| require 'fileutils' | |
| require 'time' | |
| require 'tempfile' | |
| module Utils | |
| def delete_file(path) | |
| File.delete(path) if File.exists?(path) | |
| end |
| require 'formula' | |
| class Emacs < Formula | |
| homepage 'http://www.gnu.org/software/emacs/' | |
| url 'http://ftp.gnu.org/pub/gnu/emacs/emacs-24.2.tar.gz' | |
| sha1 '5fc4fe7797f821f2021ac415a81f5f190c52c0b2' | |
| depends_on "autoconf" => :build | |
| if ARGV.include? "--use-git-head" |
| cat error_all.csv | cut -d "," -f 1,4,6 |
| var validator = $("#form").data('validator'); | |
| validator.settings.errorPlacement = function (error, element) { | |
| // Error placement for single elements | |
| var offset = element.offset(); | |
| error.insertBefore(element) | |
| error.addClass('message'); // add a class to the wrapper | |
| error.css('position', 'absolute'); | |
| error.css('left', offset.left + element.outerWidth()); | |
| error.css('top', offset.top - (element.height() / 2)); | |
| }; |
| module ::APP_NAME | |
| class Application | |
| include Rake::DSL | |
| end | |
| end | |
| module ::RakeFileUtils | |
| extend Rake::FileUtilsExt | |
| end |