diff options
Diffstat (limited to 'railties/guides/rails_guides.rb')
-rw-r--r-- | railties/guides/rails_guides.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/guides/rails_guides.rb b/railties/guides/rails_guides.rb index 7617dff5a3..6da7de890e 100644 --- a/railties/guides/rails_guides.rb +++ b/railties/guides/rails_guides.rb @@ -3,12 +3,13 @@ $: << pwd $: << File.join(pwd, "../../activesupport/lib") $: << File.join(pwd, "../../actionpack/lib") +require "action_controller" require "action_view" # Require rubygems after loading Action View require 'rubygems' begin - gem 'RedCloth', '= 4.1.1'# Need exactly 4.1.1 + gem 'RedCloth', '>= 4.1.1'# Need exactly 4.1.1 rescue Gem::LoadError $stderr.puts %(Missing the RedCloth 4.1.1 gem.\nPlease `gem install -v=4.1.1 RedCloth` to generate the guides.) exit 1 |