Need help with changes

3 views
Skip to first unread message

zelo...@gmail.com

unread,
Apr 28, 2009, 4:29:20 AM4/28/09
to deprec - deployment recipes for capistrano
I just made my first rails and and noticed some spelling errors along
with some other things i wanted changed. But when I changed them
locally on my machine and "cap deploy" nothing changed on my actual
site. Is there something im doing wrong?

Mike Bailey

unread,
Apr 28, 2009, 5:05:35 AM4/28/09
to deprec - deployment recipes for capistrano
Did you check in your changes? Capistrano checks out from versiokn
control.

- Mike

Aaron Williams

unread,
Apr 28, 2009, 5:19:48 AM4/28/09
to deprec...@googlegroups.com
No I didn't. What is the command to "check in" my changes?

Mike Bailey

unread,
Apr 28, 2009, 5:56:46 AM4/28/09
to deprec...@googlegroups.com
On Tue, Apr 28, 2009 at 7:19 PM, Aaron Williams <zelo...@gmail.com> wrote:
No I didn't. What is the command to "check in" my changes?

Are you asking how to commit changes in your code to your version control system?

That varies depending on which version control system you're using. Best check the documentation.

- Mike


zelo...@gmail.com

unread,
Apr 28, 2009, 1:15:30 PM4/28/09
to deprec - deployment recipes for capistrano
I have:

namespace :deploy do
task :restart do
run "touch #{current_path}/tmp/restart.txt"
end
end

In my deploy.rb





On Apr 28, 2:56 am, Mike Bailey <m...@bailey.net.au> wrote:

Bharat

unread,
Apr 29, 2009, 7:53:31 AM4/29/09
to deprec - deployment recipes for capistrano
Ok. Your post shows that you are deploying on passenger. That is the
application server. Mike was asking you about version control system
that you are using such as Subversion or Git for example. You need to
update your code in whichever version control repository that you are
using and then adjust your Capistrano script to check out a copy from
version control and deploy to passenger. If you are learning rails
then a really good reference is Agile Web Development, Third Edition.
The deploy chapter talks all about how to use Capistrano/Git/Passenger
to deploy your application. I would first start there if I were you.
Hope this helps.
Bharat

Aaron Williams

unread,
Apr 29, 2009, 1:43:03 PM4/29/09
to deprec...@googlegroups.com
Thanks that helped a lot. I have everything running perfect now.
Reply all
Reply to author
Forward
0 new messages