use gemspec

Fix the gemroot. 

Need to write tests..
Don't use parentheses around the condition of an `if`.