Ciasto piekarz
Ciasto piekarz

Reputation: 8277

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)!!!

Upvotes: 7

Views: 1992

Answers (1)

glebaty
glebaty

Reputation: 200

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

Upvotes: 8

Related Questions