Re: [Radiant] Redcloth problem

2009-08-13 Thread Gus Gollings
On Thu, Aug 13, 2009 at 10:34 PM, John Pollingj...@theusualsuspect.com wrote:
 I'm currently trying to install radiant on my media temple (gs) setup and I
 can't get the container to run. I've checked the mongrel log and I'm getting
 a message saying RedCloth is not a class. The version of RedCloth running is
 4.2.2. Has anyone got any ideas?

Most odd. Something I'm not sure will help you; Radiant has its own
version of redcloth ('3.0.4') which you can see with:

 `rake radiant:freeze:gems`
 `cd vendor/radiant/vendor/redcloth`

If you want to test with your installed redcloth gem (4.2.2), I think
you can just delete the redcloth folder from the frozen Radiant vendor
directory.

(Or does Radiant look for the gem before using its own version?)

When you want to go back to vanilla Radiant you can:

  `rake radiant:unfreeze`

...apologies if you already know all this :^)

Regards,

Gus
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Redcloth problem

2009-08-13 Thread Jeff Casimir
I've had problems with RedCloth before and, if I recall correctly,
they were with the capitalization.  Try using gem.require with
redcloth and RedCloth -- see if that gets you anywhere.

- Jeff

---
Jeff Casimir
Jumpstart Lab by Casimir Creative, LLC
http://jumpstartlab.com
@jumpstartlab on twitter
Rails Jumpstart - Aug 1516 - Beginning Web Application Development
JavaScript Jumpstart - Sep 12 - Intermediate Javascript Programming  UI
Robotics Jumpstart - Sep 13 - Intro to Robotics with Lego Mindstorms NXT



On Thu, Aug 13, 2009 at 8:56 AM, Gus Gollingsgus.golli...@gmail.com wrote:
 On Thu, Aug 13, 2009 at 10:34 PM, John Pollingj...@theusualsuspect.com 
 wrote:
 I'm currently trying to install radiant on my media temple (gs) setup and I
 can't get the container to run. I've checked the mongrel log and I'm getting
 a message saying RedCloth is not a class. The version of RedCloth running is
 4.2.2. Has anyone got any ideas?

 Most odd. Something I'm not sure will help you; Radiant has its own
 version of redcloth ('3.0.4') which you can see with:

  `rake radiant:freeze:gems`
  `cd vendor/radiant/vendor/redcloth`

 If you want to test with your installed redcloth gem (4.2.2), I think
 you can just delete the redcloth folder from the frozen Radiant vendor
 directory.

 (Or does Radiant look for the gem before using its own version?)

 When you want to go back to vanilla Radiant you can:

  `rake radiant:unfreeze`

 ...apologies if you already know all this :^)

 Regards,

 Gus
 ___
 Radiant mailing list
 Post:   Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Redcloth problem

2009-08-13 Thread Sean Cribbs
Radiant tries to load RedCloth from the gem first, and will issue a 
warning when using the packaged version.


Sean

Gus Gollings wrote:

On Thu, Aug 13, 2009 at 10:34 PM, John Pollingj...@theusualsuspect.com wrote:
  

I'm currently trying to install radiant on my media temple (gs) setup and I
can't get the container to run. I've checked the mongrel log and I'm getting
a message saying RedCloth is not a class. The version of RedCloth running is
4.2.2. Has anyone got any ideas?



Most odd. Something I'm not sure will help you; Radiant has its own
version of redcloth ('3.0.4') which you can see with:

 `rake radiant:freeze:gems`
 `cd vendor/radiant/vendor/redcloth`

If you want to test with your installed redcloth gem (4.2.2), I think
you can just delete the redcloth folder from the frozen Radiant vendor
directory.

(Or does Radiant look for the gem before using its own version?)

When you want to go back to vanilla Radiant you can:

  `rake radiant:unfreeze`

...apologies if you already know all this :^)

Regards,

Gus
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

  


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Radiant Instalation Help...

