Fixes deploy task in rakefile.