I ran into the following error:

WARNING: 'require 'rake/rdoctask'' is deprecated. Please use
'require 'rdoc/tas k' (in RDoc 2.4.2+)' instead.
at /usr/lib/ruby/vendor_ruby/rake/rdoctask.rb
rake aborted!
uninitialized constant Gem
----

Following that advice (which I also found by searching the web for the
error message) got me nowhere, however:


rake aborted!
no such file to load -- rdoc/task

anyone know the solution.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Search Discussions

  • Shyam at Mar 14, 2012 at 9:24 am
    check ur rake gem version and rubygems if installed or not.

    On Wednesday, 14 March 2012 13:13:27 UTC+5:30, satvat rani wrote:

    I ran into the following error:

    WARNING: 'require 'rake/rdoctask'' is deprecated. Please use
    'require 'rdoc/tas k' (in RDoc 2.4.2+)' instead.
    at /usr/lib/ruby/vendor_ruby/rake/rdoctask.rb
    rake aborted!
    uninitialized constant Gem
    ----

    Following that advice (which I also found by searching the web for the
    error message) got me nowhere, however:


    rake aborted!
    no such file to load -- rdoc/task

    anyone know the solution.
    --
    You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
    To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/L69_8gRq6LMJ.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
  • Satvat Rani at Mar 14, 2012 at 11:10 am
    OK..C:\user\ran>gem list -d rake

    *** LOCAL GEMS ***

    rake (0.9.2.2, 0.9.2, 0.8.7, 0.8.3)
    Author: Jim Weirich
    Rubyforge: http://rubyforge.org/projects/rake
    Homepage: http://rake.rubyforge.org
    Installed at (0.9.2.2): C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8
    (0.9.2): C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8
    (0.8.7): C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8
    (0.8.3): C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8

    Ruby based make-like utility.


    C:\user\ran>bundle show rake
    C:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/rake-0.9.2.2

    C:\user\ran>rake db:create
    rake aborted!
    no such file to load -- rdoc/task



    (See full trace by running task with --trace)
    On Wed, Mar 14, 2012 at 2:54 PM, shyam wrote:


    check ur rake gem version and rubygems if installed or not.


    On Wednesday, 14 March 2012 13:13:27 UTC+5:30, satvat rani wrote:

    I ran into the following error:

    WARNING: 'require 'rake/rdoctask'' is deprecated. Please use
    'require 'rdoc/tas k' (in RDoc 2.4.2+)' instead.
    at /usr/lib/ruby/vendor_ruby/**rake/rdoctask.rb
    rake aborted!
    uninitialized constant Gem
    ----

    Following that advice (which I also found by searching the web for the
    error message) got me nowhere, however:


    rake aborted!
    no such file to load -- rdoc/task

    anyone know the solution.

    --
    You received this message because you are subscribed to the Google Groups
    "Ruby on Rails: Talk" group.
    To view this discussion on the web visit
    https://groups.google.com/d/msg/rubyonrails-talk/-/L69_8gRq6LMJ.

    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to
    rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit this group at
    http://groups.google.com/group/rubyonrails-talk?hl=en.
    --
    You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
  • Mohnish G j at Mar 14, 2012 at 4:35 pm
    I guess, its a conflict with using mutiple versions of Rake Gem.

    If you have many applications, which require different rake gem versions
    to run..

    Install RVM,

    Do a rvm gemset create gemset_name

    and then place appropriate gem versions of rake and other gems in those
    project specific gemsets.. to avoid conflicts..

    --
    Posted via http://www.ruby-forum.com/.

    --
    You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedMar 14, '12 at 7:43a
activeMar 14, '12 at 4:35p
posts4
users3
websiterubyonrails.org
irc#RubyOnRails

3 users in discussion

Satvat Rani: 2 posts Shyam: 1 post Mohnish G j: 1 post

People

Translate

site design / logo © 2021 Grokbase