lib/jets/commands/rake_tasks.rb
# Will only load the tasks once.  Just in case the user has already loaded
# Jets rake tasks in their Rakefile. Example Rakefile that does this:
#
#   require 'jets'
#   Jets.load_tasks
#
Will only load the tasks once.  Just in case the user has already loaded
Jets rake tasks in their Rakefile. Example Rakefile that does this.


Will only load the tasks once . Just in case the user has already loaded Jets rake tasks in their Rakefile . Example Rakefile that does this .
def load!
      return if @@loaded 
      Jets::Booter.require_bundle_gems 
      Jets::Commands::Db::Tasks.load!
      load_webpacker_tasks
      @@loaded = true
    end
def load! return if @@loaded Jets :: Booter . require_bundle_gems Jets :: Commands :: Db :: Tasks . load! load_webpacker_tasks @@loaded = true end
Will only load the tasks once.
Will only load the tasks once .
# prevent loading twice # use bundler when in project folder