`exec': wrong number of arguments (ArgumentError) when using bundle exec

Hi! I’m trying to make a migration, but when I do “rake db:migrate” tell
me
this:

You have already activated rake 0.9.2, but your Gemfile requires rake
0.8.7.
Consider using bundle exec.

Then, I use a bundle exec, but I have other error:

exec': wrong number of arguments (ArgumentError) from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler/cli.rb:346:inexec’
from
/usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler/vendor/thor/task.rb:22:in
send' from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler/vendor/thor/task.rb:22:inrun’
from
/usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler/vendor/thor/invocation.rb:118:in
invoke_task' from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler/vendor/thor.rb:246:indispatch’
from
/usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler/vendor/thor/base.rb:389:in
start' from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/bin/bundle:13 from /usr/bin/bundle:19:inload’
from /usr/bin/bundle:19

Anyone know why show me this error?

Regards, Ivn

When it says try using bundle exec… it means that you have to prefix
the
command with that
Use it like this ‘bundle exec rake db:migrate’

On 06/22/2011 05:18 AM, Chirag S. wrote:

[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
Yes, I understand. Thanks!

Regards, Ivn