Re: [Radiant] error after install
Michael Kessler wrote: Good idea Mohit I added this page to the wiki: http://wiki.radiantcms.org/undefined_method_for_enumerable It would be nice if a native English speaking person will have a look at it, just to keep the quality high ;-) Michael done! Cheers, Mohit. 12/14/2008 | 1:06 AM. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] error after install
Michael Kessler wrote: Good idea Mohit I added this page to the wiki: http://wiki.radiantcms.org/undefined_method_for_enumerable It would be nice if a native English speaking person will have a look at it, just to keep the quality high ;-) Michael I will attend to this, hopefully very very soon! Cheers, Mohit. 12/14/2008 | 12:25 AM. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] error after install
Good idea Mohit I added this page to the wiki: http://wiki.radiantcms.org/undefined_method_for_enumerable It would be nice if a native English speaking person will have a look at it, just to keep the quality high ;-) Michael On 13 Dec 2008, at 2:03 AM, Mohit Sindhwani wrote: Robert Calco wrote: Adding this to environment.rb before the Radiant::Initializer.run do line makes it work on 1.8.7: unless '1.9'.respond_to?(:force_encoding) String.class_eval do begin remove_method :chars rescue NameError # OK end end end I don't remember who gave me that from this list but whoever it was, thank you again! - Bob Hi! A request but could someone please add this to the Reboot wiki as a frequently asked question. With 1.8.7 becoming more common, this will be asked more frequently. The wiki is at: http://wiki.radiantcms.org/Summer_Reboot A sample FAQ that you could use as a base is: http://wiki.radiantcms.org/Intermittent_Errors_with_SQLite_on_Windows Thanks Mohit. ___ 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] error after install
Robert Calco wrote: Adding this to environment.rb before the Radiant::Initializer.run do line makes it work on 1.8.7: unless '1.9'.respond_to?(:force_encoding) String.class_eval do begin remove_method :chars rescue NameError # OK end end end I don't remember who gave me that from this list but whoever it was, thank you again! - Bob Hi! A request but could someone please add this to the Reboot wiki as a frequently asked question. With 1.8.7 becoming more common, this will be asked more frequently. The wiki is at: http://wiki.radiantcms.org/Summer_Reboot A sample FAQ that you could use as a base is: http://wiki.radiantcms.org/Intermittent_Errors_with_SQLite_on_Windows Thanks Mohit. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] error after install
thank you for your quick reply. i added the suggested code, and it worked! Jason On Fri, Dec 12, 2008 at 1:48 PM, Robert Calco wrote: > Adding this to environment.rb before the Radiant::Initializer.run do line > makes it work on 1.8.7: > > unless '1.9'.respond_to?(:force_encoding) > String.class_eval do > begin > remove_method :chars > rescue NameError > # OK > end > end > end > > I don't remember who gave me that from this list but whoever it was, thank > you again! > > - Bob > > On Fri, Dec 12, 2008 at 2:33 PM, jason white wrote: > > > thank you for the quick reply. i will try and reinstall it later, and use > > Ruby 1.8.6 > > > > Thanks, > > Jason > > > > On Fri, Dec 12, 2008 at 1:24 PM, Sean Cribbs > wrote: > > > > > Radiant is still incompatible with Ruby 1.8.7. There might have been a > > fix > > > posted on the mailing list, but I'm not certain. > > > > > > Sean > > > > > > jason white wrote: > > > > > >> Hello All, > > >>i have just installed Radiant, and ran script/server. I can login > to > > >> the > > >> admin section with no problems, but when i go to the site at > > >> localhost:3000 > > >> i get the error listed below. i searched the previous posts, but have > > not > > >> found any resolution to the problem. > > >> > > >> NoMethodError in SiteController#show_page > > >> > > >> undefined method `[]' for # > > >> > > >> RAILS_ROOT: /home/jason/development/radiant > > >> > > >> > > >> > > >> thank you, > > >> Jason > > >> ___ > > >> 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 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] error after install
Adding this to environment.rb before the Radiant::Initializer.run do line makes it work on 1.8.7: unless '1.9'.respond_to?(:force_encoding) String.class_eval do begin remove_method :chars rescue NameError # OK end end end I don't remember who gave me that from this list but whoever it was, thank you again! - Bob On Fri, Dec 12, 2008 at 2:33 PM, jason white wrote: > thank you for the quick reply. i will try and reinstall it later, and use > Ruby 1.8.6 > > Thanks, > Jason > > On Fri, Dec 12, 2008 at 1:24 PM, Sean Cribbs wrote: > > > Radiant is still incompatible with Ruby 1.8.7. There might have been a > fix > > posted on the mailing list, but I'm not certain. > > > > Sean > > > > jason white wrote: > > > >> Hello All, > >>i have just installed Radiant, and ran script/server. I can login to > >> the > >> admin section with no problems, but when i go to the site at > >> localhost:3000 > >> i get the error listed below. i searched the previous posts, but have > not > >> found any resolution to the problem. > >> > >> NoMethodError in SiteController#show_page > >> > >> undefined method `[]' for # > >> > >> RAILS_ROOT: /home/jason/development/radiant > >> > >> > >> > >> thank you, > >> Jason > >> ___ > >> 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 mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] error after install
thank you for the quick reply. i will try and reinstall it later, and use Ruby 1.8.6 Thanks, Jason On Fri, Dec 12, 2008 at 1:24 PM, Sean Cribbs wrote: > Radiant is still incompatible with Ruby 1.8.7. There might have been a fix > posted on the mailing list, but I'm not certain. > > Sean > > jason white wrote: > >> Hello All, >>i have just installed Radiant, and ran script/server. I can login to >> the >> admin section with no problems, but when i go to the site at >> localhost:3000 >> i get the error listed below. i searched the previous posts, but have not >> found any resolution to the problem. >> >> NoMethodError in SiteController#show_page >> >> undefined method `[]' for # >> >> RAILS_ROOT: /home/jason/development/radiant >> >> >> >> thank you, >> Jason >> ___ >> 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] error after install
Radiant is still incompatible with Ruby 1.8.7. There might have been a fix posted on the mailing list, but I'm not certain. Sean jason white wrote: Hello All, i have just installed Radiant, and ran script/server. I can login to the admin section with no problems, but when i go to the site at localhost:3000 i get the error listed below. i searched the previous posts, but have not found any resolution to the problem. NoMethodError in SiteController#show_page undefined method `[]' for # RAILS_ROOT: /home/jason/development/radiant thank you, Jason ___ 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