Updates for pow and ruby

Allows pow to work in a rvm environment.
Updates ruby to newest version.