[2013-12-19 I’ve not done any work on deprec in the past few years]
deprec-2 preview has been available at www.deprec.org for a while now and is quite stable. When I release it as a new version of the deprec gem it’s going to cause users of deprec-1 to see errors. I recommend using deprec-2 for new installations but understand that some people will want to continue using deprec-1 for legacy systems. In preparation for release of deprec-2.0.0 I’ve some minor modifications so that deprec1 and deprec2 co-exist on the same machine.
To continue using deprec-1.x, install deprec-1.9.3:
Update your projects deploy.rb:
1 2 3
Adding the following to your .caprc will load the correct version of deprec based on the version of Capistrano you’re using:
1 2 3 4
You can call capistrano 1 with the command:
or create an alias by putting the following in your .profile:
This will allow you to use the following:
If everything’s working you’ll see the deprec tasks listed.