fix an error message and reload gem paths after bundle install in rakefile