I'd like to thank you both for helping with this trickier than it looks issue.
And also to review this snippet : set :mongo_import, "mongoimport -d #{database_name} -c *$(*find #{fixtures_directory} -name *.json*)*" How can I find more input on how to use the *$()* ? Can I use it to isolate a more complex cli command (I believe the find command is cli command right ?) Because basically, now, while running the following namespace :database do desc "Load 'em fixtures" task :dbcleanup, :roles => :db do set :database_name, "database" set :fixtures_directory, "#{latest_release}/fixtures" set :mongo_import, "mongoimport -d #{database_name} -c $(find #{fixtures_directory} -name *.json)" run "#{mongo_import}", :once => true end end I get the expected behaviour in my console output, that is it errors a missing parameter, the collections' name. Again, if you have something relative to rake tasks writing and tangling with capistrano, I'd be happy to read that, because I'm pretty sure, in my specific use case, I'm trying to do to much work in my single deploy.rb file. -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to capistrano@googlegroups.com * To unsubscribe from this group, send email to capistrano+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/capistrano?hl=en