changing static link to ruby paths