Fixed nil reference error by downgrading sprockets.