Skip to content

Commit

Permalink
Update setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhardikjoshi committed Jan 11, 2024
1 parent 875fb3b commit 99e2d0e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions e2e_tests/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
echo "SHA=$(git rev-parse --short "$GITHUB_SHA")" >> $GITHUB_ENV
gem install rails -v 7.1.2 --no-document
# /Users/hardik_joshi/work/open_source/activegraph/docs/activegraph.rb
sed 's/.*activegraph.*/gem '"'"'activegraph'"'"', github: "neo4jrb\/activegraph", ref: "'"$SHA"'"/' docs/activegraph.rb > template.tmp
echo "template.tmp=$(cat template.tmp)" >> $GITHUB_OUTPUT
sed 's/.*activegraph.*/gem '"'"'activegraph'"'"', github: "neo4jrb\/activegraph", ref: "'"$(git rev-parse --short "$GITHUB_SHA")"'"/' docs/activegraph.rb > template.tmp
# rails _7.1.2_ new myapp -O -m ./template.tmp
# cd myapp
# bundle exec rails generate model User name:string
Expand Down

0 comments on commit 99e2d0e

Please sign in to comment.