Created
November 18, 2009 19:47
-
-
Save netzpirat/238183 to your computer and use it in GitHub Desktop.
Using gem bundler on snow leopard
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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']) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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