detach in rakefile