Fix environment.rb