This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*! | |
| * jQuery lightweight plugin boilerplate | |
| * Original author: @ajpiano | |
| * Further changes, comments: @addyosmani | |
| * Licensed under the MIT license | |
| */ | |
| ;(function ( $, window, document, undefined ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def subproduct? | |
| !self.parent.blank? | |
| end | |
| def self.not_sub | |
| returning [] do |value| | |
| Product.each do |x| | |
| if !x.subproduct? | |
| value << x | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /usr/local/lib/site_ruby/1.8/rubygems.rb:523:in `report_activate_error': Could not find RubyGem rake (>= 0) (Gem::LoadError) | |
| from /usr/local/lib/site_ruby/1.8/rubygems.rb:131:in `activate' | |
| from /usr/local/lib/site_ruby/1.8/rubygems.rb:49:in `gem' | |
| from /home/loic/gem-install/bin/rake:18 | |
| /usr/local/lib/site_ruby/1.8/rubygems.rb:523:in `report_activate_error': Could not find RubyGem rake (>= 0) (Gem::LoadError) | |
| from /usr/local/lib/site_ruby/1.8/rubygems.rb:131:in `activate' | |
| from /usr/local/lib/site_ruby/1.8/rubygems.rb:49:in `gem' | |
| from /home/loic/gem-install/bin/rake:18 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rake aborted!rake aborted! | |
| uninitialized constant Bundler | |
| uninitialized constant Bundler | |
| /home/loic/repos/plusandmore/releases/20100919162044/Rakefile:4/home/loic/repos/plusandmore/releases/20100919162044/Rakefile:4 | |
| (See full trace by running task with --trace)(See full trace by running task with --trace) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Begin Whenever generated tasks for: app | |
| PATH=/home/loic/.rvm/bin:/home/loic/gem-install/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games | |
| 0 5 * * * cd /home/loic/repos/plusandmore/releases/20100919162044 && RAILS_ENV=production /usr/bin/env rake -s sitemap:refresh >> /home/loic/logs/cron.log 2>&1 | |
| 0 5 * * * cd /home/loic/repos/plusandmore/releases/20100919162044 && RAILS_ENV=production /usr/bin/env rake -s ts:rebuild >> /home/loic/logs/cron.log 2>&1 | |
| # End Whenever generated tasks for: app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| after "deploy:symlink", "deploy:update_crontab" | |
| namespace :deploy do | |
| desc "Update the crontab file" | |
| task :update_crontab, :roles => :db do | |
| run "cd #{release_path} && whenever --update-crontab #{:app}" | |
| end | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| every 1.day, :at => '5:00 am' do | |
| rake "-s sitemap:refresh" | |
| rake "-s ts:rebuild" | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| uninitialized constant Bundler | |
| uninitialized constant Bundler | |
| /home/loic/xxxx/releases/20100919162044/Rakefile:4 | |
| /home/loic/xxxx/releases/20100919162044/Rakefile:4(See full trace by running task with --trace) |
NewerOlder