Sha256: dd8451094f39160dc4a70a84fd8fde3d7220a7747538c8462fc17945333f22fb
Contents?: true
Size: 384 Bytes
Versions: 1
Compression:
Stored size: 384 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.14 | lib/pah/partials/_rollbar.rb |