2009-08-13 Thread Jeff Casimir
Jason,

Since you have Rails installed, try generating a sample application
and booting the server.  If that works, trying requiring a typical gem
(like will-paginate) and see if the app still works.

That might give us clues whether the problem is somehow with your
radiant config or with your whole environment.

- Jeff

---
Jeff Casimir
Jumpstart Lab by Casimir Creative, LLC
http://jumpstartlab.com
@jumpstartlab on twitter
Rails Jumpstart - Aug 1516 - Beginning Web Application Development
JavaScript Jumpstart - Sep 12 - Intermediate Javascript Programming  UI
Robotics Jumpstart - Sep 13 - Intro to Robotics with Lego Mindstorms NXT



On Wed, Aug 12, 2009 at 8:24 PM, Jason Brayradiant...@jaybray.com wrote:
 Jim,

 Thanks for the urb clarification...  When I check my version it kicks back
 1.3.5... which I think is the latest version...



 --
 Jason Bray
 --


 On Tue, Aug 11, 2009 at 8:29 PM, Jim Gay j...@saturnflyer.com wrote:

 Jason,

 Open a Terminal window and type: irb
 That's irb. (Type exit or quit end it)
 script/console is similar, but it does it within the Rails environment for
 your application.

 Going back to Jeff's original request:

  run gem -v, what do you get back?


 Have you opened a Terminal and typed: gem -v

 If it doesn't say 1.3.1, try this
 http://blog.libinpan.com/2008/04/update-rubygems-to-new-version-on-leopard/

 -Jim


 On Aug 11, 2009, at 8:18 PM, Jason Bray wrote:

  Jeff,

 Sorry it took me awhile to check on your suggestions...

 My RubyGem version is: 1.3.5

 I wasn't sure what irb was so I went diggin' through one of my ROR
 books...  you get irb running via script/console... when I run that I get
 this message:

 /Users/jaybray/Sites/example/config/boot.rb:138:in `load_rubygems':

 undefined method `=' for nil:NilClass (NoMethodError)
   from /Users/jaybray/Sites/example/config/boot.rb:100:in
 `load_initializer'
   from /Users/jaybray/Sites/example/config/boot.rb:61:in `run'
   from /Users/jaybray/Sites/example/config/boot.rb:19:in `boot!'
   from /Users/jaybray/Sites/example/config/boot.rb:161:in `top
 (required)'
   from script/console:2:in `require'
   from script/console:2:in `main'


 I also tried running script/console --sandbox which didn't change
 anything.
 My other Rails apps I've built for the purposes of learning have worked
 fine.  For some reason Radiant is being cranky.

 Again, I appreciate your time and effort...

 --
 Jason Bray
 --


 On Fri, Aug 7, 2009 at 8:18 AM, Jeff Casimir j...@casimircreative.com
 wrote:

  Jason,

 Well, those are good steps that you've taken.

 I'm looking at my boot.rb file and the load_rubygems method.  It
 looks to me like the issue is with your RubyGems.  If you're at the
 command line and run gem -v, what do you get back?  It should be
 something like 1.3.1.

 Next, fire up irb and enter this line:




 It should spit back 1.3.1.  Let me know what it says if different.

 If you want to try just disabling the check that's creating the error,
 change line 139 from unless rubygems_version = '0.9.4' to unless
 false and try to start it up.

 - Jeff

 ---
 Jeff Casimir
 Jumpstart Lab by Casimir Creative, LLC
 http://jumpstartlab.com
 @jumpstartlab on twitter
 Rails Jumpstart - Aug 1516 - Beginning Web Application Development
 JavaScript Jumpstart - Sep 12 - Intermediate Javascript Programming  UI
 Robotics Jumpstart - Sep 13 - Intro to Robotics with Lego Mindstorms NXT



 On Thu, Aug 6, 2009 at 9:16 PM, Jason Brayradiant...@jaybray.com
 wrote:

 Jeff,

 Thanks for the advice.  I am not using the built-in Ruby.  I rolled my

 own

 using the Hivelogic instructions for Leopard.  I did double check to
 make
 sure everything was updated properly and everything appears to be.  I
 started the Radiant install again from the beginning, made it all the
 way
 through until running script/server and error message.

 I'm not sure how installing Enterprise Ruby will help so I may not try

 that

 yet.  I'm sure the main error here is btwn the chair and keyboard.  My
 inexperience with this framework is likely the root.  I'll probably put
 Radiant on the back burner for awhile until I have a better grasp of

 Rails.


 I just wanted to say thanks.

 --
 Jason Bray
 --


 On Thu, Aug 6, 2009 at 9:44 AM, Jeff Casimir j...@casimircreative.com
 wrote:

  Jason,

 Are you using Leopard's built-in Ruby distribution?  I remember there
 being some complications there.  You might try to update your version
 of gems (sudo gem update --system) and all your gems (sudo gem
 update).  If that doesn't get you anywhere, you might consider
 installing a newer version of ruby like Ruby Enterprise Edition:
 http://www.rubyenterpriseedition.com/

 - Jeff

 ---
 Jeff Casimir
 Jumpstart Lab by Casimir Creative, LLC
 http://jumpstartlab.com
 @jumpstartlab on twitter
 Rails Jumpstart - Aug 1516 - Beginning Web Application Development
 JavaScript Jumpstart - Sep 12 - Intermediate Javascript Programming 
 UI
 Robotics Jumpstart - Sep 13 - Intro to Robotics 

Re: [Radiant] Redcloth problem

2009-08-13 Thread John Polling
Thanks for the advice Jeff. Changing the require to Redcloth did the  
trick.


Guessing when it couldn't find the packaged version it went for the  
server installed gem and disliked the version.


All running happily now!

On Aug 13, 2009, at 14:12, Jeff Casimir j...@casimircreative.com  
wrote:



I've had problems with RedCloth before and, if I recall correctly,
they were with the capitalization.  Try using gem.require with
redcloth and RedCloth -- see if that gets you anywhere.

- Jeff

---
Jeff Casimir
Jumpstart Lab by Casimir Creative, LLC
http://jumpstartlab.com
@jumpstartlab on twitter
Rails Jumpstart - Aug 1516 - Beginning Web Application Development
JavaScript Jumpstart - Sep 12 - Intermediate Javascript Programming  
 UI
Robotics Jumpstart - Sep 13 - Intro to Robotics with Lego Mindstorms  
NXT




On Thu, Aug 13, 2009 at 8:56 AM, Gus  
Gollingsgus.golli...@gmail.com wrote:
On Thu, Aug 13, 2009 at 10:34 PM, John Pollingj...@theusualsuspect.com 
 wrote:
I'm currently trying to install radiant on my media temple (gs)  
setup and I
can't get the container to run. I've checked the mongrel log and  
I'm getting
a message saying RedCloth is not a class. The version of RedCloth  
running is

4.2.2. Has anyone got any ideas?


Most odd. Something I'm not sure will help you; Radiant has its own
version of redcloth ('3.0.4') which you can see with:

 `rake radiant:freeze:gems`
 `cd vendor/radiant/vendor/redcloth`

If you want to test with your installed redcloth gem (4.2.2), I think
you can just delete the redcloth folder from the frozen Radiant  
vendor

directory.

(Or does Radiant look for the gem before using its own version?)

When you want to go back to vanilla Radiant you can:

 `rake radiant:unfreeze`

...apologies if you already know all this :^)

Regards,

Gus
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] installing radiant on top of an existing Rails app

2009-08-13 Thread Balint Erdi

Hi,

I've just started out with Radiant and it really like it.

The wikis give ample information there is only one thing I have not  
found any information on: how-to install Radiant on an already  
existing Rails application? That is, how to convert a non-CMS site  
into a CMS one with Radiant.


Also, at first glance, Radiant seems to be taking over the Rails app.  
I mean, I create the Radiant stub with the radiant command but what  
if I later want to add non-CMS functionality to my app? Like a CMS  
site that's also a webshop, for example, and the web shop has business  
logic which I do not want to implement in Radiant.


I could be wrong on both of these accounts, though :)

Any pointers are welcome,
Bálint___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Comments Extension and Notifications

2009-08-13 Thread subsorama

Hi,

Firstly thanks to all those who developed this extension, it seems  
like quite a roll call.


Is this feature supported? I can see in TODO a note about stating that  
something similar is pending, but a quick glance through the code  
suggests it is in place.


If it isn't implemented is it possible to auto approve comments that  
pass the simple spam test?


Thanks ,

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Comments Extension and Notifications

2009-08-13 Thread john muhl
you can set `Radiant::Config['comments.auto_approve'] = true` through
the console, your environment or the settings extension and it will
auto-approve comments.

On Thu, Aug 13, 2009 at 12:02 PM, subsor...@gmail.com wrote:
 Hi,

 Firstly thanks to all those who developed this extension, it seems like
 quite a roll call.

 Is this feature supported? I can see in TODO a note about stating that
 something similar is pending, but a quick glance through the code suggests
 it is in place.

 If it isn't implemented is it possible to auto approve comments that pass
 the simple spam test?

 Thanks ,

 ___
 Radiant mailing list
 Post:   Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Comments Extension and Notifications

2009-08-13 Thread subsor...@gmail.com
That seems to work great, thanks for the super quick reply. Is this
compatible with the aski/mollum spam filtering?

2009/8/13 john muhl johnm...@gmail.com

 you can set `Radiant::Config['comments.auto_approve'] = true` through
 the console, your environment or the settings extension and it will
 auto-approve comments.

 On Thu, Aug 13, 2009 at 12:02 PM, subsor...@gmail.com wrote:
  Hi,
 
  Firstly thanks to all those who developed this extension, it seems like
  quite a roll call.
 
  Is this feature supported? I can see in TODO a note about stating that
  something similar is pending, but a quick glance through the code
 suggests
  it is in place.
 
  If it isn't implemented is it possible to auto approve comments that pass
  the simple spam test?
 
  Thanks ,
 
  ___
  Radiant mailing list
  Post:   Radiant@radiantcms.org
  Search: http://radiantcms.org/mailing-list/search/
  Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
 
 ___
 Radiant mailing list
 Post:   Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Comments Extension and Notifications

2009-08-13 Thread Jim Gay
Yes. Although I use neither.
I was working hard on cleaning up the code a while ago but had to put
it aside. I'll be doing more work on the codebase to make things
clearer, and word on the street is that Sean Cribbs may be updating
the Comments extension with some other stuff too.

If you have any more questions, post 'em here. If you fix any bugs,
send 'em to the github saturnflyer user.

-Jim

Jim Gay
http://www.saturnflyer.com

On Thu, Aug 13, 2009 at 3:09 PM, subsor...@gmail.comsubsor...@gmail.com wrote:
 That seems to work great, thanks for the super quick reply. Is this
 compatible with the aski/mollum spam filtering?

 2009/8/13 john muhl johnm...@gmail.com

 you can set `Radiant::Config['comments.auto_approve'] = true` through
 the console, your environment or the settings extension and it will
 auto-approve comments.

 On Thu, Aug 13, 2009 at 12:02 PM, subsor...@gmail.com wrote:
  Hi,
 
  Firstly thanks to all those who developed this extension, it seems like
  quite a roll call.
 
  Is this feature supported? I can see in TODO a note about stating that
  something similar is pending, but a quick glance through the code
 suggests
  it is in place.
 
  If it isn't implemented is it possible to auto approve comments that pass
  the simple spam test?
 
  Thanks ,
 
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant