aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@plataformatec.com.br>2013-02-25 20:42:36 -0700
committerJosé Valim <jose.valim@plataformatec.com.br>2013-02-25 20:42:36 -0700
commit670a2673946e2f933ff1c16699637958ef84c831 (patch)
tree9a48dc6907d54ba5ac4d7a3b54f40e8b099b1041 /railties
parent882f2da9567b537081bdfa0103e384beb36f8d41 (diff)
downloadrails-670a2673946e2f933ff1c16699637958ef84c831.tar.gz
rails-670a2673946e2f933ff1c16699637958ef84c831.tar.bz2
rails-670a2673946e2f933ff1c16699637958ef84c831.zip
Apparently we can't get away from adding lib to the load path
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/generators/rails/plugin_new/templates/rails/boot.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/plugin_new/templates/rails/boot.rb b/railties/lib/rails/generators/rails/plugin_new/templates/rails/boot.rb
index acb11b9883..ef360470a3 100644
--- a/railties/lib/rails/generators/rails/plugin_new/templates/rails/boot.rb
+++ b/railties/lib/rails/generators/rails/plugin_new/templates/rails/boot.rb
@@ -2,3 +2,4 @@
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../../Gemfile', __FILE__)
require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
+$LOAD_PATH.unshift File.expand_path('../../../../lib', __FILE__)