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'])
  worker_processes 2
else
  worker_processes 100
end
...snip...


I need to replace the values for "worker_processes" with new values...say 
20 and 50 respectively...any help greatly appreciated.  Thanks in advance!

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to