removed references to rspec
replace hard coded local host with http host var