aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
Diffstat (limited to 'guides')
-rw-r--r--guides/CHANGELOG.md13
-rw-r--r--guides/rails_guides.rb2
-rw-r--r--guides/source/asset_pipeline.md2
3 files changed, 4 insertions, 13 deletions
diff --git a/guides/CHANGELOG.md b/guides/CHANGELOG.md
index b0e52847e1..766f7f6f56 100644
--- a/guides/CHANGELOG.md
+++ b/guides/CHANGELOG.md
@@ -1,12 +1,3 @@
-## Rails 4.0.0 (unreleased) ##
-* Change Service pages(404, etc). *Stanislav Sobolev*
+* No changes.
-## Rails 4.0.0.beta1 (unreleased) ##
-
-* Split Validations and Callbacks guide into two. *Steve Klabnik*
-
-* New guide _Working with JavaScript in Rails_. *Steve Klabnik*
-
-* Guides updated to reflect new test locations. *Mike Moore*
-
-* Guides have a responsive design. *Joe Fiorini*
+Please check [4-0-stable](https://github.com/rails/rails/blob/4-0-stable/guides/CHANGELOG.md) for previous changes.
diff --git a/guides/rails_guides.rb b/guides/rails_guides.rb
index ab890f202c..ce409868ca 100644
--- a/guides/rails_guides.rb
+++ b/guides/rails_guides.rb
@@ -22,7 +22,7 @@ end
begin
require 'redcarpet'
-rescue Gem::LoadError
+rescue LoadError
# This can happen if doc:guides is executed in an application.
$stderr.puts('Generating guides requires Redcarpet 2.1.1+.')
$stderr.puts(<<ERROR) if bundler?
diff --git a/guides/source/asset_pipeline.md b/guides/source/asset_pipeline.md
index 43df544e28..bc4b49dd38 100644
--- a/guides/source/asset_pipeline.md
+++ b/guides/source/asset_pipeline.md
@@ -416,7 +416,7 @@ You can call this task on the server during deployment to create compiled versio
The rake task is:
```bash
-$ bundle exec rake assets:precompile
+$ RAILS_ENV=production bundle exec rake assets:precompile
```
For faster asset precompiles, you can partially load your application by setting