From 53cd102b39eb62567298430cbd94e40dd78d46a0 Mon Sep 17 00:00:00 2001 From: Pratik Naik Date: Tue, 24 Feb 2009 12:29:25 +0000 Subject: Merge with docrails --- railties/guides/rails_guides.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'railties/guides/rails_guides.rb') 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 -- cgit v1.2.3