Installation and quick test:

$>  gem install equationoftime

$> irb

require 'eot'
# => true

@solar = Eot.new
# note: you'll see a lot more in the object than an id.
# => #<Eot:0x007f1e9a9a2d50>

Set some parameters:

@solar.latitude = 40.7128
# => 40.7128

@solar.longitude = -74.0059
# => -74.0059

@solar.jd = Date.today.jd
# => 2457933
@solar.ma_ta_set
# => 3.0289090367945275 this is ma

Now get the times

@solar.local_noon_dt.to_time.localtime("-04:00")
# => 2017-06-28 12:59:20 -0400
@solar.sunrise_dt.to_time.localtime("-04:00")
# => 2017-06-28 05:27:22 -0400
@solar.sunset_dt.to_time.localtime("-04:00")
# => 2017-06-28 20:31:18 -0400

The local_noon_dt has taken into account the equation of time. This is the true solar transit time for your location.
Try the examples included with the gem.