Skip to content

Instantly share code, notes, and snippets.

@adamico
Created July 12, 2011 08:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamico/1077608 to your computer and use it in GitHub Desktop.
Save adamico/1077608 to your computer and use it in GitHub Desktop.
multiple nested engine failing on refinerycms 1.0.3
refinerycms test-multiple-nested-engines
rails generate refinery_engine father name:string
bundle install
rails generate refinerycms_fathers && rake db:migrate
rails generate refinery_engine son name:string fathers:engine
bundle install
rails generate refinerycms_sons && rake db:migrate
rails generate refinery_engine daughter name:string fathers:engine
bundle install
rails generate refinerycms_daughters
# gives this :
/usr/local/rvm/gems/ruby-1.9.2-p180@refinerycms/gems/bundler-1.0.15/lib/bundler/runtime.rb:68:in `require': /home/ada/rails_projects/test-multiple-nested-engines/vendor/engines/fathers/lib/refinerycms-fathers.rb:22: syntax error, unexpected tIDENTIFIER, expecting $end (SyntaxError)
...nerycms-sons', __FILE__)require File.expand_path('../refiner...
... ^
from /usr/local/rvm/gems/ruby-1.9.2-p180@refinerycms/gems/bundler-1.0.15/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
from /usr/local/rvm/gems/ruby-1.9.2-p180@refinerycms/gems/bundler-1.0.15/lib/bundler/runtime.rb:66:in `each'
from /usr/local/rvm/gems/ruby-1.9.2-p180@refinerycms/gems/bundler-1.0.15/lib/bundler/runtime.rb:66:in `block in require'
from /usr/local/rvm/gems/ruby-1.9.2-p180@refinerycms/gems/bundler-1.0.15/lib/bundler/runtime.rb:55:in `each'
from /usr/local/rvm/gems/ruby-1.9.2-p180@refinerycms/gems/bundler-1.0.15/lib/bundler/runtime.rb:55:in `require'
from /usr/local/rvm/gems/ruby-1.9.2-p180@refinerycms/gems/bundler-1.0.15/lib/bundler.rb:120:in `require'
from /home/ada/rails_projects/test-multiple-nested-engines/config/application.rb:7:in `<top (required)>'
from /home/ada/rails_projects/test-multiple-nested-engines/vendor/ruby/1.9.1/gems/railties-3.0.9/lib/rails/commands.rb:15:in `require'
from /home/ada/rails_projects/test-multiple-nested-engines/vendor/ruby/1.9.1/gems/railties-3.0.9/lib/rails/commands.rb:15:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment