How can I set "ruby script/extension install [gallery]" to run in production mode?
[concrete]$ ruby script/extension install gallery Initialized empty Git repository in /tmp/gallery/.git/ remote: Counting objects: 759, done. remote: Compressing objects: 100% (320/320), done. remote: Total 759 (delta 378), reused 759 (delta 378) Receiving objects: 100% (759/759), 230.00 KiB, done. Resolving deltas: 100% (378/378), done. rake aborted! Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (See full trace by running task with --trace) rake aborted! Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) (See full trace by running task with --trace) This error usually happens when I forget to include 'production' in a rake command. I'm not sure how to specify the environment in a "ruby script" command. Thanks in advance! Ben -- Posted via http://www.ruby-forum.com/. _______________________________________________ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant