Using 'git send-mail', but I get an error

I try to use git send-mail, but I get this error:

Cannot find Net / SMTP / SSL.pm in @INC (@INC contains:
/Library/Developer/CommandLineTools/usr/../Library/Perl/5.16/darwin-thread-multi-2level
/ Library / Developer / CommandLineTools / usr / share / git -core / perl
/Library/Perl/5.16/darwin-thread-multi-2level/Library/Perl/5.16
/Network/Library/Perl/5.16/darwin-thread-multi-2level
/ Network / Library / Perl / 5.16 / Library / Perl / Updates / 5.16.2
/System/Library/Perl/5.16/darwin-thread-multi-2level
/System/Library/Perl/5.16
/System/Library/Perl/Extras/5.16/darwin- thread-multi-2level
/System/Library/Perl/Extras/5.16.) In
/ Library / Developer / CommandLineTools / usr / libexec / git -core / git-send-email
line 1232.

I am using Mac X v10.9 (Mavericks) recently updated with Mac OS X v10.7 (Lion) !!!

+4
source share
1 answer

You need to install SSL.

Use cpanminus to work with CPAN modules. You can install it using Homebrew with brew install cpanminus.

After installing cpanminus, try the following:

sudo cpanm Net::SMTP::SSL
+4
source

Source: https://habr.com/ru/post/1523321/


All Articles