Re: [Radiant] Help!!!!!!!
Neel, Ruby on Windows has some issues with the built in file copy command, I never got script/extension install working on my windows dev setup. However, it is not too hard to install extensions manually. Here is the radiant wiki article on it: http://wiki.github.com/radiant/radiant/installing-extensions Since Windows does not have wget, you will either have to install it ( http://gnuwin32.sourceforge.net/packages/wget.htm) or just use your web browser to download the tarball instead. For example, to install Comments: 1: Open your web browser and put this url in your address bar: http://github.com/artofmission/radiant-comments/tarball/master (the great thing about github is if you have a git url like git:// github.com/artofmission/radiant-comments.git from the extension registry, changing the git:// to http:// and removing the .git from the end will get you the web page of the extension on github, and adding /tarball/master on the end will download a .tar.gz file of the latest version of the extension). 2: Once you have downloaded the tarball, extract it into your project/vendor/extensions/comments folder (create if necessary) so the files in /vendor/extensions/comments/ match the listing here: http://github.com/artofmission/radiant-comments. WinRAR and 7-zip should both open these just fine in windows or you can download bsdtar - http://gnuwin32.sourceforge.net/packages/libarchive.htm - to extract via the command line - use bsdtar -xvzf archivename. 3: open your command prompt to your project directory and run the following two commands: C:\Website rake radiant:extensions:comments:migrate and C:\Website rake radiant:extensions:comments:update If you get an error running one of these two commands saying rake does not know how to build this task, then the extension you are installing may not have anything to do in this task. In the case of the comments extension, it should run both. 4: restart your web server and then go to your admin site and check your settings, comments should be listed as installed and everything should be working. Hope this helps! Ben -- Forwarded message -- From: neel iyer kniyer@gmail.com To: radiant@radiantcms.org Date: Fri, 19 Feb 2010 22:30:24 +0530 Subject: Re: [Radiant] Help!!! sorry this is the error msg tht i got when i excecuted tht command... C:\websiteenv RAILS_ENV=production script/extension install comments The filename, directory name, or volume label syntax is incorrect. The system cannot find the path specified. c:/Ruby/lib/ruby/1.8/fileutils.rb:1255:in `copy': unknown file type: C:/DOCUME~1 /neel/LOCALS~1/Temp/comments (RuntimeError) from c:/Ruby/lib/ruby/1.8/fileutils.rb:451:in `copy_entry' from c:/Ruby/lib/ruby/1.8/fileutils.rb:1324:in `traverse' from c:/Ruby/lib/ruby/1.8/fileutils.rb:448:in `copy_entry' from c:/Ruby/lib/ruby/1.8/fileutils.rb:423:in `cp_r' from c:/Ruby/lib/ruby/1.8/fileutils.rb:1395:in `fu_each_src_dest' from c:/Ruby/lib/ruby/1.8/fileutils.rb:1411:in `fu_each_src_dest0' from c:/Ruby/lib/ruby/1.8/fileutils.rb:1393:in `fu_each_src_dest' from c:/Ruby/lib/ruby/1.8/fileutils.rb:422:in `cp_r' from c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/ script.rb:49:in `copy_to_vendor_extensions' from c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/ script.rb:147:in `copy_to_vendor_extensions' from c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/ script.rb:43:in `install' from c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/ script.rb:93:in `install' from c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/ script.rb:10:in `install' from c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/ script.rb:266:in `initialize' from c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/ script.rb:224:in `new' from c:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.8.1/lib/radiant/extension/ script.rb:224:in `execute' from script/extension:5 regards neel -- Forwarded message -- From: Chaim Kirby chaim.ki...@childrens.harvard.edu To: radiant@radiantcms.org radiant@radiantcms.org Date: Fri, 19 Feb 2010 12:27:25 -0500 Subject: Re: [Radiant] Help!!! Neel - There usually isn't an install task for extensions If you have the comments extension in your vendor/extensions folder then from your root radiant folder run: rake production radiant:extensions:comments:migrate then run: rake production radiant:extensions:comments:update Chaim neel iyer wrote: sorry this is the error msg tht i got when i excecuted tht command... C:\websiteenv RAILS_ENV=production script/extension install comments The filename, directory name, or volume label syntax is incorrect. The system cannot find the path
Re: [Radiant] htaccess questions (Tom Stoll)
Tom, Normally I would be configure this in my apache config, not use an .htaccess rewrite rule. I would use a wildcard mapping for your ServerAlias config... instead of setting NAME.website.com to point at the /rails/radiant/NAME dir, I would set ServerAlias *.website.com See these for more info: http://allyourtech.com/content/articles/25_11_2005_setting_up_wildcard_subdomains_on_apache.php http://httpd.apache.org/docs/2.0/vhosts/examples.html http://httpd.apache.org/docs/2.0/mod/core.html#serveralias http://httpd.apache.org/docs/2.0/vhosts/name-based.html Hope that helps, Ben On Thu, Feb 11, 2010 at 14:53, radiant-requ...@radiantcms.org wrote: From: Tom Stoll tom.stoll.h...@gmail.com To: radiant@radiantcms.org Date: Thu, 11 Feb 2010 10:39:39 -0800 Subject: [Radiant] htaccess questions Hi, I have been trying to set up htaccess in a certain way for some time now. Is the following possible? Given: Radiant installation: /rails/radiant/NAME domain: website.com Subdomain set up to point to NAME: NAME.website.com symlinked to /rails/radiant/NAME (index.html removed from the subdomain's folder) Type in NAME.website.com and you go to the Rails/Radiant app, and all the internal links work properly. type in website.com/NAME, and you get the app, but it has lost its styling and Rails/Radiant cannot resolve the links. type in www.website.com/NAME and you get the public_html directory listing. What I'd like to be able to do is have www.website.com redirect to the application at the subdomain NAME. Here are my htaccess rewrite lines. Like I said, they handle the subdomain-to-app mapping. I'd like to link www to the app or, in other words, make the subdomain the 'default' and behave like it is sitting in the public_html folder. My understanding is that this is possible and quite common, but I can't find documentation that explains this common functionality. .htaccess== RewriteRule ^$ index.html [QSA] RewriteRule ^([^.]+)$ $1.html [QSA] RewriteCond %{REQUEST_FILENAME} !-f #RewriteRule ^images/.*.(jpg|gif|png|bmp)$ /blank.$1 [NC,L] #RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] setEnv RAILS_ENV production RewriteCond %{HTTP_HOST} ^www.website.com$ [OR] RewriteCond %{HTTP_HOST} ^www.NAME.website.com$ [OR] RewriteCond %{HTTP_HOST} ^name.website.com$ RewriteRule ^/?$ http\:\/\/website\.com\/NAME\/ [R=301,L] Feel free to point out my flawed logic or obvious mistakes. It seems to me that this should be a simple thing to do. Thanks, =tom ___ 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/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
Re: [Radiant] Radiant Installation Failing Using Ruby 1.9.1/1.8.7
Regarding your errors getting Radiant working due to a Cucumber version mismatch, I was able to install the older version of Cucumber along side the newer version and everything started working. I just ran this command: gem install cucumber -v 0.3.104 Hope this helps people work around the issue until Radiant updates their release. Subject: [Radiant] Radiant Installation Failing Using Ruby 1.9.1/1.8.7 From: Conrad Taylor conra...@gmail.com Date: Tue, 2 Feb 2010 23:09:43 -0500 To: radiant@radiantcms.org Hi, Radiant installation is failing with ruby 1.8.7 (2010-01-10 patchlevel 249) [i686-linux] because I'm getting the following error message: $ rake production db:bootstrap (in /home/conradwt/rails.dir/examples/test) rake aborted! undefined method `feature_pattern=' for #Cucumber::Rake::Task:0xb77941d8*/home/conradwt/*.rvm/gems/ruby-1.8.7-head/gems/radiant-0.8.1/Rakefile:10 (See full trace by running task with --trace) and $ rake db:bootstrap (in /home/conradwt/rails.dir/examples/test) rake aborted! undefined method `feature_pattern=' for #Cucumber::Rake::Task:0xb770b914*/home/conradwt/*.rvm/gems/ruby-1.8.7-head/gems/radiant-0.8.1/Rakefile:10 (See full trace by running task with --trace) Next, I'm seeing much better success using Ruby 1.8.7 with the clone of the github project instead of the radiant gem. Lastly, I have tried using Ruby 1.9.1 with the clone of the github project but it required changes to the script files because they were referencing an incorrect path for the boot file. The fix was to revert the files back to the Rails standard script files (i.e. 2.3.5). Then Radiant appears to be functional on the admin and generates an error message on the client for Ruby 1.9.1. However, it continued to work on both the client and admin for Ruby 1.8.7. -Conrad ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org