Skip to content

Commit

Permalink
corrected activegraph ref in script
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhardikjoshi committed Jan 11, 2024
1 parent 4442aab commit cb09978
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions e2e_tests/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ git_hash=$(git rev-parse --short "$GITHUB_SHA")
echo "SHA=$(git_hash)" >> $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: "95600cacb82e1239ca1d105886630603b67a3280"/' docs/activegraph.rb > template.tmp
sed 's/.*activegraph.*/gem '"'"'activegraph'"'"', github: "neo4jrb\/activegraph", ref: "95600cacb82e1239ca1d105886630603b67a3280"/' docs/activegraph.rb > template.tmp
rails _7.1.2_ new myapp -O -m ./template.tmp
# sed 's/.*activegraph.*/gem "activegraph", path: "..\/"/' Gemfile > Gemfile.bak && mv Gemfile.bak Gemfile
cd myapp
bundle exec rails generate model User name:string
RAILS_ENV=test bundle exec rake neo4j:migrate
# RAILS_ENV=test bundle exec rake neo4j:migrate
# bundle exec rails c
# bundle exec rails s

0 comments on commit cb09978

Please sign in to comment.