Forum: Ruby on Rails App won't recognise action_mailer_tls plugin

Posted by Srdan Dukic (srkinz84)
on 2010-08-01 03:01
(Received via mailing list)
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
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ć
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.