Updating main.rb configuration.