Exception: LoadRails::RailsNotFound

Inherits:
Exception
  • Object
show all
Defined in:
lib/load_rails/exceptions/rails_not_found.rb

Constant Summary collapse

MSG =
"Rails not found. Please execute in a Rails project."

Class Method Summary collapse

Class Method Details

.exit_with_messageObject



5
6
7
8
# File 'lib/load_rails/exceptions/rails_not_found.rb', line 5

def self.exit_with_message
  puts RailsNotFound::MSG
  exit 1
end