add bundle install to procfile
MODIFY
Procfile
Procfile
-stories: cd demo; bin/rails view_component_storybook:write_stories_json
-rails: cd demo; STORYBOOK=true bin/rails s -p 4000
+stories: cd demo; bundle install; bin/rails view_component_storybook:write_stories_json
+rails: cd demo; bundle install; STORYBOOK=true bin/rails s -p 4000
storybook: cd demo; STORYBOOK=true bin/yarn storybook -p 5000

add bundle install to procfile