Skip to content

Commit 9128c09

Browse files
authored
Merge pull request rails#38410 from jonathanhefner/plugin-deobfuscate-rake-version-error
Deobfuscate Rake version error in generated plugin
2 parents 6708f3a + 437896e commit 9128c09

File tree

1 file changed

+1
-5
lines changed
  • railties/lib/rails/generators/rails/plugin/templates

1 file changed

+1
-5
lines changed

railties/lib/rails/generators/rails/plugin/templates/Rakefile.tt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
begin
2-
require 'bundler/setup'
3-
rescue LoadError
4-
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5-
end
1+
require 'bundler/setup'
62

73
require 'rdoc/task'
84

0 commit comments

Comments
 (0)