#39 open
Mirec

rails 2.2 or gettext?

Reported by Mirec | February 9th, 2009 @ 02:03 PM

I am trying to instal ansuz, but with rails 2.1.2 i get error that engines require rails 2.2:

rake ansuz:install --trace
(in /internet/www/vhosts/www.misia.sk/apps/ansuz) Invoke ansuz:install (first_time) Invoke environment (first_time) ** Execute environment rake aborted! This version of the engines plugin requires Rails 2.2.0 or later! /internet/www/vhosts/www.misia.sk/apps/ansuz/config/../vendor/plugins/engines/boot.rb:4 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire' ....

and with rails 2.2.2 i get and error:

[root@two ansuz]# rake ansuz:install
(in /internet/www/vhosts/www.misia.sk/apps/ansuz) rake aborted! undefined method render_file' for classActionView::Base' /internet/www/vhosts/www.misia.sk/apps/ansuz/vendor/rails/activesupport/lib/active_support/core_ext/module/aliasing.rb:33:in alias_method_chain' /usr/local/lib/ruby/gems/1.8/gems/gettext-1.93.0/lib/gettext/rails.rb:291 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:ingem_original_require' ....

an idea?

thx

Comments and changes to this ticket

  • knewter (at gmail)

    knewter (at gmail) February 15th, 2009 @ 09:01 PM

    What operating system is this running under? What does script/about yield? I have:

    --(jadams@goro)-(147/pts/13)-(2057/15-Feb-09)-- --($:~/rails/ansuz)(ansuz-core)-- script/about About your application's environment Ruby version 1.8.7 (x86_64-linux) RubyGems version 1.3.1 Rails version 2.2.2 Active Record version 2.2.2 Action Pack version 2.2.2 Active Resource version 2.2.2 Action Mailer version 2.2.2 Active Support version 2.2.2 Application root /home/jadams/rails/ansuz Environment development Database adapter mysql Database schema version 20090125222830

    Do you get the same results with the most recent version of ansuz? I don't even have the gettext gem installed...maybe if I install it I'll see this error? I'll check.

    Nope. I installed the gettext gem and it works fine. Will you / can you try it with gettext uninstalled, if the latest version doesn't fix it?

  • knewter (at gmail)

    knewter (at gmail) February 15th, 2009 @ 09:04 PM

    • State changed from “new” to “open”
    • Assigned user set to “knewter (at gmail)”

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Project for ansuz: Open source Rails-based content management that works.

People watching this ticket

Pages