You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think the version of ruby matters. I think there is an error on line 22 of support.rb. The time object first has to transformed to .utc then .to_datetime then to .ajd
Original code line 22:
t.to_datetime.utc.ajd # This was the original code and gave errors with the .ajd
Change to this:
t.utc.to_datetime.ajd # Change to this
Feature set of this gem looks really nice, thanks for creating it.
When using
Solar.position
as per the README, I receive aNoMethodError: undefined method ajd for 2014-03-22 12:00:00 UTC:Time
.Is there a specific Ruby version required?
Edit: I'm using the most recent Ruby version (2.5.1p57) via rbenv on macOS 10.14.
The text was updated successfully, but these errors were encountered: