diff options
author | José Valim <jose.valim@plataformatec.com.br> | 2013-02-25 20:42:36 -0700 |
---|---|---|
committer | José Valim <jose.valim@plataformatec.com.br> | 2013-02-25 20:42:36 -0700 |
commit | 670a2673946e2f933ff1c16699637958ef84c831 (patch) | |
tree | 9a48dc6907d54ba5ac4d7a3b54f40e8b099b1041 /railties | |
parent | 882f2da9567b537081bdfa0103e384beb36f8d41 (diff) | |
download | rails-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.rb | 1 |
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__) |