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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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 <shyammohankanojia-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.