Skip to content

Commit 2f51067

Browse files
committed
Fix binstub typo to generate rails command.
1 parent d10d8e5 commit 2f51067

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
@@ -59,7 +59,7 @@ namespace :generate do
5959
sh "bundle install --gemfile ./Gemfile --path ../../../bundle"
6060
# Rails 4 cannot use a `rails` binstub generated by Bundler
6161
sh "bundle binstubs rspec-core rake --force"
62-
sh "bundle binstubs rails" unless File.exist?("bin/rails")
62+
sh "bundle binstubs railties" unless File.exist?("bin/rails")
6363

6464
application_file = File.read("config/application.rb")
6565
sh "rm config/application.rb"

0 commit comments

Comments
 (0)