Can anyone help installing Radiant - I have tried gems and subversion on site5 with no luck. I am following the installation guide to the letter -http://dev.radiantcms.org/radiant/wiki/Installation - but only get three steps in before hitting a problem when unpacking radiant...
-bash-3.00$ radiant --database mysql radiant60 -bash: radiant: command not found Where am I going wrong?? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 06 May 2007 13:01 To: radiant@lists.radiantcms.org Subject: Radiant Digest, Vol 14, Issue 8 Send Radiant mailing list submissions to radiant@lists.radiantcms.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.radiantcms.org/mailman/listinfo/radiant or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of Radiant digest..." Today's Topics: 1. Re: Error when testing extensions (Sean Cribbs) 2. Re: Problem installing radiant 0.6.0 (Sean Cribbs) 3. Re: Error when testing extensions (Leon Yeh) 4. Re: Error when testing extensions ( Mislav Marohni? ) 5. [ANN] Radiant CMS 0.6.1 - Stone Cutter (Security Update) (John W. Long) 6. How to add additional routes without touching radiant routes.rb (Leon Yeh) 7. Re: Upgrading radiant .5 to .6 (Hans de Graaff) 8. Re: Error when testing extensions (Erik van Oosten) 9. Re: Style Sheet Unavailable on Radiant Mental (Gustaf Lindqvist) ---------------------------------------------------------------------- Message: 1 Date: Sat, 5 May 2007 17:02:50 -0500 From: "Sean Cribbs" <[EMAIL PROTECTED]> Subject: Re: [Radiant] Error when testing extensions To: radiant@lists.radiantcms.org Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Are these new extensions or ones that you started before the official release? Sean On 5/5/07, Andrew O'Brien <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I'm trying to develop some extensions and whenever I try to run a test I get: > > uninitialized constant > ActionController::Assertions::ResponseAssertions (NameError) > > I'm running radiant 0.6 (frozen from the gem). This happens for > everything: unit tests, functional tests, tests run through rake, > tests run directly -- you name it. > > Any ideas? > > Thanks, > Andrew > _______________________________________________ > Radiant mailing list > Post: Radiant@lists.radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > ------------------------------ Message: 2 Date: Sat, 5 May 2007 17:23:07 -0500 From: "Sean Cribbs" <[EMAIL PROTECTED]> Subject: Re: [Radiant] Problem installing radiant 0.6.0 To: [EMAIL PROTECTED], radiant@lists.radiantcms.org Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Also, make sure RubyGems is up-to-date, if you have the permissions. [sudo] gem update --system Sean On 5/5/07, keith <[EMAIL PROTECTED]> wrote: > I've tried this 3 or 4 times - but no joy! Any ideas anyone as I really need > to get this installed. > > Keith > > -----Original Message----- > From: John W. Long [mailto:[EMAIL PROTECTED] > Sent: 05 May 2007 15:53 > To: [EMAIL PROTECTED]; radiant@lists.radiantcms.org > Subject: Re: [Radiant] Radiant Digest, Vol 14, Issue 6 > > keith wrote: > > All, > > > > I am really struggling to install radiant 0.6.0 - I am following the wiki > > instructions and get to ~/gems/bin/radiant --database mysql radapp and > get > > the following error... > > > > -bash-3.00$ ~/gems/bin/radiant --database mysql radapp > > /usr/lib/site_ruby/1.8/rubygems.rb:301:in `report_activate_error': Could > not > > find RubyGem radiant (> 0) (Gem::LoadError) > > from /usr/lib/site_ruby/1.8/rubygems.rb:238:in `activate' > > from /usr/lib/site_ruby/1.8/rubygems.rb:76:in > > `active_gem_with_options' > > from /usr/lib/site_ruby/1.8/rubygems.rb:50:in `gem' > > from /home/buyscoot/gems/bin/radiant:15 > > > > Any ideas? > > Strange. It doesn't look like you have the gem installed correctly. Have > you tried uninstalling it and reinstalling? > > -- > John Long > http://wiseheartdesign.com > > _______________________________________________ > Radiant mailing list > Post: Radiant@lists.radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > ------------------------------ Message: 3 Date: Sat, 05 May 2007 15:49:57 -0700 From: Leon Yeh <[EMAIL PROTECTED]> Subject: Re: [Radiant] Error when testing extensions To: radiant@lists.radiantcms.org Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi Sean and Andrew, I have the same problem. I have created an extension on mental and pre 0.6 release. I try to fix it but can not find the problem. This is only happen for me when I run the test on instance mode. I have not try to run this on svn installation. I thought my gem installation might be the problem, I tried to uninstall and re-install but I get the same error. Leon Yeh New Avenue Systems Inc. Sean Cribbs wrote: > Are these new extensions or ones that you started before the official release? > > Sean > > On 5/5/07, Andrew O'Brien <[EMAIL PROTECTED]> wrote: > >> Hi everyone, >> >> I'm trying to develop some extensions and whenever I try to run a test I get: >> >> uninitialized constant >> ActionController::Assertions::ResponseAssertions (NameError) >> >> I'm running radiant 0.6 (frozen from the gem). This happens for >> everything: unit tests, functional tests, tests run through rake, >> tests run directly -- you name it. >> >> Any ideas? >> >> Thanks, >> Andrew >> _______________________________________________ >> Radiant mailing list >> Post: Radiant@lists.radiantcms.org >> Search: http://radiantcms.org/mailing-list/search/ >> Site: http://lists.radiantcms.org/mailman/listinfo/radiant >> >> > _______________________________________________ > Radiant mailing list > Post: Radiant@lists.radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > ------------------------------ Message: 4 Date: Sun, 6 May 2007 01:20:08 +0200 From: " Mislav Marohni? " <[EMAIL PROTECTED]> Subject: Re: [Radiant] Error when testing extensions To: radiant@lists.radiantcms.org Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=UTF-8; format=flowed On 5/5/07, Andrew O'Brien <[EMAIL PROTECTED]> wrote: > > uninitialized constant > ActionController::Assertions::ResponseAssertions (NameError) Radiant - by having its own initializer - somehow messes with Dependencies and its ability to do autoloading ninja magic. I discovered this when I realized attachment_fu cannot be used in Radiant without some manual requires, but I haven't discovered what exactly breaks in Dependencies code. ------------------------------ Message: 5 Date: Sat, 05 May 2007 20:26:48 -0400 From: "John W. Long" <[EMAIL PROTECTED]> Subject: [Radiant] [ANN] Radiant CMS 0.6.1 - Stone Cutter (Security Update) To: radiant@lists.radiantcms.org Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Looks like it's time for another release of Radiant: http://radiantcms.org/download/ This release contains an important security update. Passwords since 0.5 have been written straight into the log files without filtering of any kind. This could enable a malicious user with read permissions on the log files to discover other users' passwords. We've repaired the problem in 0.6.1. It is recommended that everyone upgrade immediately. You should also delete production.log and development.log. This release also includes a few minor bug fixes. WHAT IS RADIANT CMS? Radiant is a no-fluff content management system made for designers and programmers and is ideal for use on small teams. It is similar to Movable Type or Textpattern, but is much more than a blogging engine. Radiant features: * An elegant user interface * The ability to arrange pages in a hierarchy * Flexible templating with layouts, snippets, page parts, and a custom tagging language (Radius: http://radius.rubyforge.org) * A dynamic extension system * A simple user management/permissions system * Support for Markdown and Textile as well as traditional HTML (it's easy to create other filters) * Operates in two modes: dev and production depending on the URL * A caching system which expires pages every 5 minutes * Built using Ruby on Rails (which means that extending Radiant is as easy as any other Rails application) * Licensed under the MIT-License * And much more... There's even a live demo over on the project Web site: http://radiantcms.org/demo/ WHAT'S NEW IN THIS RELEASE? * Fixed a security vulnerability which caused passwords to appear in the logs * Fixed a bug in the site map code which caused it to forget which rows were expanded * The find_by_url method has been optimized to improve performance [Daniel Sheppard] * GET requests are now the only requests that are cached [Daniel Sheppard] * Added rudimentary support for extension depencency specification through directory prefixing [Daniel Sheppard] * Fixed syntax error in fixture loading extension [Sean Cribbs] * Minor documentation fix for date tag [Sean Cribbs] * Fixed a bug in the migrations that prevented 0.5.x users from upgrading properly [Sean Cribbs] INSTALLATION We've worked hard to make it easy to install Radiant. For starters you can download it with Ruby Gems: % gem install --include-dependencies radiant Once the Radiant gem is installed you have access to the `radiant` command. The `radiant` command is similar to the `rails` command (if you are from the Rails world. It's how you generate a new Radiant project for a website. So `cd` to the directory where you would like your instance to be installed and type: % radiant -d [mysql|postgres|sqlite3] . Next, edit config/database.yml to taste. Then run the rake bootstrap task: % rake production db:bootstrap And start up the test server: % script/server -e production Finally, hit the /admin/ URL and you should be off to the races. See the README file in the release for additional details. If you are interested in other download options, visit the download page: http://radiantcms.org/download/. UPGRADING FROM 0.6.0 1. Update the Radiant gem: % gem update radiant 2. Change the RADIANT_GEM_VERSION constant in config/environment.rb to "0.6.1". 3. Run the update rake task: rake radiant:update 4. Restart the server UPGRADING FROM 0.5.x The upgrade process changed significantly from last release, so listen up! To upgrade an existing installation, BACKUP YOUR DATABASE, update the gem, and create a new Radiant project using the instructions above. Then point Radiant to the right database by editing config/database.yml and execute the following command in your project directory: % rake db:migrate If you have problems during the upgrade, please let us know. CONTRIBUTORS Radiant wouldn't be possible without the help of some fine people. The following people have made contributions to this release: * Alexander Horn * Sean Cribbs Thanks guys! If you'd like to hop on the development band wagon head on over to our dev site (http://dev.radiantcms.org/). SUPPORT The best place to get support is definitely on the Radiant mailing list. There's a crowd of people there who have been hanging around for many moons now. Newbie questions are welcome! To sign up, go to: http://radiantcms.org/mailing-list/ The Radiant mailing list is also accessible via Ruby forum: http://www.ruby-forum.com/forum/21 Enjoy! -- John Long http://wiseheartdesign.com http://radiantcms.org ------------------------------ Message: 6 Date: Sat, 05 May 2007 23:59:36 -0700 From: Leon Yeh <[EMAIL PROTECTED]> Subject: [Radiant] How to add additional routes without touching radiant routes.rb To: radiant@lists.radiantcms.org Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hello, I tried to add a new routes into routes.rb. After reading the file, I found it to load routes.rb from radiant root. Is there any easy way to append or combine my routes to the radiant routes. Something similar to the extension routes handler. Thanks in advance, Leon Yeh ------------------------------ Message: 7 Date: Sun, 6 May 2007 09:15:44 +0200 From: Hans de Graaff <[EMAIL PROTECTED]> Subject: Re: [Radiant] Upgrading radiant .5 to .6 To: radiant@lists.radiantcms.org Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=UTF-8 On Sat, 05 May 2007 15:41:03 +0100, keith wrote: > I get to step 2 and receive the following errors? > > > -bash-3.00$ gem update radiant > Updating installed gems... > ERROR: While executing gem ... (NoMethodError) > undefined method `refresh' for #<Hash:0xb7d16b7c> This looks like rubygems cache poisining. Did you recently also upgrade rubygems? Here are some instructions from the Gentoo bugs database: Going from rubygems-0.9.0-r2 to 0.9.1, the gem command gives me the following error: raven ~ # gem install hpricot ERROR: While executing gem ... (NoMethodError) undefined method `refresh' for #<Hash:0xb7c4e9bc> So far the only solution I've seen has been to manually delete /usr/lib/ruby/gems/1.8/source_cache, and the one in ~/.gems/ if it exists. I didn't, as root, have a ~/.gems . ------------------------------ Message: 8 Date: Sun, 06 May 2007 10:54:31 +0200 From: Erik van Oosten <[EMAIL PROTECTED]> Subject: Re: [Radiant] Error when testing extensions To: radiant@lists.radiantcms.org Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=UTF-8; format=flowed Indeed, I am not sure its a bug or a feature, but extensions can only be tested in application mode. Regards, Erik. Andrew O'Brien wrote: > Hi everyone, > > I'm trying to develop some extensions and whenever I try to run a test I get: > > uninitialized constant > ActionController::Assertions::ResponseAssertions (NameError) > > I'm running radiant 0.6 (frozen from the gem). This happens for > everything: unit tests, functional tests, tests run through rake, > tests run directly -- you name it. > > Any ideas? > > Thanks, > Andrew > _______________________________________________ > Radiant mailing list > Post: Radiant@lists.radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ ------------------------------ Message: 9 Date: Sun, 6 May 2007 13:44:09 +0200 From: Gustaf Lindqvist <[EMAIL PROTECTED]> Subject: Re: [Radiant] Style Sheet Unavailable on Radiant Mental To: radiant@lists.radiantcms.org Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hm, I wish the structure for the stylesheets would change in Radiant. Wouldn't it be better in the stylesheets and rss feeds code where placed under Layouts. Insted of using <r:content /> under Layouts to link to the Page etc. -- Gustaf Lindqvist http://lindq.se 5 maj 2007 kl. 15.47 skrev John W. Long: > Ben Minton wrote: >> this is straight out of the source from a Firefox page: >> >> <link rel="stylesheet" type="text/css" href="/styles.css" /> >> >> this is straight out of the source from an IE page: >> >> <link rel="stylesheet" type="text/css" href="/styles.css" /> > > You should have a layout just for pages that are stylesheets. > > To create a Stylesheet layout: > > 1. Switch to the layouts tab > > 2. Create a new layout and call it "Stylesheet" > > 3. Set the body of the layout to: > > <r:content /> > > 4. Click the "More" link underneath the title of the stylesheet layout > and set "Content-Type" to "text/css". > > 5. Save the layout > > 6. Switch back over to your "styles.css" page > > 7. Set it's layout to "Stylesheet" > > -- > John Long > http://wiseheartdesign.com > _______________________________________________ > Radiant mailing list > Post: Radiant@lists.radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > ------------------------------ _______________________________________________ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant End of Radiant Digest, Vol 14, Issue 8 ************************************** _______________________________________________ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant