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 ***
In my application, I have inserted the following line in environment.rb:
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
Missing these required gems:
ruby 22.214.171.124 at /usr/bin/ruby1.8
rubygems 1.3.5 at /home/srdan/.gem/ruby/1.8, /var/lib/gems/1.8
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?