Created
December 4, 2010 22:35
-
-
Save radamant/728556 to your computer and use it in GitHub Desktop.
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
| #!/usr/bin/env bash | |
| echo "Gem path: $GEM_PATH" | |
| echo "Gem home: $GEM_HOME" | |
| echo "Ruby version: $(ruby -v)" | |
| echo "" | |
| if ! `gem list rake -iq` | |
| then | |
| gem install --no-ri --no-rdoc bundler | |
| else | |
| echo "Rake installed" | |
| fi | |
| if ! `gem list bundler -iq` | |
| then | |
| gem install --no-ri --no-rdoc bundler | |
| else | |
| echo "Bundler installed" | |
| fi | |
| /home/teamcity/.gems/gems/bundler-1.0.7/bin/bundle |
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
| whoami | |
| env | |
| echo | |
| echo | |
| which gem | |
| ruby -v | |
| which ruby | |
| echo | |
| echo | |
| echo $GEM_PATH | |
| echo $GEM_HOME | |
| echo | |
| echo | |
| gem install rake --no-ri --no-rdoc | |
| gem install bundler --no-ri --no-rdoc | |
| gem install test-unit | |
| /home/teamcity/.gems/gems/bundler-1.0.7/bin/bundle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment