Set up environment.rb and spec files