Committing changes with subversion (basic question)

I am trying to commit a change to my rails app using subversion using
‘svn commit’. This appears to be successful judging by the response I
get:

Sending public/stylesheets/style.css
Transmitting file data …
Committed revision 2.

However, the current version of my rails app is unchanged (the change to
my stylesheet doesn’t appear online or in the current folder). Is there
a separate command I need to transfer changes from the repository to the
current version?

Thanks,

Peter

Hi Peter,

Hard to know without knowing the configuration of your deployment. Is
this problem
happening in the development environment? It could be a problem with
your browser
caching the file, or the server caching it in a live environment.

OTOH, I seem to remember that you’re using capistrano to deploy your
application
somewhere. If you’ve made a change in subversion, then you will need
to run ‘cap deploy’
again to deploy the updated version of the code to the server.

I assume that the change is visible in your development environment?

-Chrisl

On Oct 25, 1:32 am, Peter M. [email protected]

Chris L. wrote:

Hi Peter,

Hard to know without knowing the configuration of your deployment. Is
this problem
happening in the development environment? It could be a problem with
your browser
caching the file, or the server caching it in a live environment.

OTOH, I seem to remember that you’re using capistrano to deploy your
application
somewhere. If you’ve made a change in subversion, then you will need
to run ‘cap deploy’
again to deploy the updated version of the code to the server.

I assume that the change is visible in your development environment?

-Chrisl

On Oct 25, 1:32 am, Peter M. [email protected]

Sorry I didn’t mention I am using capistrano. Glad you remembered. ‘cap
deploy’ was all I needed. Thought it would be a subversion command for
some reason. Thanks again Chirs1 :slight_smile:

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