Skip to content

Instantly share code, notes, and snippets.

@agnellvj
Created January 11, 2011 16:06
Show Gist options
  • Save agnellvj/774627 to your computer and use it in GitHub Desktop.
Save agnellvj/774627 to your computer and use it in GitHub Desktop.
load specific gems for specific platforms.
source :gemcutter
eval File.read(File.expand_path("../config/bundler/general.gemfile", __FILE__))
unless RUBY_PLATFORM[/mswin/] || RUBY_PLATFORM[/mingw/]
eval File.read(File.expand_path("../config/bundler/unix.gemfile", __FILE__))
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment