fix specs
stub_rails_root always executed in specs
1.8 fix
add travis config