Skip to content

Commit 07422ea

Browse files
committed
Do not raise an error if bin/rails was already removed
1 parent 7abbbfc commit 07422ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ namespace :generate do
5151
bindir = File.expand_path("bin")
5252

5353
# Rails 4 cannot use a `rails` binstub generated by Bundler
54-
sh "rm #{bindir}/rails"
54+
sh "rm -f #{bindir}/rails"
5555
sh "bundle exec rails new ./tmp/example_app --skip-javascript --skip-gemfile --skip-git --skip-test-unit"
5656

5757
if test ?d, bindir

0 commit comments

Comments
 (0)