1) After upgradint to radiant 0.5.1. I got a "failed to update Rails
version to 1.1.4 in config/environment.rb" message when updating an
existing radiant instance. Is it harmful at all or just a warning?

electronicbusiness radiant # radiant --upgrade .
Upgrading Radiant to version 0.5.1...
  Would you like to create backups of files that Radiant replaces? [yN] y
  overwrote ./CHANGELOG
  backup CONTRIBUTORS? [Yn] y
  backed up CONTRIBUTORS as CONTRIBUTORS.20060803.bak
  overwrote ./CONTRIBUTORS
  created ./public/.htaccess
  created ./public/images/layout.png
  backup public/images/new-layout.png? [Yn] y
  backed up public/images/new-layout.png as new-layout.png.20060803.bak
  overwrote ./public/images/new-layout.png
  created ./script/console
  created ./script/version
> failed to update Rails version to 1.1.4 in config/environment.rb
  you may need to do this yourself
  updated Radiant version to 0.5.1 in config/instance.yml
Done.

2) I issued again an update command on the same place I did before and
I got the following "Cannot detect that Radiant is installed in this
directory!" (below also an "ll" command of the instance directory):

electronicbusiness radiant # radiant --upgrade .
/usr/lib/ruby/gems/1.8/gems/radiant-0.5.1/bin/radiant:35: command not
found: ./script/version
Cannot detect that Radiant is installed in this directory!
electronicbusiness radiant # ll
total 52
drwxr-xr-x 5 root root 4096 Jul 12 20:49 cache
-rw-r--r-- 1 root root  641 Aug  3 12:03 CHANGELOG
drwxr-xr-x 3 root root 4096 Jun 26 23:12 config
-rw-r--r-- 1 root root  257 Aug  3 12:03 CONTRIBUTORS
-rw-r--r-- 1 root root  214 Aug  3 12:03 CONTRIBUTORS.20060803.bak
drwxr-xr-x 2 root root 4096 Jul 23 19:13 db
-rw-r--r-- 1 root root 1072 Jun 26 23:12 LICENSE
drwxr-xr-x 2 root root 4096 Jul  8 21:17 log
drwxr-xr-x 2 root root 4096 Jun 26 23:09 plugins
drwxr-xr-x 5 root root 4096 Aug  3 12:03 public
-rw-r--r-- 1 root root 2441 Jun 26 23:12 README
drwxr-xr-x 3 root root 4096 Aug  3 12:03 script
drwxr-xr-x 3 root root 4096 Jun 26 23:09 vendor

--M
_______________________________________________
Radiant mailing list
[email protected]
http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to