Add the following lines of codes in
public/.htaccess. Rails won’t handle this folders.
- RewriteCond %{REQUEST_URI}
^/(folder-name/|images/|stylesheets/|javascripts/).*
RewriteRule .* - [L]
Add the following lines in your
environment.rb and replace the values with your settings. (mail server name, server
name, email address, password)
config.action_mailer.server_settings= {
:address => ‘mail.servername.com’,
:port => 25,
:domain => ’servername’,
:user_name => ‘email-address-to-authenticate’,
:password => ‘password-to-authenticate’,
:authentication => :login
(or)
:authentication => :plain (if you are not providing password to
authenticate)
}
The following is the way to write cron task
in the media temple grid-server.
/usr/bin/curl [url]
[url] - This URL should point to some controller which does the task
for you.
(eg.) - /usr/bin/curl http://neilsys.com/cron/invoke_function
The time to invoke the cron and other settings can be done using the
control-manager in the media temple.
Dear Manager (HR),
Categories and Tags
Add new tag
ads
bike riding
bug fixes
funs
games
god
installations
Java
javascripts
jokes
lessons
Linux
love
Mac OS
morals
Most Expected
MySQL
Networking
outings
programming
ruby
Ruby on Rails
Scriptures
songs
tips
Trips
Videos
windows Amazed at…. (3)
C,FastCGI (2)
Found it useful (2)
Fun-and-morals (83)
installations (12)
Java (4)
Javascript (3)
Lessons I have learnt (16)
Misc (1)
Most Expected (1)
MySQL (6)
Networking (1)
Photos (1)
Rails - Mac Leopard (9)
Rails deployment–FCGI (1)
Rails deployment–SCGI (1)
Ruby on Rails (65)
Scriptures (12)
Trips (1)
Unix (2)
Videos (29)
Weird Errors (25)
WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.