Hi.
I’m getting a strange error when trying to run any engines based code:
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:21:in
require__': no such file to load -- rails_version (MissingSourceFile) from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/ custom_require.rb:21:in
require’
from ${APPDIR}/config/…/vendor/rails/activerecord/lib/…/…/
activesupport/lib/active_support/dependencies.rb:147:in require' from ${APPDIR}/config/../vendor/plugins/engines/lib/ engines.rb:3 from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/ custom_require.rb:21:in
require’
from ${APPDIR}/config/…/vendor/rails/activerecord/lib/…/…/
activesupport/lib/active_support/dependencies.rb:147:in require' from ${APPDIR}/config/../vendor/plugins/engines/init.rb: 32:in
load_plugin’
from ${APPDIR}/config/…/vendor/rails/railties/lib/
initializer.rb:348:in load_plugin' from ${APPDIR}/config/../vendor/rails/activerecord/lib/../../ activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in
silence_warnings’
from ${APPDIR}/config/…/vendor/rails/railties/lib/
initializer.rb:348:in load_plugin' from ${APPDIR}/config/../vendor/rails/railties/lib/ initializer.rb:158:in
load_plugins’
from ${APPDIR}/config/…/vendor/rails/railties/lib/
initializer.rb:158:in load_plugins' from ${APPDIR}/config/../vendor/rails/railties/lib/ initializer.rb:102:in
process’
from ${APPDIR}/config/…/vendor/rails/railties/lib/
initializer.rb:42:in `run’
from ${APPDIR}/config/environment.rb:17
from ./vendor/plugins/active_rbac/test/unit/…/…/…/…/…/
test/test_helper.rb:2
from ./vendor/plugins/active_rbac/test/unit/…/test_helper.rb:5
from vendor/plugins/active_rbac/test/unit/group_test.rb:1
Essentially, it seems that line 3 of engines.rb (from here: http://
svn.rails-engines.org/engines/trunk/lib/engines.rb) tries to require
the file “rails_version.rb” which does not exist (at least in RoR
1.1.2).
Did this occur to nobody but me yet? What’s the general state of RoR
1.1.x support with Engines?
I would be grateful for any information on this. The Engines plugin
is great stuff but it seems pretty much broken and buggy with 1.1 to me.
Regards,
Manuel