Forum: Rails Engines development Engines broken with RoR 1.1?

Posted by Manuel Holtgrewe (Guest)
on 2006-04-13 16:42
(Received via mailing list)
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
Posted by James Adam (Guest)
on 2006-04-13 16:48
(Received via mailing list)
Manuel -

Please switch over to using the official releases from the 1.1 release
branch - that should solve this issue. Trunk is still awaiting merges
of some of the patches in that release.

  http://svn.rails-engines.org/plugins/engines
  http://svn.rails-engines.org/engines/tags/rel_1.1.1

- james

On 4/13/06, Manuel Holtgrewe <purestorm@ggnore.net> wrote:
>          from ${APPDIR}/config/../vendor/plugins/engines/lib/
> activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in
> initializer.rb:42:in `run'
>
> engine-developers mailing list
> engine-developers@lists.rails-engines.org
> http://lists.rails-engines.org/listinfo.cgi/engine...
>


--
* J *
  ~
Posted by Manuel Holtgrewe (Guest)
on 2006-04-13 17:34
(Received via mailing list)
James,

could you maybe clean up the documentation and the wiki regarding
which Engines version should be used with which RoR version?

Regards,

Manuel
Posted by James Adam (Guest)
on 2006-04-14 07:48
(Received via mailing list)
Certainly the wiki could be cleaner, I totally agree. However, in the
release notes to each new version I announce on the rails list, I do
talk about compatibility.... The beauty of the wiki is that anyone can
add information if they feel it is relevant :)

Essentially - engines 1.1.1, the latest official release is compatible
with every version of Rails that has been official released. Or at
least it should be. The trunk is for development only, and should
really never be relied on, unless you are happy to supply bugfixes and
patches as Rails' own trunk changes.

- james


On 4/13/06, Manuel Holtgrewe <purestorm@ggnore.net> wrote:
> engine-developers@lists.rails-engines.org
> http://lists.rails-engines.org/listinfo.cgi/engine...
>


--
* J *
  ~
Posted by Manuel Holtgrewe (Guest)
on 2006-04-14 10:22
(Received via mailing list)
Am 14.04.2006 um 07:47 schrieb James Adam:

> Certainly the wiki could be cleaner, I totally agree. However, in the
> release notes to each new version I announce on the rails list, I do
> talk about compatibility....

Could you send a copy of that mail to engines-dev? The rails list is
pretty much overwhelming to read IMO.

Regards,

Manuel
Posted by James Adam (Guest)
on 2006-04-14 10:31
(Received via mailing list)
It does go to engine-users, but in future I'll send it to
engine-developers too, no problemo.

- james

On 4/14/06, Manuel Holtgrewe <purestorm@ggnore.net> wrote:
> Regards,
>
> Manuel
> _______________________________________________
> engine-developers mailing list
> engine-developers@lists.rails-engines.org
> http://lists.rails-engines.org/listinfo.cgi/engine...
>


--
* J *
  ~
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.