fix resource to work with latest application_ruby version