This project is archived and is in readonly mode.

#5129 ✓stale

en.yml, the file type yml is not known | Problem with db:migrate

Reported by LiTE | July 16th, 2010 @ 12:48 AM

I try set migration on my database and i got this:

rake db:migrate --trace
(in /home/lite/AIP)
DEPRECATION WARNING: railtie_name is deprecated and has no effect. (called from <class:Railtie> at /home/lite/.rvm/gems/ruby-head@rails300/gems/will_paginate-3.0.pre/lib/will_paginate/railtie.rb:6)
rake aborted!
can not load translations from /home/lite/.rvm/gems/ruby-head@rails300/gems/activesupport-3.0.0.beta4/lib/active_support/locale/en.yml, the file type yml is not known
/home/lite/.rvm/gems/ruby-head@rails300/gems/i18n-0.4.1/lib/i18n/backend/base.rb:213:in `load_file'
/home/lite/.rvm/gems/ruby-head@rails300/gems/i18n-0.4.1/lib/i18n/backend/base.rb:21:in `block in load_translations'
/home/lite/.rvm/gems/ruby-head@rails300/gems/i18n-0.4.1/lib/i18n/backend/base.rb:21:in `each'
/home/lite/.rvm/gems/ruby-head@rails300/gems/i18n-0.4.1/lib/i18n/backend/base.rb:21:in `load_translations'
/home/lite/.rvm/gems/ruby-head@rails300/gems/i18n-0.4.1/lib/i18n/backend/simple.rb:57:in `init_translations'
/home/lite/.rvm/gems/ruby-head@rails300/gems/i18n-0.4.1/lib/i18n/backend/simple.rb:71:in `lookup'
/home/lite/.rvm/gems/ruby-head@rails300/gems/i18n-0.4.1/lib/i18n/backend/base.rb:34:in `translate'
/home/lite/.rvm/gems/ruby-head@rails300/gems/i18n-0.4.1/lib/i18n.rb:152:in `translate'
/home/lite/.rvm/gems/ruby-head@rails300/gems/activesupport-3.0.0.beta4/lib/active_support/core_ext/array/conversions.rb:13:in `to_sentence'
/home/lite/.rvm/gems/ruby-head@rails300/gems/railties-3.0.0.beta4/lib/rails/plugin.rb:50:in `load_deprecated_tasks'
/home/lite/.rvm/gems/ruby-head@rails300/gems/railties-3.0.0.beta4/lib/rails/plugin.rb:44:in `load_tasks'
/home/lite/.rvm/gems/ruby-head@rails300/gems/railties-3.0.0.beta4/lib/rails/application.rb:125:in `block in load_tasks'
/home/lite/.rvm/gems/ruby-head@rails300/gems/railties-3.0.0.beta4/lib/rails/application/railties.rb:11:in `each'
/home/lite/.rvm/gems/ruby-head@rails300/gems/railties-3.0.0.beta4/lib/rails/application/railties.rb:11:in `all'
/home/lite/.rvm/gems/ruby-head@rails300/gems/railties-3.0.0.beta4/lib/rails/application.rb:125:in `load_tasks'
/home/lite/.rvm/gems/ruby-head@rails300/gems/railties-3.0.0.beta4/lib/rails/application.rb:81:in `method_missing'
/home/lite/AIP/Rakefile:7:in `<top (required)>'
/home/lite/.rvm/gems/ruby-head@rails300/gems/rake-0.8.7/lib/rake.rb:2383:in `load'
/home/lite/.rvm/gems/ruby-head@rails300/gems/rake-0.8.7/lib/rake.rb:2383:in `raw_load_rakefile'
/home/lite/.rvm/gems/ruby-head@rails300/gems/rake-0.8.7/lib/rake.rb:2017:in `block in load_rakefile'
/home/lite/.rvm/gems/ruby-head@rails300/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/home/lite/.rvm/gems/ruby-head@rails300/gems/rake-0.8.7/lib/rake.rb:2016:in `load_rakefile'
/home/lite/.rvm/gems/ruby-head@rails300/gems/rake-0.8.7/lib/rake.rb:2000:in `block in run'
/home/lite/.rvm/gems/ruby-head@rails300/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/home/lite/.rvm/gems/ruby-head@rails300/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/home/lite/.rvm/gems/ruby-head@rails300/gems/rake-0.8.7/bin/rake:31:in `<top (required)>'
/home/lite/.rvm/gems/ruby-head@rails300/bin/rake:19:in `load'
/home/lite/.rvm/gems/ruby-head@rails300/bin/rake:19:in `<main>'

In /home/lite/.rvm/gems/ruby-head@rails300/gems/activesupport-3.0.0.beta4/lib/active_support/locale/en.yml I have

      # Use the strftime parameters for formats.
      # When no format has been given, it uses default.
      # You can provide other formats here if you like!
      default: "%Y-%m-%d"
      short: "%b %d"
      long: "%B %d, %Y"
    day_names: [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday]
    abbr_day_names: [Sun, Mon, Tue, Wed, Thu, Fri, Sat]
    # Don't forget the nil at the beginning; there's no such thing as a 0th month
    month_names: [~, January, February, March, April, May, June, July, August, September, October, November, December]
    abbr_month_names: [~, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec]
    # Used in date_select and datime_select.
      - :year
      - :month
      - :day

      default: "%a, %d %b %Y %H:%M:%S %z"
      short: "%d %b %H:%M"
      long: "%B %d, %Y %H:%M"
    am: "am"
    pm: "pm"
# Used in array.to_sentence.
      words_connector: ", "
      two_words_connector: " and "
      last_word_connector: ", and "

And my gem list

abstract (1.0.0)
actionmailer (3.0.0.beta4, 2.3.4)
actionpack (3.0.0.beta4, 2.3.4)
activemodel (3.0.0.beta4)
activerecord (3.0.0.beta4, 2.3.8, 2.3.4)
activeresource (3.0.0.beta4, 2.3.4)
activesupport (3.0.0.beta4, 2.3.8, 2.3.4)
acts-as-taggable-on (2.0.6)
arel (0.4.0)
bcrypt-ruby (2.1.2)
builder (2.1.2)
bundler (0.9.26)
capybara (0.3.9)
compass (0.10.2)
configuration (1.1.0)
cucumber (0.8.5)
cucumber-rails (0.3.2)
culerity (0.2.10)
database_cleaner (0.5.2)
devise (1.1.rc2)
diff-lcs (1.1.2)
erubis (2.6.6)
factory_girl (1.3.1)
factory_girl_rails (1.0)
ffi (0.6.3)
friendly_id (3.0.6)
gherkin (2.1.4)
haml (3.0.13)
i18n (0.4.1)
jrails (0.6.0)
json_pure (1.4.3)
launchy (0.3.5)
mail (2.2.5)
mime-types (1.16)
mysql (2.8.1)
nokogiri (1.4.2)
paperclip (2.3.3)
polyglot (0.3.1)
rack (1.1.0, 1.0.1)
rack-mount (0.6.9)
rack-test (0.5.4)
rails (3.0.0.beta4, 2.3.4)
railties (3.0.0.beta4)
rake (0.8.7)
rdoc (2.5.9, 2.5.8)
rspec (2.0.0.beta.17)
rspec-core (2.0.0.beta.17)
rspec-expectations (2.0.0.beta.17)
rspec-mocks (2.0.0.beta.17)
rspec-rails (2.0.0.beta.17)
selenium-webdriver (0.0.24)
spork (0.8.4)
sqlite3-ruby (1.3.1, 1.3.0)
term-ansicolor (1.0.5)
thor (0.13.7)
treetop (1.4.8)
trollop (1.16.2)
tzinfo (0.3.22)
warden (0.10.7)
webrat (0.7.1)
will_paginate (3.0.pre)

I found similar problem, but not solved:

Comments and changes to this ticket

  • Santiago Pastorino

    Santiago Pastorino February 2nd, 2011 @ 04:35 PM

    • State changed from “new” to “open”

    This issue has been automatically marked as stale because it has not been commented on for at least three months.

    The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.

    Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.

  • Santiago Pastorino

    Santiago Pastorino February 2nd, 2011 @ 04:35 PM

    • State changed from “open” to “stale”

Create your profile

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

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

People watching this ticket