Updated Rakefile with current db SDK requirements

Additionally changed deprecated `dependency` call.