-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename all .rb templates which contain erb to .rb.erb. #1750
Conversation
@@ -7,8 +7,6 @@ def setup_environment | |||
elsif File.dirname(__FILE__) =~ %r{vendor/extensions} | |||
# Require the path to the refinerycms application this is vendored inside. | |||
require File.expand_path('../../../../../config/environment', __FILE__) | |||
else | |||
raise "Could not find a config/environment.rb file to require. Please specify this in #{File.expand_path(__FILE__)}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed this because rails_admin trips on this but I would love to hear a better workaround.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to a puts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Great stuff |
Rename all .rb templates which contain erb to .rb.erb.
#1749