# Problem moving from RedCloth 3.0.3 to 3.0.4

**URL:** <https://www.ruby-forum.com/t/problem-moving-from-redcloth-3-0-3-to-3-0-4/80398>\
**Category:** Rails\
**Created:** [December 25, 2006, 11:58pm UTC](https://www.ruby-forum.com/t/problem-moving-from-redcloth-3-0-3-to-3-0-4/80398 "2006-12-25T23:58:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mickey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ccd318/32.png) [@mickey](https://www.ruby-forum.com/u/mickey)\
**Post date:** [December 25, 2006, 11:58pm UTC](https://www.ruby-forum.com/t/problem-moving-from-redcloth-3-0-3-to-3-0-4/80398/1 "2006-12-25T23:58:39Z")

</div>

Hey all:

I’ve moved my application from my own computer to a Textdrive server,  
and in the process, switched from using RedCloth 3.0.3 to 3.0.4.  
Unfortunately, either the Redcloth version switch or the server  
switch has introduced a new problem: when I use the to\_html method,  
two consecutive newlines are no longer converted to paragraph tags.  
Instead, any number of newlines are converted to a single   
.

This problem didn’t exist on my own machine–as I expected, two  
consecutive newlines became paragraph tags.

Any ideas?

Thanks,  
Dave A.

---

<div class="post-metadata">

**Author:** ![mickey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ccd318/32.png) [@mickey](https://www.ruby-forum.com/u/mickey)\
**Post date:** [December 26, 2006, 1:08am UTC](https://www.ruby-forum.com/t/problem-moving-from-redcloth-3-0-3-to-3-0-4/80398/2 "2006-12-26T01:08:50Z")

</div>

rake rails:freeze:gems

…It will put all of your local gems in your /vendor directory, then  
you  
can upload that to Textdrive 🙂

On 12/25/06, David A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> This problem didn’t exist on my own machine–as I expected, two  
> consecutive newlines became paragraph tags.
> 
> Any ideas?
> 
> Thanks,  
> Dave A.
> 
> >

## –

## seth at subimage interactive

## [http://www.subimage.com](http://www.subimage.com) [http://sublog.subimage.com](http://sublog.subimage.com)

> **[Freelance Time Tracking Software — Online Invoice Software](https://cashboardapp.com/)**
>
> Freelance time tracking software, online invoice software & project management.
> Used by thousands worldwide since 2007. FREE trial.

[http://dev.subimage.com/projects/substruct](http://dev.subimage.com/projects/substruct)

---

<div class="post-metadata">

**Author:** ![mickey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ccd318/32.png) [@mickey](https://www.ruby-forum.com/u/mickey)\
**Post date:** [December 26, 2006, 1:08am UTC](https://www.ruby-forum.com/t/problem-moving-from-redcloth-3-0-3-to-3-0-4/80398/3 "2006-12-26T01:08:50Z")

</div>

Whoops, that’s only for rails. Anyhow - you could do something similar.  
CP  
redcloth to vendor/redcloth, then include it in your application from  
environment.rb.

On 12/25/06, subimage interactive [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > Any ideas?  
> > seth at subimage interactive
> 
> * * *
> 
> ## [http://www.subimage.com](http://www.subimage.com) [http://sublog.subimage.com](http://sublog.subimage.com)
> 
> [http://www.getcashboard.com](http://www.getcashboard.com)  
> [http://dev.subimage.com/projects/substruct](http://dev.subimage.com/projects/substruct)

## –

## seth at subimage interactive

## [http://www.subimage.com](http://www.subimage.com) [http://sublog.subimage.com](http://sublog.subimage.com)

> **[Freelance Time Tracking Software — Online Invoice Software](https://cashboardapp.com/)**
>
> Freelance time tracking software, online invoice software & project management.
> Used by thousands worldwide since 2007. FREE trial.

[http://dev.subimage.com/projects/substruct](http://dev.subimage.com/projects/substruct)

---

<div class="post-metadata">

**Author:** ![mickey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ccd318/32.png) [@mickey](https://www.ruby-forum.com/u/mickey)\
**Post date:** [December 26, 2006, 8:46pm UTC](https://www.ruby-forum.com/t/problem-moving-from-redcloth-3-0-3-to-3-0-4/80398/4 "2006-12-26T20:46:26Z")

</div>

Conrad T. wrote:

> Hey David, here’s a solution that you can perform after doing a
> 
> rake rails:freeze:gems
> 
> [http://nubyonrails.com/articles/2005/12/22/freeze-other-gems-to-rails-lib-directory](http://nubyonrails.com/articles/2005/12/22/freeze-other-gems-to-rails-lib-directory)

Thanks for your help, everyone–I took your suggestions, and was able  
to get it working.

Cheers,  
Dave

---

<div class="post-metadata">

**Author:** ![mickey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ccd318/32.png) [@mickey](https://www.ruby-forum.com/u/mickey)\
**Post date:** [December 26, 2006, 1:20am UTC](https://www.ruby-forum.com/t/problem-moving-from-redcloth-3-0-3-to-3-0-4/80398/5 "2006-12-26T01:20:52Z")

</div>

Hey David, here’s a solution that you can perform after doing a

rake rails:freeze:gems

[http://nubyonrails.com/articles/2005/12/22/freeze-other-gems-to-rails-lib-directory](http://nubyonrails.com/articles/2005/12/22/freeze-other-gems-to-rails-lib-directory)

Good luck,

-Conrad
