similar to: Rake doc:app not including lib directory

Displaying 20 results from an estimated 70000 matches similar to: "Rake doc:app not including lib directory"

2006 Apr 18
0
extend doc:app rake task to Include lib/*?
I''ve never really done much with rake and I''m trying to figure out how to add some options to the doc:app task. For instance I''d like to include documentation for files in the lib directory. I can''t seem to figure out the proper way to do it short of changing the lib/tasks/documentation.rake in the rails distribution. After poking around in the rails tasks, I
2006 May 13
0
rake doc:app and /lib
Hi folks, I wonder if there is there any good reason why the rails-lib directory is not included in the rake doc:app task? Does somebody know how to change that? Cheers Peter -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060513/5a6f8cff/attachment-0001.html
2006 Jun 07
0
revised rake doc:app executes twice
I''m trying to create a new rake task that will generate slightly customized RDoc documentation for 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"
2008 Jan 31
1
never have been able to run rake doc:app
Perhaps it''s just a Fedora thing but it would be nice to generate my application''s API $ rake doc:app --trace (in /home/storage/users/craig/svn/th-db/branches/phase5) ** Invoke doc:app (first_time) ** Invoke doc/app/index.html (first_time) rake aborted! Don''t know how to build task ''doc/README_FOR_APP''
2006 Nov 13
0
[737] trunk/wxruby2/rake/rakepackage.rb: Ensure that lib/wx/classes/ .rb files are included in gem and tarball
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2007 May 16
0
Rake Namespaces - How to keep them separate?
Good morning, In our app we have a number of custom Rake tasks living in lib/tasks. Each has a different namespace, but if I do this (yes, I know, global variables bad): namespace :spider_uk_foo do @ss = Scraper.new @ss.set_name task :perform do end end Then @ss.set_name is run when running any other rake file, though each has a different namespace. @ss would also appear to be
2006 Mar 31
1
rake doc:rails fails with edge rails
Hi, I''m sure I''m doing something stupid, but I can''t figure this one out. I want the edge rails docs (I''m using svn:externals for vendor/rails to get edge rails). Running ruby 1.8.4, and edge rails. Tried on linux and OS X. ''rake doc:app'' and ''rake doc:plugins'' works fine, but when I run ''rake
2006 Apr 12
2
Rake not finding lib/tasks folder?
Hi all, I''m attempting to set up a new Rails app using Typo. I''ve downloaded the Typo 2.6.0 edition which includes Rails 1.0 and it works fine. I''ve set up version control with SVN and checked out a new working copy. I''ve run Capistrano -A on the application and it''s set up my deploy.rb and lib/tasks/capistrano.rake. Rake doesn''t seem
2008 Mar 06
0
Including my plugin specs into rake spec
Hi, We''ve been building plugins for our app, and we kept running into forgetting to run the plugin specs when we updated from svn. So, I took the task on to have the rake spec command include our plugin specs, as well. I only wanted to have our plugin specs run, not third party ones. In order to do this, I edited the rspec_on_rails /tasks/rspec.rake file to include our specs in the
2007 Dec 28
1
Rake routes & console showing one thing, app doing another
OK, I have a routing problem, that seems to be working in the console, and with rake routes but not in the app. I have people that have nested tasks, like so: ------------------------------- # routes.rb map.resources :people do |person| person.resources :phone_notes person.resources :documents person.resources :tasks, :member => {:complete => :put} end map.resources :tasks, :member
2007 Mar 28
3
Make rake tasks of a plugin accessible to the app?
Hi all I want to add some rake tasks to my app using a plugin. So I added some tasks to vendor/plugins/my-plugin/Rakefile, but it seems that the tasks in a plugin''s Rakefile are not available to access from the application root, but you have to change directory to vendor/plugins/my-plugin. Is that correct? I''d really like to make my rake tasks from the plugin accessible by the
2013 Jun 27
2
[HELP] RoR Fedena App Installation: Rake Gem
I''m really a newbie with RoR. But I need to deploy this app as soon as possible. RoR App: Fedena RoR Ver: 1.8.7 When I type any rake commands I always encounter this problem: rake aborted! uninitialized constant ActiveSupport::Dependencies::Mutex Locally, I did find the solution for this problem by downgrading my Rake Gem version from 0.9.2 to 0.8.7.. The problem is installing it on
2009 Sep 09
0
Getting started with Rake - how do I copy a directory of assets to RAILS_ROOT + "/public"
I am just getting started with Rake. I am trying to create a rake task from within a rails plugin to copy some asset files (inside /assets in my plugin folder) to my rails application /public folder. How can I achieve this? I am not sure whether to use FileUtils or File. Where AM I in rake terms. No matter what I do it keeps saying it can''t find the file. Do I need to use File.join or is
2009 Apr 22
1
Tests for my gem cannot find classes in gems lib directory ..
I am writing a gem and using RSpec to drive my development. However, whenever I describe a class within the gems lib I get an uninitialized constant error. I am placing my folder structure, spec.rake and first spec below. I feel I must be missing something obvious. Additionally, I did output the value of f in lib inclusion code and it is traversing the lib folder correctly and I can
2008 Dec 23
3
rake doc:guides error
I have Rails 2.2.2 installed and get the following message when I try to generate the rails guides: Family-iMac:expences Dad$ rake doc:guides (in /Users/Dad/Documents/Rails/Apps/expences) rake aborted! Don''t know how to build task ''doc:guides'' (See full trace by running task with --trace) Family-iMac:expences Dad$ rake doc:guides --trace (in
2009 Oct 07
1
rake spec does not run specs -- just writes to spec.opts directory
I am having an issue on my integration server currently. When I run rake spec locally my specs run and all is good but when I run rake spec in on my integration box I get the following output Options written to spec/spec.opts. You can now use these options with: spec --options spec/spec.opts When I run spec --options spec.opts I get the same message. script/spec and others all do the same , if I
2006 Aug 10
1
rake doc:plugins , error
Hi, Im trying to generate the documentation for the plugins I have installed, however when I run the following command, I just get the following error. rake doc:plugins C:\InstantRails\rails_apps\opp>rake doc:plugins (in C:/InstantRails/rails_apps/opp) rdoc -o doc/plugins/acts_as_authenticated --title ''Acts As Authenticated Plugin Documentation'' --line-numbers
2008 Dec 25
2
rake doc:rails -- fails.
rake doc:rails fails with: Don''t know how to build task ''vendor/rails/railties/CHANGELOG'' How to fix? Rails 2.2.2, Rake 0.8.3. Thanks, Ken -- 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
2009 Feb 21
4
problem with running rake db:migrate on a Rails app
Hi everybody, I am trying to get the Typo blog engine up and running in development mode but I hit the wall as early as running rake db:migrate: (in /home/tweisser/workspace/typo/typo) rake aborted! no such file to load -- spec/rake/spectask /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:31:in `gem_original_require''
2010 May 28
0
Rake Aborted! db:migrate
Hello, I am trying do a migrate of my database but I have problems, I write this in the console: [console] rake db:migrate [/console] And say me: [console] (in /home/distriker/Documentos/public_html/crf) !!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql. rake aborted! no such file to load -- mysql (See full trace by