Forum: Rails Engines alias_method error with 1.2.x?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ef0db53920b243d6758c2f6b1306df0d?d=identicon&s=25 Steve Ross (cwd)
on 2007-03-07 00:04
I'm running edge (6340) and installed a brand new copy of the engines
plugin from svn. I start mongrel, and it immediately fails, complaining
about alias_method not being found.

Known issue?

Thanks
05d703f649ef1d07e78d7b479fb4c4ac?d=identicon&s=25 James Adam (Guest)
on 2007-03-07 10:27
(Received via mailing list)
Because of the changes that Koz made to the plugin initialization
process, the engines plugin won't work with edge rails at the moment.
See the Rails weblog for details; I've yet to decide the best way to
implement a fix for this.

- James
Ef0db53920b243d6758c2f6b1306df0d?d=identicon&s=25 Steve Ross (cwd)
on 2007-03-11 17:22
(Received via mailing list)
What is the most current tag Engines works with?

Thanks,

Steve
Ef0db53920b243d6758c2f6b1306df0d?d=identicon&s=25 Steve Ross (cwd)
on 2007-03-11 19:19
(Received via mailing list)
I'm back-patching some old code. What's the last version of Rails and
Engines that supports the login and user engines? I'd just as soon
not rewrite that code :)

Thanks,

Steve
05d703f649ef1d07e78d7b479fb4c4ac?d=identicon&s=25 James Adam (Guest)
on 2007-03-11 19:54
(Received via mailing list)
Engines 1.1.4, Rails 1.1.6 should sort you.
05d703f649ef1d07e78d7b479fb4c4ac?d=identicon&s=25 James Adam (Guest)
on 2007-03-11 19:55
(Received via mailing list)
The current engines release branch (1.2.x) works with the Rails 1.2.x
branch, so at the moment it's Rails 1.2.2.

HTH,

James
0d92743c7e40d526a804f2bac4ddb877?d=identicon&s=25 Ryan Tate (Guest)
on 2007-12-03 00:24
(Received via mailing list)
Hello, I am trying to get UserEngine and LoginEngine working again
after I accidentally ended up with a too-new rails.

I took Rails back to 1.1.6 and Engines back to 1.1.4 as discussed
below in the original thread. I have the latest/last login_engine and
user_engine installed. Ruby is
1.8.5. When I try to launch my app, I get the error below. Any clue
what I am doing wrong?

(Possibility: I'm not certain I installed engines 1.1.4 correctly -- I
did "ruby
script/plugin install
http://svn.rails-engines.org/engines/tags/rel_1.1.4/" then cd-ed to
vendor/plugin and changed the name of rel_1.1.4 to "engines".)

ruby script/server
=> Booting WEBrick...
./script/../config/../config/environment.rb:82: undefined method
`check_system_roles' for UserEngine:Module (NoMethodError)
       from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
       from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
       from
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in
`require'
       from
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/servers/webrick.rb:52
       from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
       from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
       from
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in
`require'
       from
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/server.rb:30
       from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
       from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
       from script/server:3
This topic is locked and can not be replied to.