-
-
Save sergii/b931e76f65283f3065efd4b9da7cc8c3 to your computer and use it in GitHub Desktop.
Revisions
-
bradgessler created this gist
Aug 31, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ # Add your own tasks in files placed in lib/tasks ending in .rake, # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. require_relative "config/application" Rails.application.load_tasks desc "Set local gems" task :gems do Dir["gems/**"].each do |path| sh "bundle config local.#{File.basename(path)} #{path}" end end