As I want to start a specific task of a rake script with a double-click in windows I had to created a batch file to start the task: rake -f rakefile.rb task_name Either if the task fails or