One quick Google search later, and I turned this up: require 'rubygems' gem 'activerecord', '=1.15.3' require 'active_record'
... bad example, but you should be able to use that ... More information on this thread: http://tinyurl.com/bpgd5m - Lee 2009/2/22 Rafael G. <[email protected]> > phil wrote: > > I need to specify which version of the ec2onrails gem I want to use > > when I run capistrano tasks (I have 2 versions of the plugin installed > > and need them for different clients). > > How can I do this? > > I can't find any examples... > > > > require 'ec2onrails' {version}? > > > > > > > > Sorry I forgot this part. > > Examples from file capistrano-2.5.4/lib/capistrano/recipes/deploy.rb : > depend :remote, :gem, "tzinfo", ">=0.3.3" > depend :local, :command, "svn" > depend :remote, :directory, "/u/depot/files" > depend :remote, :directory, "/u/depot/files/foobar.rb" > > See capistrano-2.5.4/lib/capistrano/recipes/deploy/remote_dependency.rb > for more options. > > > > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
