Created
August 9, 2011 09:43
-
-
Save mindscratch/1133677 to your computer and use it in GitHub Desktop.
Reference other ruby or rails engine project from Gemfile
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
| # include version of rails | |
| gem "rails", "3.0.9" | |
| require "rails" | |
| if Rails.env == 'development' | |
| gem "my-other-project", "../my-other-project" | |
| else | |
| gem "my-other-project", "~> 0.0.1" | |
| end |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is how I work on a Rails project but reference another project that's also in development, that I have checked out.
This was my "workaround" when using Bundler 1.0.15 (I believe bundler will have better support for this type of setup in a future release).