data is not passed in rails first time with the lib folder
1. self method
2. try with services
3. try with model
4. use this command ::
sudo apt-get install build-essential
and remove need to remove /usr/local/bin/make also Link :: https://stackoverflow.com/questions/58804432/undefined-local-variable-or-method-make-for-mainobject-nameerror
5. checking this ::
Autoloading and Reloading Constants (Zeitwerk Mode)
https://guides.rubyonrails.org/autoloading_and_reloading_constants.html
try it
A ::: config.autoloader = :classic
Everytime Error
config.add_autoload_paths_to_load_path = false
User this method in log foldermake the files in the log folder