```ruby
namespace :gulp_assets do
  desc "Compile Gulp Assets"
  task :precompile do
    system('gulp precompile')
  end
end

Rake::Task['assets:precompile'].enhance ['gulp_assets:precompile']
```

Use sh in rake task instead of system
user
```ruby
namespace :gulp_assets do
  desc "Compile Gulp Assets"
  task :precompile do
    sh "gulp precompile"
  end
end

Rake::Task['assets:precompile'].enhance ['gulp_assets:precompile']
```
assistant