Skip to content

Commit

Permalink
SS-1786 Remove unnecessary warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
arangamani committed Jun 12, 2015
1 parent 6fad91f commit a2133ed
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lib/right_develop/ci/rake_task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,9 @@ def initialize(*args)
end
end
when nil
warn "Cannot define right_develop ci:spec task: RSpec gem is unavailable"
# Gem not installed, do not warn. If someone is looking for this task and they don't find it, they will
# figure it out. This warning is misleading when running rake tasks in environments that don't require
# these tasks.
else
raise LoadError, "Cannot define RightDevelop ci:spec task: unsupported RSpec version #{ver}"
end
Expand All @@ -187,7 +189,9 @@ def initialize(*args)
end
task :cucumber => [:prep]
when nil
warn "Cannot define right_develop ci:cucumber task: Cucumber gem is unavailable"
# Gem not installed, do not warn. If someone is looking for this task and they don't find it, they will
# figure it out. This warning is misleading when running rake tasks in environments that don't require
# these tasks.
else
raise LoadError, "Cannot define RightDevelop ci:cucumber task: unsupported Cucumber version #{ver}"
end
Expand Down

0 comments on commit a2133ed

Please sign in to comment.