[Radiant] Problem with Radiant CMS Upgrade

2012-06-20 Thread piotr

Hi,
I want to upgrade a Radiant CMS from version 0.8.0 to a new - 1.0.
I put a gem update radiant command like in manual, however at the end 
of script, I have some warning and errors like below:


WARNING:  Invalid .gemspec format in 
'/home/targi/www/.ruby/gems/1.8/specifications/radiant-1.0.1.gemspec'

Updating installed gems
Updating radiant-clipped-extension
ERROR:  While executing gem ... (NoMethodError)
undefined method `call' for nil:NilClass

Could you please let me know what's wrong with it? I'm new with Radiant 
so please be patient :).


Second case is lack of RADIANT_GEM_VERSION constant in my 
config/environment.rb - what should I do with it? Add it to this file 
manually?


regards!

Piotr


Re: [Radiant] Problem with Radiant CMS Upgrade

2012-06-20 Thread Jim Gay
Did you follow these instructions? https://gist.github.com/1540782

On Wed, Jun 20, 2012 at 7:00 AM,  pi...@gniezno.net.pl wrote:
 Hi,
 I want to upgrade a Radiant CMS from version 0.8.0 to a new - 1.0.
 I put a gem update radiant command like in manual, however at the end of
 script, I have some warning and errors like below:

 WARNING:  Invalid .gemspec format in
 '/home/targi/www/.ruby/gems/1.8/specifications/radiant-1.0.1.gemspec'
 Updating installed gems
 Updating radiant-clipped-extension
 ERROR:  While executing gem ... (NoMethodError)
    undefined method `call' for nil:NilClass

 Could you please let me know what's wrong with it? I'm new with Radiant so
 please be patient :).

 Second case is lack of RADIANT_GEM_VERSION constant in my
 config/environment.rb - what should I do with it? Add it to this file
 manually?

 regards!

 Piotr



-- 
Write intention revealing code #= http://www.clean-ruby.com

Jim Gay
Saturn Flyer LLC
571-403-0338


Re: [Radiant] malformatted comment rendering with radiant-comments extension

2012-06-20 Thread Jim Gay
On Wed, Jun 20, 2012 at 7:06 AM, Eren Gölge erengo...@gmail.com wrote:
 I try to render my entered comments but it write it on in very silly format
 like:

 [\r\n \r\n
 \r\n

 \r\n \r\n Eren said on Wednesday, June 20, 2012:\r\n

 \r\n

 sdfwfwefwf

 \r\n \r\n
 \r\n\r\n , \r\n \r\n
 \r\n

 \r\n \r\n asdad said on Wednesday, June 20, 2012:\r\n

 \r\n

 asdasda

 \r\n \r\n
 \r\n\r\n , \r\n \r\n
 \r\n

 \r\n \r\n asdad said on Wednesday, June 20, 2012:\r\n

 \r\n

 asdasda

 \r\n \r\n
 \r\n\r\n , \r\n \r\n
 \r\n

 \r\n \r\n adad said on Wednesday, June 20, 2012:\r\n

 \r\n

 daadasdasd

 \r\n \r\n
 \r\n\r\n ]

 this is what actually seem on my page. What is the problem behind it, any
 idea?

 This is what I use for rendering.

 r:comments:field
   div class=comment id=comment-r:id/
     p class=author
       r:if_author_urla href=r:author_url/ title=Visit r:author/'s
 website/r:if_author_url
       r:author/r:if_author_url/a/r:if_author_urlsaid on r:date/:
     /p
     div class=content_htmlr:content_html //div
     r:if_selectedpem
       r:if_approvedThanks for your comment!/r:if_approved
       r:unless_approvedThanks for your comment, it has gone into the
 moderation queue and will be dealt with shortly./r:unless_approved
     /em/p/r:if_selected
   /div
 /r:comments:field


My guess is that the indentation in your radius code is being
processes by markdown or textile in some other area. Is this placed on
a page or layout where a filter is being applied?

-Jim


-- 
Write intention revealing code #= http://www.clean-ruby.com

Jim Gay
Saturn Flyer LLC
571-403-0338


Re: [Radiant] Re: Radient CMS support which Rails version

2012-06-20 Thread Jim Gay
Rails 2.3.14 is supported.

We're in the process of moving to support Rails 3

On Tue, Jun 19, 2012 at 5:38 PM, goodluckpaul goodluckp...@gmail.com wrote:
 Hello there, I have no idea, I'm also new to ruby, rails and radiant, but
 take a look here:

 http://rubygems.org/gems/radiant

 I think this page lists the versions radiant needs?!

 Best,
 Paul



 On Friday, June 8, 2012 7:37:28 AM UTC+2, Mandy wrote:

 Which Rails version is supported by latest version of Radiant CMS ?



-- 
Write intention revealing code #= http://www.clean-ruby.com

Jim Gay
Saturn Flyer LLC
571-403-0338


[Radiant] problem with Radioant CMS upgrade

2012-06-20 Thread piotr

Hi,
I want to upgrade a Radiant CMS from version 0.8.0 to a new - 1.0.
I put a gem update radiant command like in manual, however at the end 
of script, I have some warning and errors like below:


WARNING:  Invalid .gemspec format in 
'/home/targi/www/.ruby/gems/1.8/specifications/radiant-1.0.1.gemspec'

Updating installed gems
Updating radiant-clipped-extension
ERROR:  While executing gem ... (NoMethodError)
undefined method `call' for nil:NilClass

Could you please let me know what's wrong with it? I'm new with Radiant 
so please be patient :).


Second case is lack of RADIANT_GEM_VERSION constant in my 
config/environment.rb - what should I do with it? Add it to this file 
manually?


regards!

Piotr