peritor / webistrano Goto Github PK
View Code? Open in Web Editor NEWWebistrano is a Web UI for managing Capistrano deployments
Home Page: http://labs.peritor.com/webistrano
License: Other
Webistrano is a Web UI for managing Capistrano deployments
Home Page: http://labs.peritor.com/webistrano
License: Other
The capistrano that is included does not have the fix which makes nested submodules work (capistrano/capistrano@8b4015e). I'm sure that the other vendor files could stand to be updated as well.
I got this when I updated my version of webistrano and tried to migrate. To verify it wasn't a customisation of my fork I also tried doing a fresh clone, bundle install and tried to migrate and got the same error.
Quick work around to migrate without error is to just remove undef :symlink from config/initializers/capistrano_namespace_rake_fix.rb but naturally that must have been added for a reason.
Stack trace:
RAILS_ENV=production rake db:migrate --trace
rake/rdoctask is deprecated. Use rdoc/task instead (in RDoc 2.4.2+)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
undefined method symlink' for class
Capistrano::Configuration::Namespaces::Namespace'
/Users/kev/Sites/webistrano-original/config/initializers/capistrano_namespace_rake_fix.rb:2
/Users/kev/Sites/webistrano-original/config/initializers/capistrano_namespace_rake_fix.rb:2:in class_eval' /Users/kev/Sites/webistrano-original/config/initializers/capistrano_namespace_rake_fix.rb:2 /Users/kev/Sites/webistrano-original/vendor/bundler/ruby/1.8/gems/activesupport-2.3.11/lib/active_support/dependencies.rb:173:in
load_without_new_constant_marking'
/Users/kev/Sites/webistrano-original/vendor/bundler/ruby/1.8/gems/activesupport-2.3.11/lib/active_support/dependencies.rb:173:in load' /Users/kev/Sites/webistrano-original/vendor/bundler/ruby/1.8/gems/rails-2.3.11/lib/initializer.rb:622:in
load_application_initializers'
/Users/kev/Sites/webistrano-original/vendor/bundler/ruby/1.8/gems/rails-2.3.11/lib/initializer.rb:621:in each' /Users/kev/Sites/webistrano-original/vendor/bundler/ruby/1.8/gems/rails-2.3.11/lib/initializer.rb:621:in
load_application_initializers'
/Users/kev/Sites/webistrano-original/vendor/bundler/ruby/1.8/gems/rails-2.3.11/lib/initializer.rb:176:in process' /Users/kev/Sites/webistrano-original/vendor/bundler/ruby/1.8/gems/rails-2.3.11/lib/initializer.rb:113:in
send'
/Users/kev/Sites/webistrano-original/vendor/bundler/ruby/1.8/gems/rails-2.3.11/lib/initializer.rb:113:in run' /Users/kev/Sites/webistrano-original/config/environment.rb:16 /Users/kev/Sites/webistrano-original/vendor/bundler/ruby/1.8/gems/activesupport-2.3.11/lib/active_support/dependencies.rb:182:in
require'
/Users/kev/Sites/webistrano-original/vendor/bundler/ruby/1.8/gems/activesupport-2.3.11/lib/active_support/dependencies.rb:182:in require' /Users/kev/Sites/webistrano-original/vendor/bundler/ruby/1.8/gems/activesupport-2.3.11/lib/active_support/dependencies.rb:547:in
new_constants_in'
/Users/kev/Sites/webistrano-original/vendor/bundler/ruby/1.8/gems/activesupport-2.3.11/lib/active_support/dependencies.rb:182:in require' /Users/kev/Sites/webistrano-original/vendor/bundler/ruby/1.8/gems/rails-2.3.11/lib/tasks/misc.rake:4 /opt/local/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/task.rb:205:in
call'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/task.rb:205:in execute' /opt/local/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/task.rb:200:in
each'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/task.rb:200:in execute' /opt/local/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/task.rb:158:in
invoke_with_call_chain'
/opt/local/lib/ruby/1.8/monitor.rb:242:in synchronize' /opt/local/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/task.rb:151:in
invoke_with_call_chain'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/task.rb:176:in invoke_prerequisites' /opt/local/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/task.rb:174:in
each'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/task.rb:174:in invoke_prerequisites' /opt/local/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/task.rb:157:in
invoke_with_call_chain'
/opt/local/lib/ruby/1.8/monitor.rb:242:in synchronize' /opt/local/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/task.rb:151:in
invoke_with_call_chain'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/task.rb:144:in invoke' /opt/local/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/application.rb:112:in
invoke_task'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/application.rb:90:in top_level' /opt/local/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/application.rb:90:in
each'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/application.rb:90:in top_level' /opt/local/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/application.rb:129:in
standard_exception_handling'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/application.rb:84:in top_level' /opt/local/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/application.rb:62:in
run'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/application.rb:129:in standard_exception_handling' /opt/local/lib/ruby/gems/1.8/gems/rake-0.9.0/lib/rake/application.rb:59:in
run'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.9.0/bin/rake:31
/opt/local/bin/rake:19:in `load'
/opt/local/bin/rake:19
Tasks: TOP => db:migrate => environment
Am I insane, or you don't have any public/stylesheets since version 1.4?
It would be really nice if we could configure the default shell that webistrano's recipes run under (just like you can do for capistrano). It'd be even nicer if it just automatically used whatever the config says is correct for the capistrano settings.
Right now the system has a shell hard-coded in app/models/deployment.rb in def deploy_in_background
To fix the main issue that was covered in that blogpost I keep pointing at...
http://rubyglasses.blogspot.com/2009/12/getting-webistrano-to-deploy-under.html
I had to hand-hack the webistrano code to add in the shell-command we needed ('bash --login -c' instead of 'sh -c'). It'd be nice to not have to do that :)
Sorry for spamming you with issues/feature-requests. I thin webistrano is great, and these are all mainly small tweaks that you are quite welcome to completely ignore ;)
Cheers and thanks,
Taryn
bundle install
Fetching source index for http://rubygems.org/
Bundler could not find compatible versions for gem "bundler":
In Gemfile:
bundler (= 1.0.10)
Current Bundler version:
bundler (1.0.13)
And installing the specified version of bundler doesn't solve the problem. I removed the bundler version number and all works. Maybe you can specify the bundler version with ~>
or >=
.
I just downloaded the latest source and upgraded from the 1.5 bundle. The upgrade went fine, after installing the bundler gem, but now I'm getting the following error:
Gem.source_index called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/gem_dependency.rb:21.
NOTE: Gem::SourceIndex#refresh! is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#refresh! called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/vendor_gem_source_index.rb:34.
NOTE: Gem::SourceIndex#load_gems_in is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#load_gems_in called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:320.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/gem_dependency.rb:96.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#search called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/vendor_gem_source_index.rb:119.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#search called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/vendor_gem_source_index.rb:119.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/gem_dependency.rb:96.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#search called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/vendor_gem_source_index.rb:119.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#search called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/vendor_gem_source_index.rb:119.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/gem_dependency.rb:96.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#search called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/vendor_gem_source_index.rb:119.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#search called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/vendor_gem_source_index.rb:119.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/gem_dependency.rb:96.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#search called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/vendor_gem_source_index.rb:119.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#search called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/vendor_gem_source_index.rb:119.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/gem_dependency.rb:96.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#search called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/vendor_gem_source_index.rb:119.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#search called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/vendor_gem_source_index.rb:119.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/gem_dependency.rb:96.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#search called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/vendor_gem_source_index.rb:119.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#search called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/vendor_gem_source_index.rb:119.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/gem_dependency.rb:96.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#search called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/vendor_gem_source_index.rb:119.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#search called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/vendor_gem_source_index.rb:119.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/gem_dependency.rb:96.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#search called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/vendor_gem_source_index.rb:119.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#search called from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/vendor_gem_source_index.rb:119.
/opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/commands/runner.rb:48: /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/attribute_methods.rb:236:in method_missing': Attempt to call private method (NoMethodError) from /var/www/webistrano-2011-06-29/lib/webistrano/deployer.rb:25:in
initialize'
from (eval):1:in new' from (eval):1 from script/runner:3:in
eval'
from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/commands/runner.rb:48
from script/runner:3:in `require'
from script/runner:3
When I deploy via webistrano, I am prompted for my SVN username and password. If I'm on the webistrano server during a deploy, and check the process listing, my password is displayed in clear text.
Webistrano version:
Version 1.5
OS version:
CentOS 5.6
Example PS output (username, servername, and password removed for obvious reasons):
@:~$ ps aux|grep -i webistrano
root 29642 0.0 0.0 4576 1000 ? S 09:52 0:00 sh -c cd /var/www/apps/webistrano && ruby script/runner -e production ' deployment = Deployment.find(1887); deployment.prompt_config = {"scm_username"=>"", "scm_password"=>""} ; Webistrano::Deployer.new(deployment).invoke_task! ' >> /var/www/apps/webistrano/log/production.log 2>&1
root 29643 4.0 0.9 44848 39816 ? S 09:52 0:01 ruby script/runner -e production deployment = Deployment.find(1887); deployment.prompt_config = {"scm_username"=>"", "scm_password"=>""} ; Webistrano::Deployer.new(deployment).invoke_task!
29652 0.0 0.0 4016 748 pts/4 S+ 09:53 0:00 grep --color=auto -i webistrano
An admin must be able to add multiple video's to one product. This can be a mix of different video providers. Each video must show a small thumbnail.
Everything seems to have been done correctly however, I get 403 Forbidden when I access it from browser. Attaching Error log.
nignx-errror-log.txt
It adds some usability for deploying via git.
I'm getting the following error in my log file when I try to view a stage. The stage is created although immediately shows the "something went wrong error".
NoMethodError (Attempt to call private method):
vendor/bundler/ruby/1.9.1/gems/activerecord-2.3.11/lib/active_record/attribute_methods.rb:236:in method_missing' lib/webistrano/deployer.rb:25:in
initialize'
app/models/stage.rb:125:in new' app/models/stage.rb:125:in
list_tasks'
app/controllers/stages_controller.rb:17:in show' vendor/bundler/ruby/1.9.1/gems/actionpack-2.3.11/lib/action_controller/base.rb:1333:in
perform_action'
vendor/bundler/ruby/1.9.1/gems/actionpack-2.3.11/lib/action_controller/filters.rb:617:in call_filters' vendor/bundler/ruby/1.9.1/gems/actionpack-2.3.11/lib/action_controller/filters.rb:638:in
block in run_before_filters'
app/controllers/application_controller.rb:24:in set_timezone' vendor/bundler/ruby/1.9.1/gems/activesupport-2.3.11/lib/active_support/callbacks.rb:178:in
evaluate_method'
vendor/bundler/ruby/1.9.1/gems/actionpack-2.3.11/lib/action_controller/filters.rb:186:in call' vendor/bundler/ruby/1.9.1/gems/actionpack-2.3.11/lib/action_controller/filters.rb:635:in
run_before_filters'
vendor/bundler/ruby/1.9.1/gems/actionpack-2.3.11/lib/action_controller/filters.rb:615:in call_filters' vendor/bundler/ruby/1.9.1/gems/actionpack-2.3.11/lib/action_controller/filters.rb:610:in
perform_action_with_filters'
vendor/bundler/ruby/1.9.1/gems/actionpack-2.3.11/lib/action_controller/benchmarking.rb:68:in block in perform_action_with_benchmark' vendor/bundler/ruby/1.9.1/gems/actionpack-2.3.11/lib/action_controller/benchmarking.rb:68:in
perform_action_with_benchmark'
vendor/bundler/ruby/1.9.1/gems/actionpack-2.3.11/lib/action_controller/rescue.rb:160:in perform_action_with_rescue' vendor/bundler/ruby/1.9.1/gems/actionpack-2.3.11/lib/action_controller/flash.rb:151:in
perform_action_with_flash'
vendor/bundler/ruby/1.9.1/gems/actionpack-2.3.11/lib/action_controller/base.rb:532:in process' vendor/bundler/ruby/1.9.1/gems/actionpack-2.3.11/lib/action_controller/filters.rb:606:in
process_with_filters'
vendor/bundler/ruby/1.9.1/gems/actionpack-2.3.11/lib/action_controller/base.rb:391:in process' vendor/bundler/ruby/1.9.1/gems/actionpack-2.3.11/lib/action_controller/base.rb:386:in
call'
vendor/bundler/ruby/1.9.1/gems/actionpack-2.3.11/lib/action_controller/routing/route_set.rb:438:in call' vendor/bundler/ruby/1.9.1/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:87:in
dispatch'
vendor/bundler/ruby/1.9.1/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:121:in _call' vendor/bundler/ruby/1.9.1/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:130:in
block in build_middleware_stack'
vendor/bundler/ruby/1.9.1/gems/activerecord-2.3.11/lib/active_record/query_cache.rb:29:in call' vendor/bundler/ruby/1.9.1/gems/activerecord-2.3.11/lib/active_record/query_cache.rb:29:in
block in call'
vendor/bundler/ruby/1.9.1/gems/activerecord-2.3.11/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in cache' vendor/bundler/ruby/1.9.1/gems/activerecord-2.3.11/lib/active_record/query_cache.rb:9:in
cache'
vendor/bundler/ruby/1.9.1/gems/activerecord-2.3.11/lib/active_record/query_cache.rb:28:in call' vendor/bundler/ruby/1.9.1/gems/activerecord-2.3.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in
call'
vendor/bundler/ruby/1.9.1/gems/actionpack-2.3.11/lib/action_controller/string_coercion.rb:25:in call' vendor/bundler/ruby/1.9.1/gems/actionpack-2.3.11/lib/action_controller/params_parser.rb:15:in
call'
vendor/bundler/ruby/1.9.1/gems/actionpack-2.3.11/lib/action_controller/session/cookie_store.rb:99:in call' vendor/bundler/ruby/1.9.1/gems/actionpack-2.3.11/lib/action_controller/failsafe.rb:26:in
call'
internal:prelude:10:in synchronize' vendor/bundler/ruby/1.9.1/gems/actionpack-2.3.11/lib/action_controller/dispatcher.rb:106:in
call'
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/lib/phusion_passenger/rack/request_handler.rb:96:in process_request' /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/lib/phusion_passenger/abstract_request_handler.rb:513:in
accept_and_process_next_request'
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/lib/phusion_passenger/abstract_request_handler.rb:274:in main_loop' /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/lib/phusion_passenger/classic_rails/application_spawner.rb:321:in
start_request_handler'
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/lib/phusion_passenger/classic_rails/application_spawner.rb:275:in block in handle_spawn_application' /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/lib/phusion_passenger/utils.rb:479:in
safe_fork'
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/lib/phusion_passenger/classic_rails/application_spawner.rb:270:in handle_spawn_application' /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server.rb:357:in
server_main_loop'
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server.rb:206:in start_synchronously' /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server.rb:180:in
start'
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/lib/phusion_passenger/classic_rails/application_spawner.rb:149:in start' /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/lib/phusion_passenger/spawn_manager.rb:219:in
block (2 levels) in spawn_rails_application'
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server_collection.rb:132:in lookup_or_add' /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/lib/phusion_passenger/spawn_manager.rb:214:in
block in spawn_rails_application'
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server_collection.rb:82:in block in synchronize' <internal:prelude>:10:in
synchronize'
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server_collection.rb:79:in synchronize' /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/lib/phusion_passenger/spawn_manager.rb:213:in
spawn_rails_application'
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/lib/phusion_passenger/spawn_manager.rb:132:in spawn_application' /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/lib/phusion_passenger/spawn_manager.rb:275:in
handle_spawn_application'
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server.rb:357:in server_main_loop' /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server.rb:206:in
start_synchronously'
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.7/helper-scripts/passenger-spawn-server:99:in `
Any help would be greatly appreciated!
RubyGems on Stage is 1.3.7
RubyGems newer than 1.6.2 causes MANY deprecation errors.
(I had RubyGems 1.8.15).
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
This repeats many times.
Downgrade to older RubyGems resolves this:
sudo gem update --system 1.6.2
I like that the app obscures passwords in the configuration view, but it should also obscure passphrases. This should be a quick add to app/helpers/application_helper.rb on line 39.
This is a example of the rsync command that webistrano generates and executes as part of deployment:
rsync -lrpt --exclude='.svn' /var/www/live/shared/cached-copy/* /var/www/live/releases/20100812070050
Unfortunately, the above command doesn't copy over the .htaccess file from the cached-copy directory.
To fix the issue the rsync needs to remove the trailing star in the source path (or end with "/." instead of "/*").
For reference: OS: RHEL 5.5, rsync --version is "rsync version 2.6.8 protocol version 29"
tody, i opened the cap ,found that :We've been notified about this issue and we'll take a look at it shortly.
so, how can i deal this problem, i need cap to wok............
Feature request to support user roles in the application. Ideally we are looking at this as we have a large team that will be using webistrano to deploy to several environments. Most environments will be "free" to deploy to by anyone, while others (production) will be restricted to certain users. We are getting around this now by forcing password entry for the servers on that environment but it feels very clunky and requires all our servers to have the same pass instead of using SSH keys.
Here is a list of possible uses we have come up with:
Thanks,
Peer
Is anyone maintaining this project anymore? If not, has someone forked and kept it up to date? I see a lot of forks but all seem to be 2-3 years old.
/home/wills/download/webistrano/vendor/bundler/ruby/1.8/gems/activerecord-2.3.11/lib/active_record/attribute_methods.rb:236:in method_missing' /home/wills/download/webistrano/lib/webistrano/deployer.rb:25:in
initialize'
/home/wills/download/webistrano/app/models/stage.rb:125:in new' /home/wills/download/webistrano/app/models/stage.rb:125:in
list_tasks'
/home/wills/download/webistrano/app/controllers/stages_controller.rb:17:in show' /home/wills/download/webistrano/app/controllers/application_controller.rb:24:in
set_timezone'
setting this variable
set :custom_symlinks, { "library" => { "Symfony" => "/var/www/lib/symfony/src/Symfony" } }
will output (puts):
librarySymfony
If I execute the exported Capfile from the commandline it works well. Output is (puts):
librarySymfony/var/www/lib/symfony/src/Symfony
any suggestins?
This is a feature request for task specific variables. The best example is the deploy:web:disable task. I would like to be able to set the "reason" and "until" variables for that task. If I add these variable to the configuration they will be requested for all the deployment tasks when they aren't really relevant to the standard deploy tasks. This may not be the best example task as it accepts ENV variables, but of there was a way to set those too that would be great!
Thanks.
I run the webistrano, at the outset, the memory usage is 60M, but the memory usage go up as long as process run.
about 20 days , the memory usage go up to 300M.
there many data have to cache in the app process? if yes, which data will cache in app process?
Hi there,
is it possible to use Webistrano under Rails 3 / Ruby 1.9.2 ? Are you planning to do so?
Cheers
In order for me to deploy quickly, I have a browser bookmark to our Webistrano deployment page, e.g. http://www.example.com:8000/projects/1/stages/1/deployments/new?task=deploy
We use trac as a issue management system and I'd like to integrate the Webistrano deployment into trac using the deployment hyperlink above. It would be cool if I could pre-fill the deployment comment using data from the trac ticket. Is there any way I can do this? Does Webistrano have a API that could help?
Can you perhaps add indexes to the deployments table (and possibly others)? After a lot of deployments, loading the stage page for a project takes a really really long time.
We are using Webistrano to push out a PHP application, which generally works wonderfully.
However, some of the custom tasks we run during a deploy are quite verbose, printing lots of output. I'm finding that Webistrano is truncating the log output after a few hundred lines. i.e. we get a few hundred lines of output during deploys, then it just stops. The deploy continues, but there's no more output.
As a result, if the deploy fails after the log output stops, we have no idea why.
Is there someway we can have Webistrano not truncate the log output and show the full log until the deploy finishes?
Env:
Gentoo Base System release 2.0.1 ( Vserver guest )
ruby --version
ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-linux]
rails --version
Rails 3.0.7
Error:
ActionView::TemplateError (undefined method `length' for #Enumerable::Enumerator:0xe876ede4) on line #23 of app/views/users/_deployments.rhtml:
20: <%= link_to h(deployment.task), project_stage_deployment_path(deployment.stage.project, deployment.stage, deployment) %>
21: <%=h deployment.created_at.to_s(:log) %>
22: <%=h deployment.completed_at.to_s(:log) rescue nil %>
23: <%=h truncate(deployment.comment, 37) %>
24: <%= image_tag('peritor_theme/'+deployment.status_image)%>
25:
26: <% end %>
Steps to reproduce:
1.- Configure a normal project.
2.- Configure stage
3.- Deploy it.
4.- Click in back o list the stage info... ( http://192.168.1.10:3000/projects/1/stages/1 )
5.- Error.....
When you initiate a deploy it usually runs fine, but sometimes it doesn't even spin up. Usually this is a permissions thing, and the deployment doesn't even really 'start', just sits there endlessly in the 'running' state.
Sorry for pointing a lot at my blog, but if you need an example of this happening:
http://rubyglasses.blogspot.com/2009/12/getting-webistrano-to-deploy-under.html
The issue is that when this happens, you can't cancel the deployment. I'm guessing that because the system doesn't register the deployment as having really 'started' the cancel button doesn't show up. But because the deployment fell over, it'll never stop. The end result is that you can never cancel it and it stays in 'running' forever.
What I found then was while I was continually having to re-test (while fixing the permissions thing) , each time had to break the lock - because officially the deployment hadn't 'finished' even though the deploy process was clearly stillborn :(
Obviously this is an aesthetic issue rather than something that actually stops use - and thus not very high priority at all. But I thought you might want to know of what happens in the pathalogical case. :)
Taryn
Here's what I get when creating a new recipe:
NoMethodError (undefined method detect' for nil:NilClass): /vendor/plugins/version_fu/lib/version_fu.rb:98:in
create_new_version?'
/vendor/plugins/version_fu/lib/version_fu.rb:91:in check_for_new_version' /vendor/rails/activesupport/lib/active_support/callbacks.rb:178:in
send'
/vendor/rails/activesupport/lib/active_support/callbacks.rb:178:in evaluate_method' /vendor/rails/activesupport/lib/active_support/callbacks.rb:166:in
call'
/vendor/rails/activesupport/lib/active_support/callbacks.rb:93:in run' /vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in
each'
/vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in send' /vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in
run'
/vendor/rails/activesupport/lib/active_support/callbacks.rb:277:in run_callbacks' /vendor/rails/activerecord/lib/active_record/callbacks.rb:315:in
callback'
/vendor/rails/activerecord/lib/active_record/callbacks.rb:221:in create_or_update' /vendor/rails/activerecord/lib/active_record/base.rb:2383:in
save_without_validation'
/vendor/rails/activerecord/lib/active_record/validations.rb:1009:in save_without_dirty' /vendor/rails/activerecord/lib/active_record/dirty.rb:79:in
save_without_transactions'
/vendor/rails/activerecord/lib/active_record/transactions.rb:179:in send' /vendor/rails/activerecord/lib/active_record/transactions.rb:179:in
with_transaction_returning_status'
/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:66:in transaction' /vendor/rails/activerecord/lib/active_record/transactions.rb:129:in
transaction'
/vendor/rails/activerecord/lib/active_record/transactions.rb:138:in transaction' /vendor/rails/activerecord/lib/active_record/transactions.rb:178:in
with_transaction_returning_status'
/vendor/rails/activerecord/lib/active_record/transactions.rb:146:in save' /vendor/rails/activerecord/lib/active_record/transactions.rb:158:in
rollback_active_record_state!'
/vendor/rails/activerecord/lib/active_record/transactions.rb:146:in save' /app/controllers/recipes_controller.rb:42:in
create'
subj :)
It is brilliant that Webistrano keeps previous versions of recipes after each edit. It would be even better if it displayed the time each version was created.
Use Case: Bob notices that deployments are taking longer than usual, he wants to find out if anyone recently changed the deployment recipe. He goes to the recipe page in Webistrano, he can see there are many versions of the recipe but can't see the date of the latest change.
I do not believe that there is currently a way to deploy a specific branch from the command line. For instance, if I set the branch in the UI to prompt for a stage, I am not able to deploy that stage from the cli.
We have experienced an issue upgrading from 1.2 to 1.5. The code was checked out on a new server,
the database was dumped and loaded on the new server. The migrations were run. All dependencies are installed.
Webistrano runs, but when you go to deploy, the following is output to the web interface "Log":
*** is not a class/module *** /var/www/deploy/webistrano/app/models/project.rb:31:in `tasks' *** /var/www/deploy/webistrano/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:217:in `send' *** /var/www/deploy/webistrano/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:217:in `method_missing' *** /var/www/deploy/webistrano/lib/webistrano/deployer.rb:160:in `load_project_template_tasks' *** /var/www/deploy/webistrano/lib/webistrano/deployer.rb:118:in `set_up_config' *** /var/www/deploy/webistrano/lib/webistrano/deployer.rb:65:in `execute!' *** /var/www/deploy/webistrano/lib/webistrano/deployer.rb:62:in `catch' *** /var/www/deploy/webistrano/lib/webistrano/deployer.rb:62:in `execute!' *** /var/www/deploy/webistrano/lib/webistrano/deployer.rb:46:in `invoke_task!' *** (eval):1 *** /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `eval' *** /var/www/deploy/webistrano/vendor/rails/railties/lib/commands/runner.rb:48 *** /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' *** /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' *** script/runner:3
The server logs have nothing. This is the only helpful output we can gather.
when i was run
[root@node2 webistrano]# RAILS_ENV=production rake db:migrate
rake aborted!
undefined method symlink' for class
Capistrano::Configuration::Namespaces::Namespace'
/var/www/html/webistrano/config/initializers/capistrano_namespace_rake_fix.rb:2
/var/www/html/webistrano/config/initializers/capistrano_namespace_rake_fix.rb:2:in class_eval' /var/www/html/webistrano/config/initializers/capistrano_namespace_rake_fix.rb:2 /var/www/html/webistrano/vendor/bundler/ruby/1.8/gems/activesupport-2.3.11/lib/active_support/dependencies.rb:173:in
load_without_new_constant_marking'
/var/www/html/webistrano/vendor/bundler/ruby/1.8/gems/activesupport-2.3.11/lib/active_support/dependencies.rb:173:in load' /var/www/html/webistrano/vendor/bundler/ruby/1.8/gems/rails-2.3.11/lib/initializer.rb:622:in
load_application_initializers'
/var/www/html/webistrano/vendor/bundler/ruby/1.8/gems/rails-2.3.11/lib/initializer.rb:621:in each' /var/www/html/webistrano/vendor/bundler/ruby/1.8/gems/rails-2.3.11/lib/initializer.rb:621:in
load_application_initializers'
/var/www/html/webistrano/vendor/bundler/ruby/1.8/gems/rails-2.3.11/lib/initializer.rb:176:in process' /var/www/html/webistrano/vendor/bundler/ruby/1.8/gems/rails-2.3.11/lib/initializer.rb:113:in
send'
/var/www/html/webistrano/vendor/bundler/ruby/1.8/gems/rails-2.3.11/lib/initializer.rb:113:in run' /var/www/html/webistrano/config/environment.rb:16 /var/www/html/webistrano/vendor/bundler/ruby/1.8/gems/activesupport-2.3.11/lib/active_support/dependencies.rb:182:in
require'
/var/www/html/webistrano/vendor/bundler/ruby/1.8/gems/activesupport-2.3.11/lib/active_support/dependencies.rb:182:in require' /var/www/html/webistrano/vendor/bundler/ruby/1.8/gems/activesupport-2.3.11/lib/active_support/dependencies.rb:547:in
new_constants_in'
/var/www/html/webistrano/vendor/bundler/ruby/1.8/gems/activesupport-2.3.11/lib/active_support/dependencies.rb:182:in `require'
/var/www/html/webistrano/vendor/bundler/ruby/1.8/gems/rails-2.3.11/lib/tasks/misc.rake:4
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
[root@node2 webistrano]# bundle install
Fetching source index for http://rubygems.org/
Using rake (10.0.4)
Using activesupport (2.3.11)
Using rack (1.1.6)
Using actionpack (2.3.11)
Using actionmailer (2.3.11)
Using activerecord (2.3.11)
Using activeresource (2.3.11)
Using bundler (1.0.22)
Using highline (1.6.16)
Using net-ssh (2.6.6)
Using net-scp (1.1.0)
Using net-sftp (2.1.1)
Using net-ssh-gateway (1.2.0)
Using capistrano (2.6.0)
Using erubis (2.7.0)
Using exception_notification (2.3.3.0)
Installing json (1.7.7) with native extensions
Using mocha (0.9.8)
Using mysql (2.9.1)
Using open4 (0.9.3)
Using rails (2.3.11)
Installing rdoc (4.0.1)
Using syntax (1.0.0)
Your bundle is complete! It was installed into ./vendor/bundler
i was chinese man,my english is not good. please help me . thanks a lot!
It would be nice if Webistrano showed the time elapsed between each command executed as part of the deployment recipe.
Use Case: Bob notices that deployments are taking longer than usual. He goes to the deployment log page in Webistrano. There are no timings so he can't see which command its taking the longest to execute.
Hi there,
great work! I think webistrano is a neat solution. I've got a few suggestions for future features that you can take or leave as you will. This is one of them... :)
Sometimes the deploy fails... and sometimes it sits there spinning endlessly.
(see http://rubyglasses.blogspot.com/2009/12/getting-webistrano-to-deploy-under.html for an example)
It'd be really nice if you could optionally surround the deploy process with a timeout... just in case.
Cheers,
Taryn
Hi,
Has anyone tried it running at Heroku(.com). Does it work there?
Thanks.
In Websitrano::Deployer.set_up_config (lib/webistrano/deployer.rb, line 110) the order in which the config is loaded prohibits :webistrano_stage and :webistrano_project being used in other config variables such as :deploy_to.
For example, I want to set :deploy_to to "/path/to/deployments/#{application}/#{webistrano_stage}" but :webistrano_stage is not set until after these variables have been parsed.
I think the fix is to change the order of loading in set_up_config from
set_stage_configuration(config)
set_stage_roles(config)
set_project_and_stage_names(config)
to
set_project_and_stage_names(config)
set_stage_configuration(config)
set_stage_roles(config)
This has worked so far for me but I didn't feel it was worth creating a fork and a pull request just for that little bit of code. Also, I don't know if this is going to break anything else further down the line.
Tristan
The gemfile specifies a version of bundler needed (~>1.0.10) that is older than the current (1.2.x). This was temporarily fixed in #28, but needs to be updated after testing with the latest version of bundler, to make installation without arbitrarily changing the gemfile to work around it easier.
I would be userful to have the user name available in order to push messages which contain the author of the deploy.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.