Monday, 5 August 2024

Could not detect rake tasks on HEROKU

 1. .gitignore file me ye add karna hai

node_modules

yarn.lock

2. nvm install 20.9.0


3. nvm  use 20.9.0


BUNDLED WITH

   2.3.25


check this history:

heroku buildpacks:set heroku/ruby

 2155  node -v

 2156  nvm  use 20.9.0

 2157  nvm install 20.9.0

 2158  nvm  use 20.9.0

 2159  git status

 2160  git add node_modules/.yarn-integrity

 2161  git add .gitignore

 2162  git commit -m"Remove Node modukle"

 2163  yarn install

 2164  git status

 2165  git add .gitignore

 2166  git rm --cache yarn.lock

 2167  git status

 2168  git commit -m"Remove yarn"

 2169  git push origin(name)   isme branch ka use nhi karna hai

 2170  heroku config:get BUILDPACK_URL

 2171  heroku config:get BUILDPACK_URL --app equinemd

 2172  heroku buildpacks

 2173  heroku buildpacks --app equinemd

 2174  heroku buildpacks:set heroku/ruby --app equinemd

 2175  curl https://cli-assets.heroku.com/install-ubuntu.sh | sh

 2176  bundle lock --add-platform x86_64-linux

 2177  git status