Hey guys, i've not tested it, but: 1. you are able to set environment variable when runing rake from commandline
2. you are able to test against ENV[:variable] in your code. 3. problem solved? :) here is the inspiration: http://ryandaigle.com/articles/2007/6/22/using-command-line-parameters-w-rake-and-capistrano -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

