Because I have east error?

Hello James. a question. because I have east error. stick the code
therefore you help me. thanks. dummies

[email protected]:~/rails_app/martina$ script/generate plugin_migration
create db/migrate
create db/migrate/001_login_engine_to_version_1.rb
[email protected]:~/rails_app/martina$ rake db:migrate
(in /home/javier/rails_app/martina)
== LoginEngineToVersion1: migrating

== InitialSchema: migrating

rake aborted!
Object is not missing constant LoginEngine!

(See full trace by running task with --trace)
[email protected]:~/rails_app/martina$ script/generate plugin_migration
exists db/migrate
create db/migrate/001_login_engine_to_version_1.rb
[email protected]:~/rails_app/martina$ rake db:migrate
(in /home/javier/rails_app/martina)
== LoginEngineToVersion1: migrating

rake aborted!
undefined method `vendor’ for Rails:Module

(See full trace by running task with --trace)
[email protected]:~/rails_app/martina$ rake db:migrate
(in /home/javier/rails_app/martina)
== LoginEngineToVersion1: migrating

== InitialSchema: migrating

rake aborted!
Object is not missing constant LoginEngine!

(See full trace by running task with --trace)
[email protected]:~/rails_app/martina$ rake db:migrate --trace
(in /home/javier/rails_app/martina)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
== LoginEngineToVersion1: migrating

== InitialSchema: migrating

rake aborted!
Object is not missing constant LoginEngine!
/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:240:in
load_missing_constant' /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:452:inconst_missing’
/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:464:in
const_missing' /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:470:insend’
/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:470:in
const_missing' /home/javier/rails_app/martina/config/../vendor/plugins/login_engine/db/migrate/001_initial_schema.rb:3:inreal_up’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/migration.rb:212:in
send' /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/migration.rb:212:inmigrate’
/usr/lib/ruby/1.8/benchmark.rb:293:in measure' /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/migration.rb:212:inmigrate’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/migration.rb:335:in
migrate' /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/migration.rb:330:ineach’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/migration.rb:330:in
migrate' /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/migration.rb:297:inup’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/migration.rb:288:in
migrate' /home/javier/rails_app/martina/config/../vendor/plugins/engines/lib/engines/plugin_migrator.rb:18:inmigrate_plugin’
/home/javier/rails_app/martina/config/…/vendor/plugins/engines/lib/engines/plugin.rb:212:in
migrate' ./db/migrate//001_login_engine_to_version_1.rb:3:inreal_up’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/migration.rb:212:in
send' /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/migration.rb:212:inmigrate’
/usr/lib/ruby/1.8/benchmark.rb:293:in measure' /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/migration.rb:212:inmigrate’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/migration.rb:335:in
migrate' /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/migration.rb:330:ineach’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/migration.rb:330:in
migrate' /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/migration.rb:297:inup’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/migration.rb:288:in
migrate' /usr/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/databases.rake:4 /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:incall’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in execute' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:ineach’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in execute' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:ininvoke’
/usr/lib/ruby/1.8/thread.rb:135:in synchronize' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:ininvoke’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:ineach’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:instandard_exception_handling’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:inrun’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:inrun’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7
/usr/bin/rake:16:in `load’
/usr/bin/rake:16
[email protected]:~/rails_app/martina$

################the end###################

Hi Javier,

See my previous emails. The login engine WILL NOT WORK with Rails 1.2,
unless you fix it yourself.

James

now use rails 1.1.6 with engine 1.2 but the migrations no working. .
help me
thanks.

2007/5/22, James A. [email protected]:

Ok. .sorry… ,i stay very … confius
:wink:
gracias james

2007/5/22, James A. [email protected]:

Correct me if I am wrong, but I don’t believe Engines 1.2 works with
Rails 1.1.6.

Trevor

Hi again Javier,

If you want to use the login engine, you need to install Rails 1.1.6
and Engines 1.1.4 (from a tag, see the SVN repository). Unless you do
this, you won’t be able to get the login engine to work.

However, I’d advise you to investigate other alternatives.

Engines 1.2 + Rails 1.2 + login engine == broken
Engines 1.1.4 + Rails 1.2 + login_engine == broken
Engines 1.2 + Rails 1.1.6 + login_engine == broken
Engines 1.1.4 + Rails 1.1.6 + login_engine == OK.

I think we’ve covered this enough on the list. To avoid unnecessary
noise, please post any further questions directly to me.

Thanks,

James

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs