Created
March 22, 2010 02:24
-
-
Save jacquescrocker/339747 to your computer and use it in GitHub Desktop.
This file contains 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
# if Gem is defined i'll assume you are using rubygems and lock specific versions | |
# call me crazy but a plain old require will just get the latest version you have installed | |
# so i want to make sure that if you are using gems you do in fact have the correct versions | |
# if there is a better way to do this, please enlighten me! | |
if self.class.const_defined?(:Gem) | |
gem 'activesupport', '>= 2.3' | |
gem 'mongo', '0.19.1' | |
gem 'jnunemaker-validatable', '1.8.3' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment