Skip to content

Instantly share code, notes, and snippets.

View keithpitty's full-sized avatar

Keith Pitty keithpitty

View GitHub Profile
LAST SNIPPET OF OUTPUT FROM RUNNING sprinkle -c -v -s config/install.rb
--> Installing passenger for roles: app
/usr/local/lib/ruby/gems/1.8/gems/capistrano-2.5.9/lib/capistrano/command.rb:173:in `process!': failed: "sh -c 'sudo -p '\\''sudo password: '\\'' /etc/init.d/apache2 restart'" on example.com (Capistrano::CommandError)
from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.5.9/lib/capistrano/command.rb:133:in `process'
from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.5.9/lib/capistrano/configuration/actions/invocation.rb:173:in `run_tree'
from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.5.9/lib/capistrano/configuration/connections.rb:172:in `execute_on_servers'
from /usr/local/lib/ruby/gems/1.8/gems/sprinkle-0.2.6/bin/../lib/sprinkle/verify.rb:98:in `each_slice'
from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.5.9/lib/capistrano/configuration/connections.rb:160:in `each'
from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.5.9/lib/capistrano/configuration/connections.rb:160:in `each_slice
$ sprinkle -c -v -t -s config/install.rb
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:156:in `require': super: no superclass method `require' (NoMethodError)
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:521:in `new_constants_in'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:156:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/core_ext/module/attribute_accessors.rb:38:in `to_proc'
from config/install.rb:4:in `each'
from config/install.rb:4:in `sprinkle'
from /usr/local/lib/ruby/gems/1.8/gems/sprinkle-0.2.6/bin/sprinkle:86
from /usr/local/bin/sprinkle:19:in `load'
from /usr/local/bin/sprinkle:19
getInitialTab : function() {
var active = $$(".active-tab");
if(active.length) {
return active.first().down();
} else {
if(document.location.href.match(/#(\w.+)/)) {
var loc = RegExp.$1;
var elm = this.menu.find(function(value) { return value.href.match(/#(\w.+)/)[1] == loc; });
return elm || this.menu.first();
} else {
== AddCategoryToAssets: migrating ============================================
-- add_column(:assets, :category_id, :integer)
-> 0.1421s
-- add_index(:assets, :category_id)
-> 0.0130s
== AddCategoryToAssets: migrated (0.1555s) ===================================
== AddPermalinkToCategories: migrating =======================================
-- add_column(:categories, :permalink, :string, {:limit=>255})
-> 0.0419s
'WeatherController When dealing with weather with controller isolated from views should be successful' FAILED
expected success? to return true, got false
./spec/controllers/weather_controller_spec.rb:11: