Deploying Rails app over VPN

Posted by DavidGouge on Stack Overflow See other posts from Stack Overflow or by DavidGouge
Published on 2010-03-19T10:26:27Z Indexed on 2010/03/19 10:31 UTC
Read the original article Hit count: 141

Filed under:
|

You'll have to bear with me as I'm not a Ruby dev, but have inherited a Ruby system.

I need to deploy some changes to the app from my repository to the server. I've been instructed to run cap deploy and told that that script will get the latest code from my repository and deploy it to the server.

My problem is that I have to VPN to get to the production server and the VPN client then blocks access to my local network, cutting off the repository. So my question is, how can I change my deploy.rb so that I can deploy from my local machine instead? Or is there a better way.

If you need to see the deploy.rb, please let me know.

Thanks

Dave

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about deployment