search for: rdoctask

Displaying 20 results from an estimated 24 matches for "rdoctask".

2014 Jan 16
2
[PATCH] hivex: ruby: Minor fix for building with Ruby 1.8
--- ruby/Rakefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruby/Rakefile.in b/ruby/Rakefile.in index 204e37c..5ad1502 100644 --- a/ruby/Rakefile.in +++ b/ruby/Rakefile.in @@ -22,7 +22,7 @@ require 'rake/testtask' # Used to be rake/rdoctask. Now it's rdoc/task. begin require 'rdoc/task' -rescue +rescue LoadError require 'rake/rdoctask' end @@ -31,7 +31,7 @@ end begin require 'rubygems/package_task' gempackagetask='Gem::PackageTask' -rescue +rescue LoadError require 'rake/gem...
2012 Mar 14
3
solution for rake db:create
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...
2014 Jan 16
0
Re: [PATCH] hivex: ruby: Minor fix for building with Ruby 1.8
...ile.in | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/ruby/Rakefile.in b/ruby/Rakefile.in > index 204e37c..5ad1502 100644 > --- a/ruby/Rakefile.in > +++ b/ruby/Rakefile.in > @@ -22,7 +22,7 @@ require 'rake/testtask' > # Used to be rake/rdoctask. Now it's rdoc/task. > begin > require 'rdoc/task' > -rescue > +rescue LoadError > require 'rake/rdoctask' > end > > @@ -31,7 +31,7 @@ end > begin > require 'rubygems/package_task' > gempackagetask='Gem::PackageTask&...
2011 Nov 21
2
[PATCH] out of tree build: ruby
...eak @@ -61,19 +61,19 @@ end task :test => :build RDOC_FILES = FileList[ - "README.rdoc", - "lib/**/*.rb", - "ext/**/*.[ch]" + "@srcdir@/README.rdoc", + "@srcdir@/lib/**/*.rb", + "@srcdir@/ext/**/*.[ch]" ] Rake::RDocTask.new do |rd| - rd.main = "README.rdoc" + rd.main = "@srcdir@/README.rdoc" rd.rdoc_dir = "doc/site/api" rd.rdoc_files.include(RDOC_FILES) end Rake::RDocTask.new(:ri) do |rd| - rd.main = "README.rdoc" + rd.main = "@srcdir@/README.r...
2011 Nov 22
7
rake aborted with ruby on rails
when i run * rake db:create* * * WARNING: ''require ''rake/rdoctask'''' is deprecated. Please use ''require ''rdoc/task'' (in RDoc 2.4.2+)'' instead. at /home/vishnu/.rvm/gems/ruby-1.8.7-p352-D9TI4Ms3gBgeRYYz77F+sQ@public.gmane.org/gems/rake-0.9.2.2/lib/rake/rdoctask.rb DEPRECATION WARNING: Rake tasks in vendor...
2012 Jun 26
2
Error with rake command
I am using Rails 2.3.8 application and when I enter rake command it gives following error : ms@ms-HP:~/OpenStreetView$ rake WARNING: ''require ''rake/rdoctask'''' is deprecated. Please use ''require ''rdoc/task'' (in RDoc 2.4.2+)'' instead. at /home/ms/.rvm/gems/ruby-1.9.3-p194@global/gems/rake-0.9.2.2/lib/rake/rdoctask.rb rake aborted! (<unknown>): did not find expected node content while parsin...
2006 Feb 15
6
Problem creating appdoc documentation
...(first_time, not_needed) ** Execute doc/app/index.html rm -r doc/app unrecognized option `--line-numbers --inline-source'' For help on options, try ''rdoc --help'' rake aborted! exit The appdoc.rake file: desc "Generate documentation for the application" Rake::RDocTask.new("appdoc") { |rdoc| rdoc.rdoc_dir = ''doc/app'' rdoc.title = "NCC Application Documentation" rdoc.options << ''--line-numbers --inline-source -c iso-8859-2'' rdoc.rdoc_files.include(''doc/README_FOR_APP''...
2006 Jan 04
1
Newbie question abour Rake
...op directory, what rakefile is it really running? I have rails 1.0, and in my top-level directory there is a small file called "Rakefile", which basically just includes a few other files: require ''rake'' require ''rake/testtask'' require ''rake/rdoctask'' require ''tasks/rails'' If this is indeed the file that''s being used when I run rake without any parameters, then the tasks must be defined in these other files... but I can''t find these files on my machine. I''ve looked in my rails app'...
2007 Jul 16
6
RubyToken::AlreadyDefinedToken and Edge Rails Docs
.../ lib/../../activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in'' /Users/jherdman/Projects/crosslisting/vendor/rails/activerecord/ lib/../../activesupport/lib/active_support/dependencies.rb:495:in `require'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rdoctask.rb: 112:in `define'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each'' /usr/local/lib/ruby/gems/1....
2011 Nov 29
1
[PATCH] out of tree build: ruby (second take)
...eak @@ -61,19 +61,19 @@ end task :test => :build RDOC_FILES = FileList[ - "README.rdoc", - "lib/**/*.rb", - "ext/**/*.[ch]" + "@srcdir@/README.rdoc", + "@srcdir@/lib/**/*.rb", + "@srcdir@/ext/**/*.[ch]" ] Rake::RDocTask.new do |rd| - rd.main = "README.rdoc" + rd.main = "@srcdir@/README.rdoc" rd.rdoc_dir = "doc/site/api" rd.rdoc_files.include(RDOC_FILES) end Rake::RDocTask.new(:ri) do |rd| - rd.main = "README.rdoc" + rd.main = "@srcdir@/README.r...
2011 Nov 20
1
[PATCH] out-of-tree build: ruby
...eak @@ -61,19 +61,19 @@ end task :test => :build RDOC_FILES = FileList[ - "README.rdoc", - "lib/**/*.rb", - "ext/**/*.[ch]" + "@srcdir@/README.rdoc", + "@srcdir@/lib/**/*.rb", + "@srcdir@/ext/**/*.[ch]" ] Rake::RDocTask.new do |rd| - rd.main = "README.rdoc" + rd.main = "@srcdir@/README.rdoc" rd.rdoc_dir = "doc/site/api" rd.rdoc_files.include(RDOC_FILES) end Rake::RDocTask.new(:ri) do |rd| - rd.main = "README.rdoc" + rd.main = "@srcdir@/README.r...
2009 Jun 13
2
Rake migration error
...g in .rake, # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. require(File.join(File.dirname(__FILE__), ''config'', ''boot'')) require ''rake'' require ''rake/testtask'' require ''rake/rdoctask'' require ''tasks/rails'' <==Line 10 I also ran with trace option and see: (in /var/www/html/quote) rake aborted! uninitialized constant PKG_NAME /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:443:in `load_missing_constant...
2006 Feb 23
3
rake error
...rake aborted! exit /usr/lib/ruby/1.8/rdoc/options.rb:260:in `exit'' /usr/lib/ruby/1.8/rdoc/options.rb:260:in `error'' /usr/lib/ruby/1.8/rdoc/options.rb:496:in `parse'' /usr/lib/ruby/1.8/rdoc/rdoc.rb:238:in `document'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake/rdoctask.rb:113:in `define'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:232:in `execute'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:232:in `execute'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:202:in `invoke'' /usr/lib/ruby/1.8/thread.rb:135:in `synch...
2006 Jun 07
0
revised rake doc:app executes twice
...my Rails app. So I''ve created a new task (shown below) in lib/tasks/doc.rake. It generates documentation OK, but it executes the task twice every time I ''rake doc:custom''. namespace :doc do desc "Generate customized documentation for this application" Rake::RDocTask.new(:custom) do |rdoc| rdoc.rdoc_dir = ''doc/app'' rdoc.title = "System Documentation" rdoc.options << ''--line-numbers'' << ''--all'' #<< ''--inline-source'' if ENV[''template'...
2005 Dec 20
0
Patch lovin'' for #2018? ("rake appdoc fails on Windows systems")
...ke task in railties and looks like: --- rails/railties/lib/tasks/documentation.rake 2005-11-16 23:58:48.000000000 -0500 +++ rails-ours/railties/lib/tasks/documentation.rake 2005-12-20 16:21:53.000000000 -0500 @@ -1,11 +1,10 @@ desc "Generate documentation for the application" -Rake::RDocTask.new("appdoc") { |rdoc| - rdoc.rdoc_dir = ''doc/app'' - rdoc.title = "Rails Application Documentation" - rdoc.options << ''--line-numbers --inline-source'' - rdoc.rdoc_files.include(''doc/README_FOR_APP'') - rdoc.rdoc_...
2008 Nov 05
1
My rake is broken - "no such file to load..."
..., # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. require(File.join(File.dirname(__FILE__), ''config'', ''boot'')) require ''rake'' require ''rake/testtask'' require ''rake/rdoctask'' require ''tasks/rails'' Can anyone help? thanks, max -- 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 po...
2010 Jun 30
0
rake TestTask problem with t.options
...1.8/gems/rake-0.8.7/lib/rake/ rake_test_loader.rb:4 rake aborted! Command failed with status (1): [/usr/bin/ruby -I"lib" "/usr/lib/ruby/ gems/...] -------------------- # My rake task: require ''rake'' require ''rake/testtask'' require ''rake/rdoctask'' namespace :tcp_test do Rake::TestTask.new(''job_create'') do |t| # t.loader = :testrb # t.ruby_opts = [''-n test_job_create''] t.options = ''-n test_job_create'' t.verbose = true t.pattern = ''test/integration/tcp_test.rb...
2013 Jan 03
1
Error with rake command
Getting error with rake db:migrate command: ERROR: "rake/rdoctask" is obsolete and no longer supported.Use Rdoc/task (available in RDoc 2.4.2+) instead. Help me please -- 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 e...
2007 Jan 11
3
rake db:migrate doesn't work anymore
Hi! Up to now, i had no problems with my migrations and rake (rake db:migrate). Today, i got a project from a svn repository, but i can''t do "rake db:migrate": "rake aborted! No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb) /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1822:in `load_rakefile'' (See full trace by running task
2006 Feb 02
4
rails-1.0.0 gem rdoc problem
...n options, try ''rdoc --help'' rake aborted! exit (See full trace by running task with --trace) This can be fixed with the following change: --- Rakefile 2006-02-01 18:24:07.000000000 -0600 +++ Rakefile.bak 2006-02-01 18:25:38.000000000 -0600 @@ -233,7 +233,7 @@ Rake::RDocTask.new { |rdoc| rdoc.rdoc_dir = ''doc'' rdoc.title = "Railties :: Gluing the Engine to the Rails" - rdoc.options << ''--line-numbers --inline-source --accessor cattr_accessor=object'' + rdoc.options += %w(--line-numbers --inline-source --acces...