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 | |
| { | |
| DEFAULT="\033[0m" | |
| CYAN="\033[0;36m" | |
| ruby_string="1.9.2" | |
| gemset_name=$(git remote show -n origin | grep -i url | head -n 1 | sed 's;.*/;;g' | sed 's;\.git$;;') | |
| # setup RVM environment |
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
| gemset_name=$(basename `pwd`) |
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
| gemset_name=$(git remote show -n origin | grep -i url | head -n 1 | sed 's;.*/;;g' | sed 's;\.git$;;') |
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
| if ! command -v bundle ; then | |
| gem install bundler | |
| fi |
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/local/lib/site_ruby/1.8/rubygems.rb:779:in `report_activate_error': Could not find RubyGem bundler (>= 0) (Gem::LoadError) | |
| from /usr/local/lib/site_ruby/1.8/rubygems.rb:214:in `activate' | |
| from /usr/local/lib/site_ruby/1.8/rubygems.rb:1082:in `gem' | |
| from /usr/bin/bundle:18 |
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
| if ! gem list | grep -q bundler; then | |
| gem install bundler | |
| fi |
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
| { | |
| # script contents go here | |
| } >&2 |
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 | |
| { | |
| DEFAULT="\033[0m" | |
| CYAN="\033[0;36m" | |
| ruby_string="1.9.2" | |
| gemset_name=$(git remote show -n origin | grep -i url | head -n 1 | sed 's;.*/;;g' | sed 's;\.git$;;') | |
| # setup RVM environment |
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
| class Capybara::Selenium::Driver < Capybara::Driver::Base | |
| def resynchronize | |
| yield | |
| if options[:resynchronize] | |
| Capybara.timeout(options[:resynchronization_timeout], self, "failed to resynchronize, ajax request timed out") do | |
| !ajaxing? | |
| end | |
| end | |
| end |
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
| module ActiveRecord | |
| module ConnectionAdapters | |
| module DatabaseStatements | |
| # | |
| # Run the normal transaction method; when it's done, check to see if there | |
| # is exactly one open transaction. If so, that's the transactional | |
| # fixtures transaction; from the model's standpoint, the completed | |
| # transaction is the real deal. Send commit callbacks to models. | |
| # | |
| # If the transaction block raises a Rollback, we need to know, so we don't |
OlderNewer