Reply to topic
RedCloth: installed? code sample?
since1968


Joined: 23 Jun 2006
Posts: 13
Reply with quote
Is anyone using RedCloth in a Rails app? HMS support says that 3.0.4 is installed, but I don't see it in the list of gems when I run the following on ssh:

Code:
gem check --alien


And I can't get it to work in my app. This code:

Code:
RedCloth.new(@post.description).to_html


returns this error:

Code:
uninitialized constant RedCloth


EDIT: Apparently RedCloth was not installed on my server.
jstedman


Joined: 29 Apr 2006
Posts: 27
Location: Newark, DE
Reply with quote
Hey,

Sorry I'm late to the party in this thread... just doing a bit of late night browsing.

Although you can not install gems on your server, certain aspects of the gem command are still available, not the least being gem list and gem query, both of which are helpful to see what gems are currently installed and, with the --remote switch, what is out there. For the most part if the Gem isn't downloadable from one of the major repositories, we won't be able to install it. Please note that even if it IS available for download and installation from the major repositories, we may not necessarily be able to install it. This will mostly depend on server side prerequisites and the usage of the gem.

Quick example -- XML Parser, probably ok. Torrent downloader, probably not.

This is the same policy we keep for all major programming environments on our shared servers. If you have any questions, don't hesitate to contact support 24/7.
RedCloth: installed? code sample?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic