Set RAILS_ENV=build when building the gem