title: How do you pass arguments to a rake task in RubyMine 3.0?
body: <p><strong>The situation</strong></p>
  
  <p>I have a rake task similar to</p>
  
  <pre><code>desc "A rake Task"
  task :give_me_gold, [:quantity,:quality] =&gt; :environment do |task, args|
   ....
  end
  </code></pre>
  
  <p>I am aware from the commandline you type </p>
  
  <pre><code>rake give_me_gold[10,24] 
  </code></pre>
  
  <p>to pass parameters to the rake task.  However when RubyMine runs the task it runs it like this:</p>
  
  <pre><code>rake give_me_gold[quantity,quality] --trace 10,24
  </code></pre>
  
  <p><strong>Steps to reproduce</strong></p>
  
  <ol>
  <li>Create a rake task that takes arguments.</li>
  <li>Have RubyMine installed version 3.0</li>
  <li>From RubyMine, click <em>Tools</em> -> <em>Run Rake Task</em></li>
  <li>Input your rake task name. It should show up as "task[option,option]" and press enter</li>
  <li>A dialog will show up and ask for arguments. Fill it in and press enter</li>
  <li>Observe the command RubyMine runs. </li>
  </ol>
  
  <p><strong>Back to my question</strong></p>
  
  <p>How do you pass arguments to a rake task in RubyMine 3.0?</p>
  
  <p><em>Thank you for taking the time to view this question</em></p>