Rails 3: guides.rubyonrails.org in PDF? [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
开发者_C百科Closed 6 years ago.
Improve this questionWhere to find Rails 3 guides in PDF to read offline?
Thanks
You can't get them in PDF, but you can get them in HTML form by running these commands:
git clone git://github.com/rails/rails.git
cd rails
git checkout origin/3-2-stable -b 3-2-stable
cd railties/guides
ruby rails_guides.rb
cd output
open index.html
When these commands have finished you should be in the railties/guides/output
folder which contains the HTML versions of the guides that were just generated with ruby rails_guides.rb
, and if you're on a decent operating system then you'll see the homepage in your default browser.
Here is its official release of mobi format:
http://guides.rubyonrails.org/kindle/ruby_on_rails_guides_v4.2.5.mobi
found at the sidebar on http://guides.rubyonrails.org/
I'm using rails 4 rc1, so the instructions provided by @ryan-bigg in the accepted answer where not working. I found the solution in the Ruby on Rails Guides Guideline:
git clone git://github.com/rails/rails.git
cd rails/guides
bundle install
bundle exec rake guides:generate:html
and now I have the HTML guides in the rails/guides/output folder.
I found them at http://ruby.kyoto-wu.ac.jp/RailsDocs/ (Ruby on Rails Guides (v4.2.0) as pdf or html)
Updated Answer: As of writing this, 4.0.2 is the most stable version.
git clone git://github.com/rails/rails.git
cd rails
bundle install
bundle exec rake guides:generate
Open rails/guides/output/index.html .
Download RAR file from here.
Enjoy Rails. Thanks.
If you are on Linux, you can download the entire contents of guides.rubyonrails.org with this simple single-line command:
wget -r -k -p -L guides.rubyonrails.org/
This will create a new folder guides.rubyonrails.org
in your current working directory and then save each page of the site locally. Works perfectly :)
http://pragprog.com/titles/rails4/agile-web-development-with-rails you need to buy this book.
or http://api.rubyonrails.org/ complete API guide.
or search google with this query "ruby rails tutorial + pdf" you will get lot of content most of them are in pdf form.
精彩评论