Bump to 3.0.40
Adding asset copy to rails build