Gems 'deprecated'

Hi,

I’m a beginner at Rails. I was recently trying to create a small app. As
soon as I type rake db:migrate. These error messages came up. I don’t
know
what they mean.

[email protected]:~/blog/new/app$ rake db:migrate
(in /home/himel/blog/new)
NOTE: Gem.source_index is deprecated, use Specification. It will be
removed
on or after 2011-11-01.
Gem.source_index called from
/home/himel/blog/new/vendor/rails/railties/lib/rails/gem_dependency.rb:21.
NOTE: Gem::SourceIndex#initialize is deprecated with no replacement. It
will be removed on or after 2011-11-01.
Gem::SourceIndex#initialize called from
/home/himel/blog/new/vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:100.
NOTE: Gem::SourceIndex#add_spec is deprecated, use
Specification.add_spec.
It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from
/usr/lib/ruby/1.9.1/rubygems/source_index.rb:91.
NOTE: Gem::SourceIndex#add_spec is deprecated, use
Specification.add_spec.
It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from
/usr/lib/ruby/1.9.1/rubygems/source_index.rb:91.
NOTE: Gem::SourceIndex#add_spec is deprecated, use
Specification.add_spec.
It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from
/usr/lib/ruby/1.9.1/rubygems/source_index.rb:91.
NOTE: Gem::SourceIndex#add_spec is deprecated, use
Specification.add_spec.
It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from
/usr/lib/ruby/1.9.1/rubygems/source_index.rb:91.
NOTE: Gem::SourceIndex#add_spec is deprecated, use
Specification.add_spec.
It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from
/usr/lib/ruby/1.9.1/rubygems/source_index.rb:91.
NOTE: Gem::SourceIndex#add_spec is deprecated, use
Specification.add_spec.
It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from
/usr/lib/ruby/1.9.1/rubygems/source_index.rb:91.
WARNING: ‘require ‘rake/rdoctask’’ is deprecated. Please use ‘require
‘rdoc/task’ (in RDoc 2.4.2+)’ instead.
at /usr/lib/ruby/vendor_ruby/rake/rdoctask.rb
rake aborted!
Value assigned to config.time_zone not recognized.Run “rake -D time” for
a
list of tasks for finding appropriate time zone names.

Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)

Can someone help me out with them? I tried reinstalling the bundler
because
I thought that’s where the problem was. But that didn’t help.


Himel S.,
himelsarkarforever.blogspot.com
http://himelsarkarforever.blogspot.com

  • Here’s to the crazy ones. The misfits. The rebels. The troublemakers.
    The
    round pegs in the square holes. The ones who see things differently.
    They’re not fond of rules. And they have no respect for the status quo.
    You
    can quote them, disagree with them, glorify or vilify them. About the
    only
    thing you can’t do is ignore them. Because they change things. They push
    the human race forward. And while some may see them as the crazy ones,
    we
    see genius. Because the people who are crazy enough to think they can
    change the world are the ones who do.*

Hello,

It’s better to use ruby-2.1 and Rails4. So just upgrade. Also better run
rake as ‘bundle rake […]’.

Panagiotis (atmosx) Atmatzidis

email: [email protected]
URL: http://www.convalesco.org
GnuPG ID: 0x1A7BFEC5
gpg --keyserver pgp.mit.edu --recv-keys 1A7BFEC5

“As you set out for Ithaca, hope the voyage is a long one, full of
adventure, full of discovery […]” - C. P. Cavafy

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