Sha256: 2dd6af4f4b6ce23b7972c5255571a4279af4e58d182c0ce9575ba1df377af076
Contents?: true
Size: 267 Bytes
Versions: 7
Compression:
Stored size: 267 Bytes
Contents
module Rda class App < Thor desc "Restart", "Restart rails application" def restart tmp_path = ::Rails.root.to_s + "/tmp" FileUtils.mkdir_p tmp_path unless Dir.exists?(tmp_path) FileUtils.touch tmp_path + "/restart.txt" end end end
Version data entries
7 entries across 7 versions & 1 rubygems
Version | Path |
---|---|
rda-0.2.0 | lib/rda/app.rb |
rda-0.1.0 | lib/rda/app.rb |
rda-0.0.6 | lib/rda/app.rb |
rda-0.0.4 | lib/rda/app.rb |
rda-0.0.3 | lib/rda/app.rb |
rda-0.0.2 | lib/rda/app.rb |
rda-0.0.1 | lib/rda/app.rb |