Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Rename all .rb templates which contain erb to .rb.erb. #1750

Merged
merged 2 commits into from Jun 20, 2012

Conversation

Projects
None yet
3 participants
Owner

ugisozols commented Jun 13, 2012

@ugisozols ugisozols and 1 other commented on an outdated diff Jun 13, 2012

...erators/refinery/engine/templates/spec/spec_helper.rb
@@ -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__)}"
@ugisozols

ugisozols Jun 13, 2012

Owner

I removed this because rails_admin trips on this but I would love to hear a better workaround.

@parndt

parndt Jun 13, 2012

Owner

Change to a puts

This pull request passes (merged a0581c2 into 4f1c75f).

Owner

parndt commented Jun 13, 2012

Great stuff

This pull request passes (merged 0a8a2a5 into 4f1c75f).

parndt added a commit that referenced this pull request Jun 20, 2012

Merge pull request #1750 from resolve/issue_1749
Rename all .rb templates which contain erb to .rb.erb.

@parndt parndt merged commit f3366ac into master Jun 20, 2012

ugisozols added a commit that referenced this pull request Jun 22, 2012

ugisozols added a commit that referenced this pull request Jun 22, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment