Weird capistrano error: caching old hostnames?

I’m trying to move my app to a new server, and in the deploy.rb file I
updated the hostname to reflect the new server. However, when I run
any cap task it still contacts the old server no matter what, and I
can’t figure out why this is. There is no reference to the old server
anywhere I can see.

On Mon, 2011-12-26 at 17:20 -0800, Mike C wrote:

I’m trying to move my app to a new server, and in the deploy.rb file I
updated the hostname to reflect the new server. However, when I run
any cap task it still contacts the old server no matter what, and I
can’t figure out why this is. There is no reference to the old server
anywhere I can see.


did you have a subversion or git server on your old server so there
remain references to that server?

did you run a recursive grep to search for references?

grep -r OLD_SERVER_NAME /path/to/RAILS_ROOT

Craig


This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs