Solved : How to Install activerecord-belongs_to_if RoR – Ruby on Rails Gem – All Systems

How to Install – activerecord-belongs_to_if Ruby on Rails Gem

Step:1 – Open your terminal (On any Unix Systems, or OSX or Windows)

Step:2 – Ensure that your packages are updated. If they aren’t then use the below command.

sudo apt-get update

Step:3 – Enter the below command in order to install the gem.

gem install activerecord-belongs_to_if

Step:4 – In the event that you are still unable to find the suitable package, please reach out to the developer

In case you need any assistance in installing the package, please feel free to write to us.