RubyGems Navigation menu

rake-protect 2.0.1

When some gems are unavailable in an environment, for example on a production server, requiring them in a Rakefile will cause LoadError to be thrown. Wrap the require and task declaration in Rake.protect block to prevent that.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 2.0.1 - September 10, 2019 (6.5 KB)
  2. 2.0.0 - September 10, 2019 (6.5 KB)
  3. 1.0.1 - April 18, 2017 (6.5 KB)
  4. 1.0.0 - April 18, 2017 (6.5 KB)

Runtime Dependencies (2):

rainbow >= 3.0
rake >= 10.0

Development Dependencies (12):

bundler ~> 1.14
guard ~> 2.14
guard-rake ~> 1.0
guard-rspec ~> 4.7
listen ~> 3.0
reek >= 3.11
rspec ~> 3.5
rubocop ~> 0.47
rubocop-rspec ~> 1.5
simplecov ~> 0.13

Owners:

Pushed by:

Authors:

  • Marek Tuchowski

SHA 256 checksum:

aa99c40b3243794e58fec270076d0d4e11147ac8d678942f12621e2238323706

Total downloads 7,876

For this version 2,330

License:

MIT

Required Ruby Version: >= 2.3.8

Required Rubygems Version: >= 2.6

Links: