Hello David. I see that you're using ray and vlad -- which are tools
I've never used (for now I still use capistrano) so I'm not sure the
issue isn't in there somewhere but I'll do my best in the meantime to help.
I see that you are installing SnS as a git submodule. This seems to be
downloading from github ok but I'm not sure which version of SnS you are
using. Currently the latest version (master) runs fine for me on
Radiant 0.8.1 (though I have some changes I'd still like to make before
I update the version number). But if you are running an earlier version
of SnS, this could be your problem as they don't play with pre 7.x
Radiant well.
Assuming the correct version is installed, it appears that the following
rake task seems to be failing for some other reason:
rake -q RAILS_ENV=development radiant:extensions:sns:install
Try moving the SnS extension out of the vendor/extensions/.disabled
directory (it should reside in vendor/extensions/sns) and then manually
running the following rake task and posting (or pastie-ing) the results:
rake RAILS_ENV=development radiant:extensions:sns:install --trace
-Chris
David Alan Hjelle wrote:
Hi!
I have a local Radiant 0.8.1 install on my MacBook. I'm trying to
install the SnS extension, but I have the following problem:
hostname:mywebsite.com myusername$ rake ray:extension:install name=sns
(in /Users/myusername/Sites/mywebsite.com)
git submodule -q add
git://github.com/SwankInnovations/radiant-sns-extension.git
vendor/extensions/sns
Initialized empty Git repository in
/Users/myusername/Sites/mywebsite.com/vendor/extensions/sns/.git/
remote: Counting objects: 776, done.
remote: Compressing objects: 100% (429/429), done.
remote: Total 776 (delta 382), reused 575 (delta 262)
Receiving objects: 100% (776/776), 285.16 KiB | 122 KiB/s, done.
Resolving deltas: 100% (382/382), done.
rake -q RAILS_ENV=development radiant:extensions:sns:install
(in /Users/myusername/Sites/mywebsite.com)
rake aborted!
(eval):1:in `export': compile error
(eval):1: syntax error, unexpected '/', expecting '\n' or ';'
def controlleradmin/exportactionyaml *args, &block...
^
(eval):1: syntax error, unexpected kEND, expecting $end
...tactionyaml(*args, &block);end
^
(See full trace by running task with --trace)
================================================================================
The sns extension failed to install properly.
Specifically, the failure was caused by the extension's install task:
The extension has been disabled and placed in vendor/extensions/.disabled
If you would like to troubleshoot the extension re-enable it by running:
`rake ray:extension:enable name=sns` then run the install task with:
`rake radiant:extensions:sns:install --trace` and inspect the output.
================================================================================
I tried the troubleshooting steps, but only came up with the same error.
I'm rather a Rails newbie, so I'm not sure where I should be going
next. Is it possible that the vlad deployment that I just set up could
be conflicting? Should I remove the extension files manually and
install via script/extension?
Thanks for any help!
David Alan Hjelle
1 Corinthians 2:2
http://thehjellejar.com/
See Rita's spoons at <http://jarofwood.com/>.
See my brother's software at <http://calftrail.com>.
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant