namespace :acceptance do
  desc "shows components that can be tested separately"
  task :components do
    exec("bundle exec vagrant-spec components")
  end

  desc "runs acceptance tests using vagrant-spec"
  task :run do
    components = %w(
      basic
      network/forwarded_port
      network/private_network
      synced_folder
      synced_folder/nfs
      synced_folder/rsync
      provisioner/shell
      provisioner/chef-solo
      package
    ).map{ |s| "provider/parallels/#{s}" }

    command = "bundle exec vagrant-spec test --components=#{components.join(" ")}"
    puts command
    puts
    exec(command)
  end
end

namespace :acceptance do
  desc "shows components that can be tested separately"
  task :components do
    exec("vagrant-spec components")
  end

  desc "runs acceptance tests using vagrant-spec"
  task :run do
    components = %w(
      basic
      network/forwarded_port
      network/private_network
      synced_folder
      synced_folder/nfs
      synced_folder/rsync
      provisioner/shell
      provisioner/chef-solo
      package
    ).map{ |s| "provider/parallels/#{s}" }

    command = "vagrant-spec test --components=#{components.join(" ")}"
    puts command
    puts
    exec(command)
  end
end

Remove "bundle exec" from the rake task commands
Remove "bundle exec" from the rake task commands

It is enough to run "bundle exec rake <...>" to get the same result.
