Sha256: c5add787eeef6d84b6fa1ca8695a90a5af1782640f76bb9d37de81ea6f5f70b9
Contents?: true
Size: 382 Bytes
Versions: 1
Compression:
Stored size: 382 Bytes
Contents
system "bundle exec rails generate rollbar" search = <<HEREDOC # Here we'll disable in 'test': if Rails.env.test? config.enabled = false end HEREDOC replace = " config.enabled = Rails.env.production? || Rails.env.staging?" gsub_file 'config/initializers/rollbar.rb', search, replace git add: 'config/initializers/rollbar.rb' git_commit 'Add rollbar initialize file.'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pah-0.0.15 | lib/pah/partials/_rollbar.rb |