Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using 'git send-mail', but I am getting an error

I am trying to use git send-mail, but I am getting this error:

Can't locate 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 .) at
/Library/Developer/CommandLineTools/usr/libexec/git-core/git-send-email
line 1232.

I use Mac OS X v10.9 (Mavericks) recently upgraded from Mac OS X v10.7 (Lion)!!!

like image 731
Ciasto piekarz Avatar asked Jan 23 '14 11:01

Ciasto piekarz


1 Answers

You need to install SSL.

Use cpanminus for working with CPAN modules. You can install it with Homebrew using brew install cpanminus.

After installing cpanminus, try this:

sudo cpanm Net::SMTP::SSL
like image 74
glebaty Avatar answered Nov 06 '22 17:11

glebaty