Skip to content

Instantly share code, notes, and snippets.

@steveplatz
Created November 5, 2012 14:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steveplatz/4017513 to your computer and use it in GitHub Desktop.
Save steveplatz/4017513 to your computer and use it in GitHub Desktop.
SM Framework Rails Setup Issue
redmine@computer:~$ sm rails setup
Setting up ~/.smrc
Configuring ~/.smrc
Configuring profiles
Configuring profiles (~/.rvmrc, ~/.bashrc ~/.bash_profile)
Configuring ~/shared
Setting up shared path (~/shared)
[â] Ensuring path exists ~ ~/shared/config
[â] Ensuring path exists ~ ~/shared/log
[â] Ensuring path exists ~ ~/shared/pids
[â] Ensuring path exists ~ ~/shared/sockets
[â] Ensuring path exists ~ ~/shared/public/assets
[â] Ensuring path exists ~ ~/shared/tmp
Configuring database
Configuring database.yml (~/shared/config/database.yml)
Configuring ~/.rvmrc
Installing deploy hooks ~/shared/deploy/{before_release, after_release}.
Installing RVM
Setting up RVM
Setting ruby-1.9.3 to default (this will install if not installed and thus may take a while so please be patient).
Creating alias default for ruby-1.9.3-p286.
Recording alias default for ruby-1.9.3-p286.
Creating default links/files
Saving wrappers to '/home/redmine/.rvm/bin'.
Setting up application server
FAIL(/home/redmine/.sm/sets/active/ruby/unicorn/shell//initialize): Path to exists must be given.
+# source file # function()
==================================================================================================================================
vi +330 .sm/core/sm/shell/log/functions # __sm.log.fail
vi +143 .sm/core/api/shell/paths/functions # paths
vi +27 .sm/sets/active/ruby/unicorn/shell//initialize # /home/redmine/.sm/sets/active/ruby/unicorn/shell//initialize
vi +219 .sm/core/sm/shell/modules/functions # __sm.module.include
vi +155 .sm/core/sm/shell/modules/functions # __sm.modules.include
vi +146 .sm/core/sm/shell/modules/functions # __sm.includes
vi +132 .sm/core/sm/shell/modules/functions # includes
vi +108 .sm/sets/active/ruby/rails/shell//functions # setup_application_server
vi +49 .sm/sets/active/ruby/rails/bin/setup # /home/redmine/.sm/sets/active/ruby/rails/bin/setup
vi +417 .sm/core/sm/shell/log/functions # __sm.actions.source
vi +185 .sm/core/internal/shell/extensions/execution/functions # __sm.extension.run
vi +151 .sm/core/sm/shell/core/initialize # /home/redmine/.sm/core/sm/shell/core/initialize
vi +41 .sm/bin/sm # /home/redmine/.sm/bin/sm
==================================================================================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment