Skip to content

Instantly share code, notes, and snippets.

@cookrn

cookrn/Gemfile Secret

Created June 30, 2011 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cookrn/20316c11d7e43d63df10 to your computer and use it in GitHub Desktop.
Save cookrn/20316c11d7e43d63df10 to your computer and use it in GitHub Desktop.
Examples of including your TeamPage gem in a Rails Project
#
# Other gems ...
#
# To Use The Gem From Your Local Source Code - substitute "<my project dir>" with the appropriate local path
gem "team_page" , :path => "/<my project dir>/team_page"
# OR
# To Use The Gem From A Public Github Repo - substitute "<my github username>" with your github username
gem "team_page" , :git => "git://github.com/<my github username>/team_page.git"
# OR
# To Use The Gem From Rubygems - will only work if the Gem has been released to rubygems
gem "team_page"
# see http://gembundler.com/man/gemfile.5.html for more information
#
# Other gems ...
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment