librelist archives

« back to archive

Redcarpet built into Shoes: Two questions

Redcarpet built into Shoes: Two questions

From:
Dan Bernier
Date:
2011-10-25 @ 02:27
Ok! Good news: locally, I have Redcarpet 2 built into Shoes - I can
rake in Shoes, and run shoes h-ety-h.rb on the markdown-lessons
branch, and see all the markdown-y lessons rendered. :)

But, uncertainty:
1. I'm not sure I installed Redcarpet correctly - I basically gem
installed it, and copied the files into req/redcarpet. Er?
2. Why is req/* in the .gitignore? How do I get the redcarpet files
added to the repo?

Thanks!

-- 
twitter @danbernier
http://wordcram.org

Re: [hacketyhack] Redcarpet built into Shoes: Two questions

From:
Steve Klabnik
Date:
2011-10-25 @ 02:39
> But, uncertainty:
> 1. I'm not sure I installed Redcarpet correctly - I basically gem
> installed it, and copied the files into req/redcarpet. Er?

That should be fine. I mean, it should be the same as adding the code
any other way...

> 2. Why is req/* in the .gitignore? How do I get the redcarpet files
> added to the repo?

I think that this is an overzealous .gitignore. I think it's because
files that are compiled, maybe? They shouldn't be in the repo? Not
100% sure, to be honest.

Re: [hacketyhack] Redcarpet built into Shoes: Two questions

From:
Dan Bernier
Date:
2011-10-25 @ 02:41
On Mon, Oct 24, 2011 at 10:39 PM, Steve Klabnik <steve@steveklabnik.com> wrote:
>> But, uncertainty:
>> 1. I'm not sure I installed Redcarpet correctly - I basically gem
>> installed it, and copied the files into req/redcarpet. Er?
>
> That should be fine. I mean, it should be the same as adding the code
> any other way...
>
>> 2. Why is req/* in the .gitignore? How do I get the redcarpet files
>> added to the repo?
>
> I think that this is an overzealous .gitignore. I think it's because
> files that are compiled, maybe? They shouldn't be in the repo? Not
> 100% sure, to be honest.

Overzealous software! :) Ok, I'll take that out of the .gitignore, git
add, commit, push, & issue a pull request to Shoes - let me know how
it looks.