Skip to content

Commit 4ecec4a

Browse files
authored
Load bundled gems on expected version
Fixes sds#789
1 parent eff94a7 commit 4ecec4a

10 files changed

Lines changed: 50 additions & 0 deletions

File tree

‎template-dir/hooks/commit-msg‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#!/usr/bin/env ruby
22
# frozen_string_literal: true
33

4+
begin
5+
require "bundler/setup"
6+
rescue LoadError
7+
end
8+
49
# Entrypoint for Overcommit hook integration. Installing Overcommit will result
510
# in all of your git hooks being copied from this file, allowing the framework
611
# to manage your hooks for you.

‎template-dir/hooks/overcommit-hook‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#!/usr/bin/env ruby
22
# frozen_string_literal: true
33

4+
begin
5+
require "bundler/setup"
6+
rescue LoadError
7+
end
8+
49
# Entrypoint for Overcommit hook integration. Installing Overcommit will result
510
# in all of your git hooks being copied from this file, allowing the framework
611
# to manage your hooks for you.

‎template-dir/hooks/post-checkout‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#!/usr/bin/env ruby
22
# frozen_string_literal: true
33

4+
begin
5+
require "bundler/setup"
6+
rescue LoadError
7+
end
8+
49
# Entrypoint for Overcommit hook integration. Installing Overcommit will result
510
# in all of your git hooks being copied from this file, allowing the framework
611
# to manage your hooks for you.

‎template-dir/hooks/post-commit‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#!/usr/bin/env ruby
22
# frozen_string_literal: true
33

4+
begin
5+
require "bundler/setup"
6+
rescue LoadError
7+
end
8+
49
# Entrypoint for Overcommit hook integration. Installing Overcommit will result
510
# in all of your git hooks being copied from this file, allowing the framework
611
# to manage your hooks for you.

‎template-dir/hooks/post-merge‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#!/usr/bin/env ruby
22
# frozen_string_literal: true
33

4+
begin
5+
require "bundler/setup"
6+
rescue LoadError
7+
end
8+
49
# Entrypoint for Overcommit hook integration. Installing Overcommit will result
510
# in all of your git hooks being copied from this file, allowing the framework
611
# to manage your hooks for you.

‎template-dir/hooks/post-rewrite‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#!/usr/bin/env ruby
22
# frozen_string_literal: true
33

4+
begin
5+
require "bundler/setup"
6+
rescue LoadError
7+
end
8+
49
# Entrypoint for Overcommit hook integration. Installing Overcommit will result
510
# in all of your git hooks being copied from this file, allowing the framework
611
# to manage your hooks for you.

‎template-dir/hooks/pre-commit‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#!/usr/bin/env ruby
22
# frozen_string_literal: true
33

4+
begin
5+
require "bundler/setup"
6+
rescue LoadError
7+
end
8+
49
# Entrypoint for Overcommit hook integration. Installing Overcommit will result
510
# in all of your git hooks being copied from this file, allowing the framework
611
# to manage your hooks for you.

‎template-dir/hooks/pre-push‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#!/usr/bin/env ruby
22
# frozen_string_literal: true
33

4+
begin
5+
require "bundler/setup"
6+
rescue LoadError
7+
end
8+
49
# Entrypoint for Overcommit hook integration. Installing Overcommit will result
510
# in all of your git hooks being copied from this file, allowing the framework
611
# to manage your hooks for you.

‎template-dir/hooks/pre-rebase‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#!/usr/bin/env ruby
22
# frozen_string_literal: true
33

4+
begin
5+
require "bundler/setup"
6+
rescue LoadError
7+
end
8+
49
# Entrypoint for Overcommit hook integration. Installing Overcommit will result
510
# in all of your git hooks being copied from this file, allowing the framework
611
# to manage your hooks for you.

‎template-dir/hooks/prepare-commit-msg‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#!/usr/bin/env ruby
22
# frozen_string_literal: true
33

4+
begin
5+
require "bundler/setup"
6+
rescue LoadError
7+
end
8+
49
# Entrypoint for Overcommit hook integration. Installing Overcommit will result
510
# in all of your git hooks being copied from this file, allowing the framework
611
# to manage your hooks for you.

0 commit comments

Comments
 (0)