use 'rails runner' when rails4