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
| require 'spec_helper' | |
| require 'rake' | |
| describe "Messages" do | |
| before(:all) do | |
| end | |
| before(:each) do | |
| load "#{Rails.root}/db/seeds.rb" | |
| auth_token |
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
| loading baboon/deal/deal_set, memory usage 2552300 | |
| loading baboon/groupon/division_groupon, memory usage 2553324 | |
| loading baboon/deal/groupon/deal_groupon_record, memory usage 2553324 | |
| loading baboon/deal/yipit/deal_yipit_record, memory usage 2553324 | |
| loading baboon/deal/bloomspot/deal_bloomspot_record, memory usage 2553324 | |
| loading baboon/deal/homerun/deal_homerun_record, memory usage 2554348 | |
| loading baboon/deal/deal, memory usage 2554328 | |
| loading forwardable, memory usage 2555372 | |
| loading dragonfly/active_model_extensions/attachment_class_methods, memory usage 2555372 | |
| loading baboon/deal/deal_set, memory usage 2555372 |
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
| $ rails s | |
| => Booting WEBrick | |
| => Rails 3.1.1 application starting in development on http://0.0.0.0:3000 | |
| => Call with -d to detach | |
| => Ctrl-C to shutdown server | |
| Exiting | |
| /Users/kimball/.rvm/gems/ruby-1.9.2-p180@rails31/gems/mongo-1.3.1/lib/mongo/collection.rb:856:in `rescue in generate_indexes': Failed to create index {:name=>"created_at_1", :ns=>"charlotte.deal_groupon_records", :key=>{"created_at"=>1}} with the following error: : unauthorized (Mongo::OperationFailure) | |
| from /Users/kimball/.rvm/gems/ruby-1.9.2-p180@rails31/gems/mongo-1.3.1/lib/mongo/collection.rb:849:in `generate_indexes' | |
| from /Users/kimball/.rvm/gems/ruby-1.9.2-p180@rails31/gems/mongo-1.3.1/lib/mongo/collection.rb:451:in `create_index' | |
| from /Users/kimball/.rvm/gems/ruby-1.9.2-p180@rails31/gems/mongo_mapper-0.9.1/lib/mongo_mapper/plugins/indexes.rb:9:in `ensure_index' |
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
| [root@prod-mongo-00 ec2-user]# cat /etc/yum.repos.d/dag.repo | |
| [dag] | |
| name=Dag RPM Repository for Red Hat Enterprise Linux | |
| baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag | |
| gpgcheck=1 | |
| gpgkey=http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt | |
| enabled=1 | |
| [root@prod-mongo-00 ec2-user]# yum install -y munin | |
| Loaded plugins: fastestmirror, security | |
| Loading mirror speeds from cached hostfile |
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
| [root@prod-mongo-00 ec2-user]# rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm | |
| Retrieving http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm | |
| curl: (22) The requested URL returned error: 404 | |
| error: skipping http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm - transfer failed | |
| [root@prod-mongo-00 ec2-user]# rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm | |
| Retrieving http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm | |
| Preparing... ########################################### [100%] | |
| package epel-release-5-4.noarch is already installed |
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
| [root@prod-mongo-00 ec2-user]# rpm -i munin-1.2.5-1rhel4.noarch.rpm | |
| error: Failed dependencies: | |
| perl(Date::Manip) is needed by munin-1.2.5-1rhel4.noarch | |
| perl(HTML::Template) is needed by munin-1.2.5-1rhel4.noarch | |
| perl(RRDs) is needed by munin-1.2.5-1rhel4.noarch | |
| perl-HTML-Template is needed by munin-1.2.5-1rhel4.noarch | |
| perl-Net-SNMP is needed by munin-1.2.5-1rhel4.noarch | |
| perl-Net-Server is needed by munin-1.2.5-1rhel4.noarch | |
| rrdtool is needed by munin-1.2.5-1rhel4.noarch |
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
| [root@prod-mongo-00 ~]# yum install munin | |
| Loaded plugins: fastestmirror, security | |
| Loading mirror speeds from cached hostfile | |
| * epel: mirror.symnds.com | |
| amzn | 2.1 kB 00:00 | |
| Setting up Install Process | |
| Resolving Dependencies | |
| --> Running transaction check | |
| ---> Package munin.noarch 0:1.4.5-5.el5 set to be updated | |
| --> Processing Dependency: munin-common = 1.4.5 for package: munin-1.4.5-5.el5.noarch |
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
| $ rails g cantango:install | |
| DEPRECATION WARNING: Yajl's JSON gem compatibility API is going to be removed in 2.0 | |
| /Users/kimball/.rvm/gems/ruby-1.9.2-p180@rails31/gems/cantango-0.9.2.3/lib/cantango/configuration/models.rb:39:in `ar_models': uninitialized constant CanTango::Configuration::Models::ActiveRecord (NameError) | |
| from /Users/kimball/.rvm/gems/ruby-1.9.2-p180@rails31/gems/cantango-0.9.2.3/lib/cantango/configuration/models.rb:22:in `available_models' | |
| from /Users/kimball/.rvm/gems/ruby-1.9.2-p180@rails31/gems/cantango-0.9.2.3/lib/cantango/rails/helpers/rest_helper.rb:2:in `<module:RestHelper>' | |
| from /Users/kimball/.rvm/gems/ruby-1.9.2-p180@rails31/gems/cantango-0.9.2.3/lib/cantango/rails/helpers/rest_helper.rb:1:in `<top (required)>' | |
| from /Users/kimball/.rvm/gems/ruby-1.9.2-p180@rails31/gems/cantango-0.9.2.3/lib/cantango/rails/helpers/base_helper.rb:7:in `included' | |
| from /Users/kimball/.rvm/gems/ruby-1.9.2-p180@rails31/gems/cantango-0.9.2.3/lib/cantango/rails/helpers/co |
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
| Using sorcery (0.7.0) from https://github.com/kbighorse/sorcery (at mongo_mapper) | |
| sorcery at /Users/kimball/.rvm/gems/ruby-1.9.2-p180@rails31/bundler/gems/sorcery-b93260df5ca0 did not have a valid gemspec. | |
| This prevents bundler from installing bins or native extensions, but that may not affect its functionality. | |
| The validation message from Rubygems was: | |
| ["lib/generators/sorcery_migration/sorcery_migration_generator.rb", "lib/generators/sorcery_migration/templates/activity_logging.rb", "lib/generators/sorcery_migration/templates/brute_force_protection.rb", "lib/generators/sorcery_migration/templates/core.rb", "lib/generators/sorcery_migration/templates/external.rb", "lib/generators/sorcery_migration/templates/remember_me.rb", "lib/generators/sorcery_migration/templates/reset_password.rb", "lib/generators/sorcery_migration/templates/user_activation.rb", "lib/sorcery/initializers/initializer.rb"] are not files |
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
| http { | |
| server { | |
| server_name pulsd.com | |
| listen 80; | |
| if ($host ~* (.*)pulsejfk(.*)) { | |
| rewrite ^(.*)$ http://pulsd.com$1 permanent; | |
| } | |
| location ~* \.(ico|all.js|css|gif|jp?g|png) { if ($args ~ [0-9]+) { expires max; break; } } |