Sha256: 6c5f57d4f5396c2267c2783b1b76754370c8d9d6e1fecd962a4e92f7288f8eb1
Contents?: true
Size: 1.16 KB
Versions: 11
Compression:
Stored size: 1.16 KB
Contents
require 'cucumber/formatter/ansicolor' extend Cucumber::Formatter::ANSIColor if Cucumber::VERSION != '<%= Cucumber::VERSION %>' warning = <<-WARNING #{red_cukes(15)} #{red_cukes(1)} R O T T E N C U C U M B E R A L E R T #{red_cukes(1)} Your #{__FILE__.gsub(/version_check.rb$/, 'env.rb')} file was generated with Cucumber <%= Cucumber::VERSION %>, but you seem to be running Cucumber #{Cucumber::VERSION}. If you're running an older version than #{Cucumber::VERSION}, just upgrade your gem. If you're running a newer version than #{Cucumber::VERSION} you should: 1) Read http://wiki.github.com/aslakhellesoy/cucumber/upgrading 2) Regenerate your cucumber environment with the following command: ruby script/generate cucumber If you get prompted to replace a file, hit 'd' to see the difference. When you're sure you have captured any personal edits, confirm that you want to overwrite #{__FILE__.gsub(/version_check.rb$/, 'env.rb')} by pressing 'y'. Then reapply any personal changes that may have been overwritten, preferably in separate files. This message will then self destruct. #{red_cukes(15)} WARNING warn(warning) at_exit {warn(warning)} end
Version data entries
11 entries across 11 versions & 4 rubygems