Skip to content

Instantly share code, notes, and snippets.

@netzpirat
Created November 18, 2009 19:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save netzpirat/238183 to your computer and use it in GitHub Desktop.
Save netzpirat/238183 to your computer and use it in GitHub Desktop.
Using gem bundler on snow leopard
#!/usr/bin/env ruby
puts 'Bundle gems for Snow Leopard'
ENV['ARCHFLAGS'] = '-arch x86_64'
$LOAD_PATH.unshift File.expand_path(File.join(File.dirname(__FILE__), '..', 'gems/bundler/lib'))
require 'rubygems'
require 'rubygems/command'
require 'bundler'
require 'bundler/commands/bundle_command'
Gem::Commands::BundleCommand.new.invoke(['--build-options', 'config/build/snow_leopard.yml'])
mysql:
mysql-config: /opt/local/lib/mysql5/bin/mysql_config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment