Last active
August 29, 2015 14:06
-
-
Save shayfrendt/4dbb3d3ca20153b7d80f 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
source "https://rubygems.org" | |
def rails3? | |
ENV["RAILS3"] | |
end | |
if rails3? | |
gem "rails", "3.0.20.github11" | |
else | |
gem "rails", "2.3.14.github50" | |
gem "actionmailer", "2.3.14.github50" | |
gem "actionpack", "2.3.14.github50" | |
gem "activerecord", "2.3.14.github50" | |
gem "activesupport", "2.3.14.github50" | |
end | |
... |
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
# Gemfile for Rails 3 | |
# | |
# …but don't actually declare any dependencies here. Put them in `Gemfile`. This | |
# file is is necessary to generate a separate lockfile for the Rails 3 | |
# dependencies. | |
ENV["RAILS3"] ||= "true" | |
eval_gemfile "Gemfile" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment