Skip to content

Instantly share code, notes, and snippets.

View samflores's full-sized avatar
🦕

Samuel Flores samflores

🦕
View GitHub Profile
Client app 'canvas_quizzes' was built successfully.
--> Compiling React JSX
--> Generating plugin extensions
--> Creating ember app bundles
--> Pre-compiling ember handlebars templates
--> Pre-compiling handlebars templates
--> Generating plugin extensions finished in 0.0058429999990039505
--> Creating ember app bundles finished in 0.27774199999839766
--> Compiling CoffeeScript with 'coffee' binary
/Users/samflores/Code/cyanna/canvas-lms/gems/canvas_i18nliner/node_modules/jsdom/node_modules/request/node_modules/hawk/node_modules/boom/lib/index.js:5
Ruby newer than 2.1 is very UNSUPPORTED
Ruby newer than 2.1 is very UNSUPPORTED
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /Users/samflores/Code/cyanna/canvas-lms/Rakefile:11)
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /Users/samflores/Code/cyanna/canvas-lms/Rakefile:11)
DEPRECATION WARNING: You h
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/authorizenet-1.8.2/lib/authorize_net/reporting/returned_item.rb:28: warning: duplicated key at line 28 ignored: :return_item_date_utc
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/premailer-1.7.9/lib/premailer/premailer.rb:49: warning: duplicated key at line 54 ignored: "’"
downloading structural dump to /Users/samflores/Code/cyanna/edvera/tmp/production_structural_dump_1516148541.sql and decompressing
loading backported structural data...
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/authorizenet-1.8.2/lib/authorize_net/reporting/returned_item.rb:28: warning: duplicated key at line 28 ignored: :return_item_date_utc
/usr/local/opt/asdf/installs/ruby/2.2.6/lib/ruby/gems/2.2.0/gems/premailer-1.7.9/lib/premailer/premailer.rb:49: warning: duplicated key at line 54 ignored: "’"
injecting agency dependencies: iin_agency, cyanna
Seed permissions
Seed event queues
Seed-once webhooks
04d927a41ffa7e40b31009daf70a29717ae07f285b36d94e205e22ed98211a049e5dbc2ae0a2a10ae0e0d2a60d004274c94e40c579c4426b2559836b31b3ad3f5e;fnando
"/root/.rbenv/versions/2.2.2/lib/ruby/2.2.0/net/http.rb:879:in `initialize'"
"/root/.rbenv/versions/2.2.2/lib/ruby/2.2.0/net/http.rb:879:in `open'"
"/root/.rbenv/versions/2.2.2/lib/ruby/2.2.0/net/http.rb:879:in `block in connect'"
"/root/.rbenv/versions/2.2.2/lib/ruby/2.2.0/timeout.rb:89:in `block in timeout'"
"/root/.rbenv/versions/2.2.2/lib/ruby/2.2.0/timeout.rb:99:in `call'"
"/root/.rbenv/versions/2.2.2/lib/ruby/2.2.0/timeout.rb:99:in `timeout'"
"/root/.rbenv/versions/2.2.2/lib/ruby/2.2.0/net/http.rb:878:in `connect'"
"/root/.rbenv/versions/2.2.2/lib/ruby/2.2.0/net/http.rb:863:in `do_start'"
"/root/.rbenv/versions/2.2.2/lib/ruby/2.2.0/net/http.rb:852:in `start'"
"/root/.rbenv/versions/2.2.2/lib/ruby/2.2.0/net/http.rb:1375:in `request'"
[4] pry(#<API::V0::CheckoutsController>)> client = Sift::Client.new(api_key:ENV['SIFT_ACCESS_KEY'], account_id: ENV['SIFT_ACCOUNT_ID'])
=> #<Sift::Client:0x0055ce34aaba38
@account_id="[redacted]",
@api_key="[redacted]",
@path="/v204/events",
@timeout=2,
@version="204">
[5] pr
> RecurringSales::Renewal::CreateOrder.call(recurring_sale, next_renewal_date: Time.current - 1.day)
D, [2018-11-05T23:13:28.394607 #69] DEBUG -- : (203.9ms) BEGIN
D, [2018-11-05T23:13:28.549376 #69] DEBUG -- : (148.1ms) SELECT COUNT(*) FROM `products` INNER JOIN `product_sales` ON `products`.`id` = `product_sales`.`product_id` INNER JOIN `sales` ON `product_sales`.`sale_id` = `sales`.`id` WHERE `sales`.`id` = 16484
D, [2018-11-05T23:13:28.711214 #69] DEBUG -- : (159.3ms) SELECT COUNT(*) FROM `products` INNER JOIN `product_sales` ON `products`.`id` = `product_sales`.`product_id` INNER JOIN `sales` ON `product_sales`.`sale_id` = `sales`.`id` WHERE `sales`.`id` = 16484
D, [2018-11-05T23:13:28.906474 #69] DEBUG -- : (192.4ms) SELECT COUNT(*) FROM `products` INNER JOIN `product_sales` ON `products`.`id` = `product_sales`.`product_id` INNER JOIN `sales` ON `product_sales`.`sale_id` = `sales`.`id` WHERE `sales`.`id` = 16484
D, [2018-11-05T23:13:29.111299 #69] DEBUG -- : (202.1ms) SELECT COUNT(*)
2018-12-12T17:09:46.899010+00:00 app[web.1]: E, [2018-12-12T09:09:46.898840 #4] ERROR -- : Can't connect to MySQL server on 'beta-stacksocial-mysql-56-2018-11-25-19-07.cg7s5b3ozikc.us-east-1.rds.amazonaws.com' (4) (Mysql2::Error)
2018-12-12T17:09:46.899044+00:00 app[web.1]: /app/vendor/bundle/ruby/2.2.0/gems/mysql2-0.3.20/lib/mysql2/client.rb:70:in `connect'
2018-12-12T17:09:46.899046+00:00 app[web.1]: /app/vendor/bundle/ruby/2.2.0/gems/mysql2-0.3.20/lib/mysql2/client.rb:70:in `initialize'
2018-12-12T17:09:46.899049+00:00 app[web.1]: /app/vendor/bundle/ruby/2.2.0/gems/activerecord-5.1.6.1/lib/active_record/connection_adapters/mysql2_adapter.rb:21:in `new'
2018-12-12T17:09:46.899052+00:00 app[web.1]: /app/vendor/bundle/ruby/2.2.0/gems/activerecord-5.1.6.1/lib/active_record/connection_adapters/mysql2_adapter.rb:21:in `mysql2_connection'
2018-12-12T17:09:46.899055+00:00 app[web.1]: /app/vendor/bundle/ruby/2.2.0/gems/activerecord-5.1.6.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:759:in `ne
> heroku run -a stack-api-beta-pr-905 rake data:migrate VERSION=20190527114250 6353-merge-elearn-and-academy-verticals = ~api
Running rake data:migrate VERSION=20190527114250 on ⬢ stack-api-beta-pr-905... up, run.6170 (Standard-1X)
W, [2019-05-31T09:36:28.409440 #4] WARN -- sentry: ** [Raven] You are running on Heroku but haven't enabled Dyno Metadata. For Sentry's release detection to work correctly, please run `heroku labs:enable runtime-dyno-metadata`
I, [2019-05-31T09:36:29.373802 #4] INFO -- : Raven 2.7.4 ready to catch errors
D, [2019-05-31T09:36:31.515062 #4] DEBUG -- : (1.5ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
D, [2019-05-31T09:36:31.524810 #4] DEBUG -- : DataMigrate::DataSchemaMigration Load (1.2ms) SELECT `data_migrations`.* FROM `data_migrations`
D, [2019-05-31T09:36:31.557123 #4] DEBUG -- : DataM