Method: Jets::Booter.confirm_jets_project!
- Defined in:
- lib/jets/booter.rb
.confirm_jets_project! ⇒ Object
Cannot call this for the jets new
145 146 147 148 149 150 |
# File 'lib/jets/booter.rb', line 145 def confirm_jets_project! unless File.exist?("#{Jets.root}/config/application.rb") puts "It does not look like you are running this command within a jets project. Please confirm that you are in a jets project and try again.".color(:red) exit 1 end end |