Update system.rb

Missed end.