Added ruby version
updated for ruby version
small fixings