# App won't recognise action\_mailer\_tls plugin

**URL:** <https://www.ruby-forum.com/t/app-wont-recognise-action-mailer-tls-plugin/192520>\
**Category:** Rails\
**Created:** [August 1, 2010, 3:01am UTC](https://www.ruby-forum.com/t/app-wont-recognise-action-mailer-tls-plugin/192520 "2010-08-01T03:01:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![srkinz84](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5fc32e/32.png) [@srkinz84](https://www.ruby-forum.com/u/srkinz84)\
**Post date:** [August 1, 2010, 3:01am UTC](https://www.ruby-forum.com/t/app-wont-recognise-action-mailer-tls-plugin/192520/1 "2010-08-01T03:01:12Z")

</div>

Hi,

I’m running Ubuntu 10.04 and am trying to send mail through my Gmail  
account  
for testing. I’ve installed the ‘action\_mailer\_tls’ plugin using the  
‘sudo  
gem install action\_mailer\_tls’ plugin and can confirm that it installed  
successfully:

$ gem list --local

\*\*\* LOCAL GEMS \*\*\*

action\_mailer\_tls (1.1.3)  
actionmailer (2.3.8)  
actionpack (2.3.8)  
activerecord (2.3.8)  
activeresource (2.3.8)  
activesupport (2.3.8)  
authlogic (2.1.5)  
rack (1.1.0)  
rails (2.3.8)  
rake (0.8.7)

In my application, I have inserted the following line in environment.rb:

config.gem “action\_mailer\_tls”

However, when I try to run ‘script/server’ I get the following error:

=\> Rails 2.3.8 application starting on [http://0.0.0.0:3000](http://0.0.0.0:3000)  
no such file to load – action\_mailer\_tls  
/usr/lib/ruby/1.8/rubygems/custom\_require.rb:31:in  
`gem\_original\_require’  
…  
…  
Missing these required gems:  
action\_mailer\_tls

You’re running:  
ruby 1.8.7.249 at /usr/bin/ruby1.8  
rubygems 1.3.5 at /home/srdan/.gem/ruby/1.8, /var/lib/gems/1.8

Run `rake gems:install` to install the missing gems.

When I try running ‘rake gems:install’ I get no output and trying to  
start  
up the application again gives the same error. Why is the application  
not  
recognising the gem, when it is clearly installed?

Thank you

–  
SrÄ‘an ÄukiÄ‡
