Hi, Is there a archive off http://api.rubyonrails.org/ so that I can view it without net access? Kind Regards, Herbert _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
On Friday 16 December 2005 17:00, Herbert Groot Jebbink wrote:> Hi, > > Is there a archive off http://api.rubyonrails.org/ so that I can view it > without net access? > > Kind Regards, HerbertRun "gem_server": it will start WEBrick on the port 8808 with the documentation of all the installed gems. Then point your browser to http://localhost:8808 Good luck, Francois
Hello, Hmmm... the rails gem doesn''t install it''s docs automaticaly. So I''ve just tried the following on Linux (should be similar steps on windows): 1) go the the installation directory of the rails gem: /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0 2) as root, say "rake rdoc", this will create the doc directory with the html files 3) go to the directory /usr/local/lib/ruby/gems/1.8/doc 4) create the directory ''rails-1.0.0'' (mkdir rails-1.0.0) 5) inside /usr/local/lib/ruby/gems/1.8/doc/rails-1.0.0, "mkdir rdoc" 6) copy / move all the files generated at step 2 to that directory: mv /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/* rdoc Pfff... now on the page http://localhost:8808 the "rdoc" link works for rails... Hope that it helps. Francois On Friday 16 December 2005 17:12, Herbert Groot Jebbink wrote:> thanks, one of the Ruby goodies, > > however the rdoc link for rails is not active on that page, can I generate > it? > > hgj > > 2005/12/16, Francois GORET <fg-raIlHK/KE0IagCBP5wnx4wC/G2K4zDHf@public.gmane.org>: > > On Friday 16 December 2005 17:00, Herbert Groot Jebbink wrote: > > > Hi, > > > > > > Is there a archive off http://api.rubyonrails.org/ so that I can view > > > it without net access? > > > > > > Kind Regards, Herbert > > > > Run "gem_server": it will start WEBrick on the port 8808 with the > > documentation of all the installed gems. Then point your browser to > > http://localhost:8808 > > > > Good luck, > > > > Francois
2.12 gem rdoc -- Generate the RDoc files for an installed gem http://docs.rubygems.org/read/chapter/10#page95 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Hi Dan, On Friday 16 December 2005 17:53, Dan Diebolt wrote:> 2.12 gem rdoc -- Generate the RDoc files for an installed gem > http://docs.rubygems.org/read/chapter/10#page95Yes, this works with all the gems I have (activerecord...) except rails. In other words "gem rdoc rails" doesn''t do anything and returns immediately. Francois
As alternative: there is a plugin for firefox: http://www.martincohen.info/products/devboi/ see "addon packs". Regards, Beate
Francois GORET <fg@...> writes:> > Hi Dan, > > On Friday 16 December 2005 17:53, Dan Diebolt wrote: > > 2.12 gem rdoc -- Generate the RDoc files for an installed gem > > http://docs.rubygems.org/read/chapter/10#page95 > > Yes, this works with all the gems I have (activerecord...) except rails. In > other words "gem rdoc rails" doesn''t do anything and returns immediately. > > Francois >hi i have exactly the same problem (on osx/opendarwin/rails-1.0.0). i think there is something missing in the rails-1.0.0.gemspec: $ grep -c -r ./ -e has_rdoc ./actionmailer-1.1.5.gemspec:1 ./actionpack-1.11.2.gemspec:1 ./actionwebservice-1.0.0.gemspec:1 ./activerecord-1.13.2.gemspec:1 ./activesupport-1.2.5.gemspec:1 ./fcgi-0.8.6.1.gemspec:1 ./rails-1.0.0.gemspec:0 ./rake-0.6.2.gemspec:1 ./sources-0.0.1.gemspec:0 ./sqlite3-ruby-1.1.0.gemspec:1 i added "s.has_rdoc = true" to rails-1.0.0.gemspec and rerun "gem rdoc rails", now i have exactly one file in the rdoc dir: /opt/local/lib/ruby/gems/1.8/doc/rails-1.0.0/rdoc/created.rid could please someone shed some light on what else is missing in the gemspec file: Gem::Specification.new do |s| s.name = %q{rails} s.version = "1.0.0" s.date = %q{2005-12-13} s.summary = %q{Web-application framework with template engine, control-flow layer, and ORM.} s.email = %q{david-OiTZALl8rpK0mm7Ywyx6yg@public.gmane.org} s.homepage = %q{http://www.rubyonrails.org} s.rubyforge_project = %q{rails} s.description = %q{Rails is a framework for building web-application using CGI, FCGI, mod_ruby, or WEBrick on top of either MySQL, PostgreSQL, SQLite, DB2, SQL Server, or Oracle with eRuby- or Builder- based templates.} s.default_executable = %q{rails} s.authors = ["David Heinemeier Hansson"] s.files = ["bin", ...] s.rdoc_options = ["--exclude", "."] s.executables = ["rails"] s.add_dependency(%q<rake>, [">= 0.6.2"]) s.add_dependency(%q<activesupport>, ["= 1.2.5"]) s.add_dependency(%q<activerecord>, ["= 1.13.2"]) s.add_dependency(%q<actionpack>, ["= 1.11.2"]) s.add_dependency(%q<actionmailer>, ["= 1.1.5"]) s.add_dependency(%q<actionwebservice>, ["= 1.0.0"]) end
You will find a a copy of the Rails api, bundled for offline enjoyment, at http://rubynow.com/rails_api.tar.bz2 I hope it helps. s. On 12/16/05, Herbert Groot Jebbink <herbert.groot.jebbink-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi, > > Is there a archive off http://api.rubyonrails.org/ so that I can view it > without net access? > > Kind Regards, Herbert > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails