Created
July 24, 2011 07:54
-
-
Save sid137/1102393 to your computer and use it in GitHub Desktop.
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
| class LogWorker < SimpleWorker::Base | |
| def run | |
| log "Hello World" | |
| 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
| MONGO_CONFIG = YAML.load(ERB.new(File.new(Rails.root.join('config/mongoid.yml')).read).result) | |
| AWS_CONFIG = YAML::load(ERB.new(File.read(Rails.root.join('config/aws.yml'))).result) | |
| SimpleWorker.configure do |config| | |
| config.access_key = ENV['SIMPLEWORKER_ACCESS_KEY'] | |
| config.secret_key = ENV['SIMPLEWORKER_SECRET_KEY'] | |
| # Use the line below if you're using an ActiveRecord database | |
| config.auto_merge = true | |
| #config.database = Rails.configuration.database_configuration[Rails.env] | |
| config.global_attributes[:mongodb_settings] = MONGO_CONFIG[Rails.env] | |
| config.global_attributes[:aws_settings] = AWS_CONFIG[Rails.env] | |
| 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
| # Edit this Gemfile to bundle your application's dependencies. | |
| source 'http://rubygems.org' | |
| gem 'rails', '3.0.9' #, :git => 'git://github.com/rails/rails.git' | |
| gem 'rake', '0.8.7' | |
| gem "haml-rails" | |
| gem "jquery-rails" | |
| # Sends notifications of errors on Production app | |
| gem "hoptoad_notifier" | |
| # asset packaging | |
| gem "jammit" | |
| gem "sinatra" | |
| # Used to simplify user registrations and logins | |
| # Pined to ref, as there is problem on devise HEAD | |
| gem "devise", :git => "git://github.com/plataformatec/devise.git", :ref => '4964f53a42a3d434ee6d731d6f999d8dae13dada' | |
| #gem "acts_as_follower", :path => '/home/sid137/tracking/acts_as_follower' | |
| gem "acts_as_follower", :git => "git://github.com/sid137/acts_as_follower.git" | |
| # Allows us to keep an order of a user's items in their collection | |
| gem "acts_as_list" | |
| gem "mongoid" | |
| gem "mongo" | |
| gem "bson_ext" | |
| gem "simple_worker" | |
| gem "delayed_job" | |
| gem "hirefireapp" | |
| gem "aws-sdk"#, :git => "git clone git://github.com/amazonwebservices/aws-sdk-for-ruby.git" | |
| # Default model values | |
| # https://github.com/FooBarWidget/default_value_for | |
| gem "default_value_for" | |
| # Gem for uploading images. More flexible than "paperclip" | |
| gem "carrierwave", :git => 'git://github.com/jnicklas/carrierwave.git' | |
| gem "fog" | |
| # Used to that we can resize images uploaded through carrierwave, using | |
| # ImageMagick | |
| gem "rmagick" | |
| gem "friendly_id", :git => "https://github.com/norman/friendly_id.git" | |
| # Social Media Gems FB Connect, FB, and Twitter | |
| #gem "faraday", :git => "git://github.com/technoweenie/faraday.git" | |
| gem "omniauth", '0.2.6' #:git => "git://github.com/intridea/omniauth.git"# ,:ref => "b9fe79961ab56041dbf9" | |
| gem "fb_graph" | |
| gem "twitter"#, :git => 'git://github.com/jnunemaker/twitter.git' | |
| # Why is this in production? | |
| gem 'rails-erd', :git => "git://github.com/voormedia/rails-erd.git" | |
| gem "rest-client" | |
| gem "nokogiri" | |
| gem "hashie" | |
| # TO GO - I don't need these dependencies.. get rid of them | |
| # Gem to abstract away the dplication common in standard restful controllers | |
| gem 'inherited_resources' | |
| # Apparently needed to make the uploadify multifile uploader work | |
| gem "flash_cookie_session" | |
| #gem "squeel" # Last officially released gem | |
| # gem "squeel", :git => "git://github.com/ernie/squeel.git" # Track git repo | |
| group :development, :test do | |
| gem "pg" | |
| gem "sqlite3-ruby", :require => 'sqlite3' | |
| gem "ruby-debug19", :require => 'ruby-debug' | |
| gem "guard" | |
| gem "guard-bundler" | |
| gem "guard-jammit" | |
| gem "guard-rails", :git => "git://github.com/johnbintz/guard-rails.git" | |
| gem "guard-rspec" | |
| gem "guard-shell" | |
| gem "guard-compass" | |
| gem "guard-livereload" | |
| gem 'rb-fsevent', :require => false | |
| gem "rb-inotify", :require => false | |
| gem "libnotify", :require => false | |
| # Easily create database models for site simulation | |
| gem "factory_girl_rails" | |
| # Useful for fake data generation | |
| gem "faker" | |
| gem "randexp" | |
| gem "random_data" | |
| gem 'forgery' | |
| gem "lorempixum", :require => 'lorempixum' | |
| # Needed to run html2haml to convert html to haml | |
| gem "hpricot" | |
| #gem "heroku" | |
| gem "taps" | |
| #gem "heroku-rails", :git => "git://github.com/railsjedi/heroku-rails.git" | |
| gem "heroku-rails", :git => "git://github.com/sid137/heroku-rails.git" | |
| # nice table displays in Rails console | |
| gem "hirb" | |
| gem "facebook_test_users", :git => "git://github.com/sid137/facebook_test_users.git" | |
| # Allows us to push the local development database up to Heroku, and pull the | |
| # heroku db down locally | |
| gem "yaml_db" | |
| gem "escape_utils" | |
| # Sass and Blueprint based css framework for dev machine | |
| # use "compass compile . " to compile css before deployment | |
| gem "compass", ">=0.11.1" | |
| # Print a header in app/model/*.rb files, listing the db columns present for | |
| # each model | |
| gem "selenium-webdriver" | |
| gem "rack-test" | |
| gem "capybara", :require => 'capybara/rspec' | |
| gem "launchy" | |
| gem 'database_cleaner', :git => 'git://github.com/bmabey/database_cleaner.git' | |
| gem "rspec-core", "2.6.4" | |
| gem "rspec-rails"# , '2.6.0' #, '2.5.0' | |
| #gem 'shoulda-matchers', :git => 'git://github.com/thoughtbot/shoulda-matchers.git' | |
| #gem 'shoulda-matchers', :git => 'git://github.com/sid137/shoulda-matchers.git' | |
| gem "ZenTest" | |
| gem "autotest-rails" | |
| 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
| GIT | |
| remote: git://github.com/bmabey/database_cleaner.git | |
| revision: 8bcee52a94360f3c8ff727def4de2e64dd2e2841 | |
| specs: | |
| database_cleaner (0.6.7) | |
| GIT | |
| remote: git://github.com/jnicklas/carrierwave.git | |
| revision: 3850f67ce1b7d25db595c3e2ec28b81ac172467c | |
| specs: | |
| carrierwave (0.5.4) | |
| activesupport (~> 3.0) | |
| GIT | |
| remote: git://github.com/johnbintz/guard-rails.git | |
| revision: 7429b1fbf5585b20c2634d69eb6cfcc1355e07e9 | |
| specs: | |
| guard-rails (0.0.3) | |
| guard (>= 0.2.2) | |
| GIT | |
| remote: git://github.com/plataformatec/devise.git | |
| revision: 4964f53a42a3d434ee6d731d6f999d8dae13dada | |
| ref: 4964f53a42a3d434ee6d731d6f999d8dae13dada | |
| specs: | |
| devise (1.4.0.dev) | |
| bcrypt-ruby (~> 2.1.2) | |
| orm_adapter (~> 0.0.3) | |
| warden (~> 1.0.3) | |
| GIT | |
| remote: git://github.com/sid137/acts_as_follower.git | |
| revision: 43ae06e94ed9b797d611c5294967b5b98a79b48d | |
| specs: | |
| acts_as_follower (0.0.0) | |
| GIT | |
| remote: git://github.com/sid137/facebook_test_users.git | |
| revision: 271326ff46bc43303fbe4f18701b95832953d946 | |
| specs: | |
| facebook_test_users (0.0.2) | |
| json_pure (~> 1.5.0) | |
| rest-client (~> 1.6.1) | |
| thor (~> 0.14.6) | |
| GIT | |
| remote: git://github.com/sid137/heroku-rails.git | |
| revision: c75aa7c59faf09bc03bdecb7ba0fce36c85bae6b | |
| specs: | |
| heroku-rails (0.3.2) | |
| heroku (>= 1.11.0) | |
| GIT | |
| remote: git://github.com/voormedia/rails-erd.git | |
| revision: 643c3ab9aa811758d278d3ddab0268f47e2b97d9 | |
| specs: | |
| rails-erd (0.5.0pre) | |
| activerecord (~> 3.0) | |
| activesupport (~> 3.0) | |
| choice (~> 0.1.4) | |
| ruby-graphviz (~> 1.0) | |
| GIT | |
| remote: https://github.com/norman/friendly_id.git | |
| revision: d76df0bd40d82f010525fbff794baf857bb647a3 | |
| specs: | |
| friendly_id (3.3.0.rc2) | |
| babosa (~> 0.3.0) | |
| GEM | |
| remote: http://rubygems.org/ | |
| specs: | |
| POpen4 (0.1.4) | |
| Platform (>= 0.4.0) | |
| open4 | |
| ParseTree (3.0.7) | |
| RubyInline (>= 3.7.0) | |
| sexp_processor (>= 3.0.0) | |
| Platform (0.4.0) | |
| RubyInline (3.9.0) | |
| ZenTest (~> 4.3) | |
| ZenTest (4.5.0) | |
| abstract (1.0.0) | |
| actionmailer (3.0.9) | |
| actionpack (= 3.0.9) | |
| mail (~> 2.2.19) | |
| actionpack (3.0.9) | |
| activemodel (= 3.0.9) | |
| activesupport (= 3.0.9) | |
| builder (~> 2.1.2) | |
| erubis (~> 2.6.6) | |
| i18n (~> 0.5.0) | |
| rack (~> 1.2.1) | |
| rack-mount (~> 0.6.14) | |
| rack-test (~> 0.5.7) | |
| tzinfo (~> 0.3.23) | |
| activemodel (3.0.9) | |
| activesupport (= 3.0.9) | |
| builder (~> 2.1.2) | |
| i18n (~> 0.5.0) | |
| activerecord (3.0.9) | |
| activemodel (= 3.0.9) | |
| activesupport (= 3.0.9) | |
| arel (~> 2.0.10) | |
| tzinfo (~> 0.3.23) | |
| activeresource (3.0.9) | |
| activemodel (= 3.0.9) | |
| activesupport (= 3.0.9) | |
| activesupport (3.0.9) | |
| acts_as_list (0.1.3) | |
| addressable (2.2.4) | |
| archive-tar-minitar (0.5.2) | |
| arel (2.0.10) | |
| attr_required (0.0.3) | |
| autotest-rails (4.1.0) | |
| ZenTest | |
| aws-sdk (1.0.2) | |
| httparty (~> 0.7) | |
| json (~> 1.4) | |
| nokogiri (~> 1.4.4) | |
| uuidtools (~> 2.1) | |
| babosa (0.3.5) | |
| bcrypt-ruby (2.1.4) | |
| bson (1.3.1) | |
| bson_ext (1.3.1) | |
| builder (2.1.2) | |
| capybara (1.0.0) | |
| mime-types (>= 1.16) | |
| nokogiri (>= 1.3.3) | |
| rack (>= 1.0.0) | |
| rack-test (>= 0.5.4) | |
| selenium-webdriver (~> 0.2.0) | |
| xpath (~> 0.1.4) | |
| childprocess (0.1.9) | |
| ffi (~> 1.0.6) | |
| choice (0.1.4) | |
| chunky_png (1.2.0) | |
| columnize (0.3.3) | |
| compass (0.11.3) | |
| chunky_png (~> 1.2) | |
| fssm (>= 0.2.7) | |
| sass (~> 3.1) | |
| configuration (1.3.1) | |
| crack (0.1.8) | |
| daemons (1.1.4) | |
| default_value_for (1.0.3) | |
| delayed_job (2.1.4) | |
| activesupport (~> 3.0) | |
| daemons | |
| diff-lcs (1.1.2) | |
| em-websocket (0.3.0) | |
| addressable (>= 2.1.1) | |
| eventmachine (>= 0.12.9) | |
| erubis (2.6.6) | |
| abstract (>= 1.0.0) | |
| escape_utils (0.2.3) | |
| eventmachine (0.12.10) | |
| excon (0.6.3) | |
| factory_girl (1.3.3) | |
| factory_girl_rails (1.0.1) | |
| factory_girl (~> 1.3) | |
| railties (>= 3.0.0) | |
| faker (0.9.5) | |
| i18n (~> 0.4) | |
| faraday (0.6.1) | |
| addressable (~> 2.2.4) | |
| multipart-post (~> 1.1.0) | |
| rack (>= 1.1.0, < 2) | |
| faraday_middleware (0.6.5) | |
| faraday (~> 0.6.0) | |
| fb_graph (1.9.1) | |
| httpclient (>= 2.2.0.2) | |
| rack-oauth2 (>= 0.8.0) | |
| ffi (1.0.9) | |
| flash_cookie_session (1.1.1) | |
| rails (~> 3.0) | |
| fog (0.9.0) | |
| builder | |
| excon (~> 0.6.1) | |
| formatador (>= 0.1.3) | |
| json | |
| mime-types | |
| net-scp (>= 1.0.4) | |
| net-ssh (>= 2.1.4) | |
| nokogiri (>= 1.4.4) | |
| ruby-hmac | |
| forgery (0.3.10) | |
| nokogiri (~> 1.4) | |
| formatador (0.1.4) | |
| fssm (0.2.7) | |
| guard (0.5.0) | |
| thor (~> 0.14.6) | |
| guard-bundler (0.1.3) | |
| bundler (>= 1.0.0) | |
| guard (>= 0.2.2) | |
| guard-compass (0.0.6) | |
| compass (>= 0.10.5) | |
| guard (>= 0.2.1) | |
| guard-jammit (0.1.0) | |
| guard | |
| jammit | |
| guard-livereload (0.2.0) | |
| em-websocket (>= 0.2.0) | |
| guard (>= 0.4.0) | |
| json (>= 1.5.1) | |
| guard-rspec (0.4.0) | |
| guard (>= 0.4.0) | |
| guard-shell (0.1.1) | |
| guard (>= 0.2.0) | |
| haml (3.1.2) | |
| haml-rails (0.3.4) | |
| actionpack (~> 3.0) | |
| activesupport (~> 3.0) | |
| haml (~> 3.0) | |
| railties (~> 3.0) | |
| has_scope (0.5.0) | |
| hashie (1.0.0) | |
| heroku (2.4.0) | |
| launchy (>= 0.3.2) | |
| rest-client (~> 1.6.1) | |
| term-ansicolor (~> 1.0.5) | |
| hirb (0.4.5) | |
| hirefireapp (0.0.1) | |
| hoptoad_notifier (2.4.11) | |
| activesupport | |
| builder | |
| hpricot (0.8.4) | |
| httparty (0.7.8) | |
| crack (= 0.1.8) | |
| httpclient (2.2.1) | |
| i18n (0.5.0) | |
| inherited_resources (1.2.2) | |
| has_scope (~> 0.5.0) | |
| responders (~> 0.6.0) | |
| jammit (0.6.3) | |
| yui-compressor (>= 0.9.3) | |
| jquery-rails (1.0.12) | |
| railties (~> 3.0) | |
| thor (~> 0.14) | |
| json (1.5.3) | |
| json_pure (1.5.3) | |
| launchy (0.4.0) | |
| configuration (>= 0.0.5) | |
| rake (>= 0.8.1) | |
| libnotify (0.5.6) | |
| linecache19 (0.5.12) | |
| ruby_core_source (>= 0.1.4) | |
| lorempixum (0.0.3) | |
| mail (2.2.19) | |
| activesupport (>= 2.3.6) | |
| i18n (>= 0.4.0) | |
| mime-types (~> 1.16) | |
| treetop (~> 1.4.8) | |
| mime-types (1.16) | |
| mongo (1.3.1) | |
| bson (>= 1.3.1) | |
| mongoid (2.0.2) | |
| activemodel (~> 3.0) | |
| mongo (~> 1.3) | |
| tzinfo (~> 0.3.22) | |
| multi_json (1.0.3) | |
| multi_xml (0.2.2) | |
| multipart-post (1.1.2) | |
| net-ldap (0.2.2) | |
| net-scp (1.0.4) | |
| net-ssh (>= 1.99.1) | |
| net-ssh (2.1.4) | |
| nokogiri (1.4.7) | |
| oa-basic (0.2.6) | |
| oa-core (= 0.2.6) | |
| rest-client (~> 1.6.0) | |
| oa-core (0.2.6) | |
| oa-enterprise (0.2.6) | |
| addressable (= 2.2.4) | |
| net-ldap (~> 0.2.2) | |
| nokogiri (~> 1.4.2) | |
| oa-core (= 0.2.6) | |
| pyu-ruby-sasl (~> 0.0.3.1) | |
| rubyntlm (~> 0.1.1) | |
| oa-more (0.2.6) | |
| multi_json (~> 1.0.0) | |
| oa-core (= 0.2.6) | |
| rest-client (~> 1.6.0) | |
| oa-oauth (0.2.6) | |
| faraday (~> 0.6.1) | |
| multi_json (~> 1.0.0) | |
| multi_xml (~> 0.2.2) | |
| oa-core (= 0.2.6) | |
| oauth (~> 0.4.0) | |
| oauth2 (~> 0.4.1) | |
| oa-openid (0.2.6) | |
| oa-core (= 0.2.6) | |
| rack-openid (~> 1.3.1) | |
| ruby-openid-apps-discovery (~> 1.2.0) | |
| oauth (0.4.5) | |
| oauth2 (0.4.1) | |
| faraday (~> 0.6.1) | |
| multi_json (>= 0.0.5) | |
| omniauth (0.2.6) | |
| oa-basic (= 0.2.6) | |
| oa-core (= 0.2.6) | |
| oa-enterprise (= 0.2.6) | |
| oa-more (= 0.2.6) | |
| oa-oauth (= 0.2.6) | |
| oa-openid (= 0.2.6) | |
| open4 (1.1.0) | |
| orm_adapter (0.0.5) | |
| pg (0.11.0) | |
| polyglot (0.3.1) | |
| pyu-ruby-sasl (0.0.3.3) | |
| rack (1.2.3) | |
| rack-mount (0.6.14) | |
| rack (>= 1.0.0) | |
| rack-oauth2 (0.8.3) | |
| activesupport (>= 2.3) | |
| attr_required (>= 0.0.3) | |
| httpclient (>= 2.2.0.2) | |
| i18n | |
| json (>= 1.4.3) | |
| rack (>= 1.1) | |
| rack-openid (1.3.1) | |
| rack (>= 1.1.0) | |
| ruby-openid (>= 2.1.8) | |
| rack-test (0.5.7) | |
| rack (>= 1.0) | |
| rails (3.0.9) | |
| actionmailer (= 3.0.9) | |
| actionpack (= 3.0.9) | |
| activerecord (= 3.0.9) | |
| activeresource (= 3.0.9) | |
| activesupport (= 3.0.9) | |
| bundler (~> 1.0) | |
| railties (= 3.0.9) | |
| railties (3.0.9) | |
| actionpack (= 3.0.9) | |
| activesupport (= 3.0.9) | |
| rake (>= 0.8.7) | |
| rdoc (~> 3.4) | |
| thor (~> 0.14.4) | |
| rake (0.8.7) | |
| randexp (0.1.5) | |
| ParseTree | |
| random_data (1.5.2) | |
| rb-fsevent (0.4.0) | |
| rb-inotify (0.8.5) | |
| ffi (>= 0.5.0) | |
| rdoc (3.8) | |
| responders (0.6.4) | |
| rest-client (1.6.3) | |
| mime-types (>= 1.16) | |
| rmagick (2.13.1) | |
| rspec (2.6.0) | |
| rspec-core (~> 2.6.0) | |
| rspec-expectations (~> 2.6.0) | |
| rspec-mocks (~> 2.6.0) | |
| rspec-core (2.6.4) | |
| rspec-expectations (2.6.0) | |
| diff-lcs (~> 1.1.2) | |
| rspec-mocks (2.6.0) | |
| rspec-rails (2.6.1) | |
| actionpack (~> 3.0) | |
| activesupport (~> 3.0) | |
| railties (~> 3.0) | |
| rspec (~> 2.6.0) | |
| ruby-debug-base19 (0.11.25) | |
| columnize (>= 0.3.1) | |
| linecache19 (>= 0.5.11) | |
| ruby_core_source (>= 0.1.4) | |
| ruby-debug19 (0.11.6) | |
| columnize (>= 0.3.1) | |
| linecache19 (>= 0.5.11) | |
| ruby-debug-base19 (>= 0.11.19) | |
| ruby-graphviz (1.0.0) | |
| ruby-hmac (0.4.0) | |
| ruby-openid (2.1.8) | |
| ruby-openid-apps-discovery (1.2.0) | |
| ruby-openid (>= 2.1.7) | |
| ruby_core_source (0.1.5) | |
| archive-tar-minitar (>= 0.5.2) | |
| rubyntlm (0.1.1) | |
| rubyzip (0.9.4) | |
| sass (3.1.4) | |
| selenium-webdriver (0.2.2) | |
| childprocess (>= 0.1.9) | |
| ffi (>= 1.0.7) | |
| json_pure | |
| rubyzip | |
| sequel (3.20.0) | |
| sexp_processor (3.0.5) | |
| simple_oauth (0.1.5) | |
| simple_worker (0.7.2) | |
| rest-client | |
| zip | |
| sinatra (1.0) | |
| rack (>= 1.0) | |
| sqlite3 (1.3.3) | |
| sqlite3-ruby (1.3.3) | |
| sqlite3 (>= 1.3.3) | |
| taps (0.3.23) | |
| rack (>= 1.0.1) | |
| rest-client (< 1.7.0, >= 1.4.0) | |
| sequel (~> 3.20.0) | |
| sinatra (~> 1.0.0) | |
| sqlite3-ruby (~> 1.2) | |
| term-ansicolor (1.0.6) | |
| thor (0.14.6) | |
| treetop (1.4.9) | |
| polyglot (>= 0.3.1) | |
| twitter (1.6.0) | |
| faraday (~> 0.6.1) | |
| faraday_middleware (~> 0.6.3) | |
| hashie (~> 1.0.0) | |
| multi_json (~> 1.0.0) | |
| multi_xml (~> 0.2.0) | |
| simple_oauth (~> 0.1.5) | |
| tzinfo (0.3.29) | |
| uuidtools (2.1.2) | |
| warden (1.0.4) | |
| rack (>= 1.0) | |
| xpath (0.1.4) | |
| nokogiri (~> 1.3) | |
| yaml_db (0.2.1) | |
| yui-compressor (0.9.6) | |
| POpen4 (>= 0.1.4) | |
| zip (2.0.2) | |
| PLATFORMS | |
| ruby | |
| DEPENDENCIES | |
| ZenTest | |
| acts_as_follower! | |
| acts_as_list | |
| autotest-rails | |
| aws-sdk | |
| bson_ext | |
| capybara | |
| carrierwave! | |
| compass (>= 0.11.1) | |
| database_cleaner! | |
| default_value_for | |
| delayed_job | |
| devise! | |
| escape_utils | |
| facebook_test_users! | |
| factory_girl_rails | |
| faker | |
| fb_graph | |
| flash_cookie_session | |
| fog | |
| forgery | |
| friendly_id! | |
| guard | |
| guard-bundler | |
| guard-compass | |
| guard-jammit | |
| guard-livereload | |
| guard-rails! | |
| guard-rspec | |
| guard-shell | |
| haml-rails | |
| hashie | |
| heroku-rails! | |
| hirb | |
| hirefireapp | |
| hoptoad_notifier | |
| hpricot | |
| inherited_resources | |
| jammit | |
| jquery-rails | |
| launchy | |
| libnotify | |
| lorempixum | |
| mongo | |
| mongoid | |
| nokogiri | |
| omniauth (= 0.2.6) | |
| pg | |
| rack-test | |
| rails (= 3.0.9) | |
| rails-erd! | |
| rake (= 0.8.7) | |
| randexp | |
| random_data | |
| rb-fsevent | |
| rb-inotify | |
| rest-client | |
| rmagick | |
| rspec-core (= 2.6.4) | |
| rspec-rails | |
| ruby-debug19 | |
| selenium-webdriver | |
| simple_worker | |
| sinatra | |
| sqlite3-ruby | |
| taps | |
| yaml_db |
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
| Job Details | |
| Class LogWorker | |
| Status error | |
| Project prizzm_development | |
| Revision 1 | |
| Priority 0 | |
| Instance ID: ADMIN ONLY i-9f16dcfe | |
| Created 24 Jul, 11 at 06:10 | |
| Started at 24 Jul, 11 at 06:15 | |
| Ended at 24 Jul, 11 at 06:15 | |
| Duration 30 seconds | |
| Payload | |
| User defined variables: | |
| System variables: | |
| file_name = log_worker.rb | |
| rails = {"env"=>"development", "version"=>"3.0.9"} | |
| sw_config = {"database"=>{"adapter"=>"postgresql", "encoding"=>"unicode", "host"=>"localhost", "pool"=>5, "username"=>"prizzm", "password"=>"prizzm", "database"=>"prizzm_development"}, "global_attributes"=>{"mongodb_settings"=>{"host"=>"localhost", "database"=>"prizzm_development"}, "aws_settings"=>{"access_key_id"=>"xxxxxxx", "secret_access_key"=>"xxxxxxxxxxxxx", "simple_db_consistent_reads"=>false}}} | |
| Msg LoadError /mnt/sw_jobs/u30613/user_dir/gems/nokogiri/lib/nokogiri/nokogiri.so: wrong ELF class: ELFCLASS64 - /mnt/sw_jobs/u30613/user_dir/gems/nokogiri/lib/nokogiri/nokogiri.so /mnt/sw_jobs/u30613/user_dir/gems/nokogiri/lib/nokogiri.rb:13:in `<top (required)>' /mnt/sw_jobs/u30613/user_dir/log_worker.rb:45:in `<top (required)>' /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require': /mnt/sw_jobs/u30613/user_dir/gems/nokogiri/lib/nokogiri/nokogiri.so: wrong ELF class: ELFCLASS64 - /mnt/sw_jobs/u30613/user_dir/gems/nokogiri/lib/nokogiri/nokogiri.so (LoadError) | |
| View |
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
| _error_from_sw_ | |
| LoadError | |
| /mnt/sw_jobs/u30613/user_dir/gems/nokogiri/lib/nokogiri/nokogiri.so: wrong ELF class: ELFCLASS64 - /mnt/sw_jobs/u30613/user_dir/gems/nokogiri/lib/nokogiri/nokogiri.so | |
| /mnt/sw_jobs/u30613/user_dir/gems/nokogiri/lib/nokogiri.rb:13:in `<top (required)>' | |
| /mnt/sw_jobs/u30613/user_dir/log_worker.rb:45:in `<top (required)>' | |
| /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require': /mnt/sw_jobs/u30613/user_dir/gems/nokogiri/lib/nokogiri/nokogiri.so: wrong ELF class: ELFCLASS64 - /mnt/sw_jobs/u30613/user_dir/gems/nokogiri/lib/nokogiri/nokogiri.so (LoadError) | |
| from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require' | |
| from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239:in `block in require' | |
| from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:225:in `block in load_dependency' | |
| from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:596:in `new_constants_in' | |
| from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:225:in `load_dependency' | |
| from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239:in `require' | |
| from /mnt/sw_jobs/u30613/user_dir/gems/nokogiri/lib/nokogiri.rb:13:in `<top (required)>' | |
| from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require' | |
| from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require' | |
| from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239:in `block in require' | |
| from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:225:in `block in load_dependency' | |
| from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:596:in `new_constants_in' | |
| from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:225:in `load_dependency' | |
| from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239:in `require' | |
| from /mnt/sw_jobs/u30613/user_dir/log_worker.rb:45:in `<top (required)>' | |
| from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:235:in `load' | |
| from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:235:in `block in load' | |
| from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:225:in `block in load_dependency' | |
| from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:596:in `new_constants_in' | |
| from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:225:in `load_dependency' | |
| from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:235:in `load' | |
| from ./single_runner.rb:267:in `get_class_to_run' | |
| from ./single_runner.rb:128:in `run' | |
| from ./single_runner.rb:315:in `<main>' | |
| D, [2011-07-24T06:15:30.842496 #20683] DEBUG -- : SingleRunner.run... | |
| D, [2011-07-24T06:15:30.842737 #20683] DEBUG -- : Loading body from /mnt/sw_jobs/u30613/user_dir//u30613_data.json | |
| D, [2011-07-24T06:15:30.843258 #20683] DEBUG -- : sw_internal_data={:access_key=>"xxxxxxxxxxxxxxxxxxxxxxxx", :secret_key=>"xxxxxxxxxxxxxx", :task_id=>"4e2bb7626012bc1285000002", :project_id=>"4e2663679c8d3f142700000c"} | |
| I, [2011-07-24T06:15:30.885794 #20683] INFO -- : Connecting to database using ActiveRecord... | |
| D, [2011-07-24T06:15:47.505439 #20683] DEBUG -- : code_filename=/mnt/sw_jobs/u30613/user_dir//log_worker.rb | |
| D, [2011-07-24T06:15:47.505513 #20683] DEBUG -- : trying to load file: /mnt/sw_jobs/u30613/user_dir//log_worker.rb |
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
| [master↑1⚡]:~/dev/prizzm $ r c | |
| Initializing SimpleWorker for Rails 3... | |
| SimpleWorker initialized. Duration: 199 ms | |
| /home/sid137/dev/prizzm/config/initializers/devise.rb:6: warning: already initialized constant VERIFY_PEER | |
| SimpleWorker initialized. | |
| Loading development environment (Rails 3.0.9) | |
| ruby-1.9.2-p0 :001 > l = LogWorker.new | |
| => #<LogWorker:0x00000008086620> | |
| ruby-1.9.2-p0 :002 > l.run_local | |
| Hello World | |
| => nil | |
| ruby-1.9.2-p0 :003 > l.queue | |
| Auto merge Enabled | |
| Queuing LogWorker... | |
| => {"task_id"=>"4e2bb7626012bc1285000002", "tasks"=>[{"task_id"=>"4e2bb7626012bc1285000002"}]} | |
| ruby-1.9.2-p0 :004 > |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment