I have a rails application deployed on heroku. There is a script inside the application in the following path
config/data/create.rb
On local I just have run the following in the app path:
ruby config/data/create.rb
and the script gets executed.
What needs to be done to execute the same on heroku ?
heroku run bashonce done. I executed the fileruby config/data/create.rb. Then I get error sayingconfig/data/create.rb:6:inread': No such file or directory @ rb_sysopen - routes.json (Errno::ENOENT)`. When actually the file does exist.