Commit 4f46b2e7913bc9406c30c14c85d7e340689fbd72
Committed by
Daniela Feitosa
1 parent
4d2711a0
Exists in
master
and in
23 other branches
Removing version check for cucumber 0.4
Showing
1 changed file
with
0 additions
and
29 deletions
Show diff stats
features/support/version_check.rb
| @@ -1,29 +0,0 @@ | @@ -1,29 +0,0 @@ | ||
| 1 | -if Cucumber::VERSION::STRING != '0.4.0' | ||
| 2 | -warning = <<-WARNING | ||
| 3 | -(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) | ||
| 4 | - | ||
| 5 | - (::) R O T T E N C U C U M B E R A L E R T (::) | ||
| 6 | - | ||
| 7 | -Your #{__FILE__.gsub(/version_check.rb$/, 'env.rb')} file was generated with Cucumber 0.4.0, | ||
| 8 | -but you seem to be running Cucumber #{Cucumber::VERSION::STRING}. If you're running an older | ||
| 9 | -version than #{Cucumber::VERSION::STRING}, just upgrade your gem. If you're running a newer | ||
| 10 | -version than #{Cucumber::VERSION::STRING} you should: | ||
| 11 | - | ||
| 12 | - 1) Read http://wiki.github.com/aslakhellesoy/cucumber/upgrading | ||
| 13 | - | ||
| 14 | - 2) Regenerate your cucumber environment with the following command: | ||
| 15 | - | ||
| 16 | - ruby script/generate cucumber | ||
| 17 | - | ||
| 18 | -If you get prompted to replace a file, hit 'd' to see the difference. | ||
| 19 | -When you're sure you have captured any personal edits, confirm that you | ||
| 20 | -want to overwrite #{__FILE__.gsub(/version_check.rb$/, 'env.rb')} by pressing 'y'. Then reapply any | ||
| 21 | -personal changes that may have been overwritten. | ||
| 22 | - | ||
| 23 | -This message will then self destruct. | ||
| 24 | - | ||
| 25 | -(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) | ||
| 26 | -WARNING | ||
| 27 | -warn(warning) | ||
| 28 | -at_exit {warn(warning)} | ||
| 29 | -end | ||
| 30 | \ No newline at end of file | 0 | \ No newline at end of file |