Add rpush generation code to environment.rb