"Running rake doc:guides will put a full copy of the Rails Guides in the doc/guides "

265 views
Skip to first unread message

sehrguey

unread,
May 29, 2012, 10:52:02 AM5/29/12
to Ruby on Rails: Documentation
dear co-grouppers,

The subject line quotes the famous Ruby on Rails Getting-Started Guide
(section 13 What’s Next?)
but my terminal responded with:
"rake aborted!
no such file to load -- redcloth".

What's up? Why did it happen to me? How to get through and live on?

yours`
sehrguey

Vijay Dev

unread,
May 29, 2012, 12:49:59 PM5/29/12
to rubyonra...@googlegroups.com
You need to install the RedCloth gem. http://redcloth.org/ 

Rafael Magaña

unread,
May 29, 2012, 6:38:20 PM5/29/12
to rubyonra...@googlegroups.com
sudo gem install redcloth

Rafael Magaña

unread,
May 30, 2012, 12:29:57 AM5/30/12
to rubyonra...@googlegroups.com
Sorry, it should be sudo gem install RedCloth

sehrguey ogoltsoff

unread,
Jun 4, 2012, 1:05:00 PM6/4/12
to rubyonra...@googlegroups.com
dear Rafael,

thank you for your help.
I install RedCloth 4.2.9. with a bunch of its gemDocs and other things and once again typed '

rake doc:guides

' into commandline just to see again that rake is aborted! 
When I ran the command with option '--trace' the terminal revealed requirement for 'redcloth' gem but that was not found in any repository.

What now, querido amigo?

yours`
sehrguey

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Documentation" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-docs/-/44SudSAEkn4J.

To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-do...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-docs?hl=en.

Rafael Magaña

unread,
Jun 4, 2012, 1:57:21 PM6/4/12
to rubyonra...@googlegroups.com
you have to specify the dependency in the application's Gemfile file then (just installing it doesn't require it), it should be something like this:

gem 'rails'
...
gem 'RedCloth'

after that do a 'bundle install', then run rake doc:guides again. it should work this time, if it doesn't then do this:

gem 'RedCloth', :require => 'redcloth'

See ya.
dear Rafael,
sehrguey


To post to this group, send email to rubyonrails-docs@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-docs+unsubscribe@googlegroups.com.

sehrguey ogoltsoff

unread,
Jun 5, 2012, 1:09:51 PM6/5/12
to rubyonra...@googlegroups.com
Rafael,
all worked as you predicted.
Thanks a lot.
You're da man.

yours`
sehrguey

To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-docs/-/5ogP9cTgANgJ.

To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-do...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages