Forum: Ruby Gems 'deprecated'

32c3a60e6e43279406c1a0ebe23fe538?d=identicon&s=25 Himel Sarkar (Guest)
on 2014-05-07 18:46
(Received via mailing list)
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.

himel@ubuntu:~/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 Sarkar,
*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.*
A7fca2db6ff3f4583df98043bd5166f9?d=identicon&s=25 Panagiotis Atmatzidis (Guest)
on 2014-05-07 19:15
(Received via mailing list)
Attachment: signature.asc (832 Bytes)
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:  atma@convalesco.org
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
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.