Skip to content

Commit

Permalink
rubyonrails: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Apr 18, 2024
1 parent f8e829c commit e316837
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions examples/rubyonrails/devenv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@

enterShell = ''
if [ ! -d "blog" ]; then
gem install rails || exit 1
rails new blog --database=postgresql --force || exit 1
gem install rails
rails new blog --database=postgresql --force
fi
export PATH="$DEVENV_ROOT/blog/bin:$PATH"
pushd blog
bundle || exit 1
bundle
popd
'';
}
4 changes: 1 addition & 3 deletions examples/rubyonrails/devenv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@ inputs:
url: github:bobvanderlinden/nixpkgs-ruby
inputs:
nixpkgs:
follows: nixpkgs
clean:
enabled: true
follows: nixpkgs

0 comments on commit e316837

Please sign in to comment.