I’m quite new to ruby and so have no idea to to approach this…please be kind.
I have a config file that I need to read and replace 2 values…
The block I need to update is:
rails_root = File.expand_path(’…/…’, FILE)
if %w(development test).include?(ENV[‘RAILS_ENV’])
I need to replace the values for “worker_processes” with new values…say 20 and 50 respectively…any help greatly appreciated. Thanks in advance!