Skip to content

Instantly share code, notes, and snippets.

View bourroush's full-sized avatar

Guillaume Bourrousse bourroush

View GitHub Profile
+
+ The 'contrib' directory has been installed to:
+ #{HOMEBREW_PREFIX}/share/git-core/contrib
EOS
end
- def test
+ test do
HOMEBREW_REPOSITORY.cd do
- `#{bin}/git ls-files -- bin`.chomp == 'bin/brew'
➜ recode git:(master) rails s
=> Booting WEBrick
=> Rails 4.1.5 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option)
=> Ctrl-C to shutdown server
[2014-10-24 16:08:09] INFO WEBrick 1.3.1
[2014-10-24 16:08:09] INFO ruby 2.1.2 (2014-05-08) [x86_64-darwin13.0]
[2014-10-24 16:08:09] INFO WEBrick::HTTPServer#start: pid=3373 port=3000
➜ ~ boxen
Notice: Compiled catalog for guillaumes-macbook-pro.local in environment production in 3.70 seconds
Notice: /Stage[main]/Ruby::Build/Repository[/opt/boxen/ruby-build]/ensure: ensure changed 'ee04b9d3c542bed4781acad33dbe0fd0563925e6' to 'v20140926'
Notice: /Stage[main]/Iterm2::Dev/Package[iTerm]/ensure: created
Error: Command exceeded timeout
Error: /Stage[main]/Postgresql::Service/Exec[wait-for-postgresql]/returns: change from notrun to 0 failed: Command exceeded timeout
Notice: /Stage[main]/Projects::Airware/Boxen::Project[airware]/Postgresql::Db[airware_test]/Exec[postgresql-db-airware_test]: Dependency Exec[wait-for-postgresql] has failures: true
Warning: /Stage[main]/Projects::Airware/Boxen::Project[airware]/Postgresql::Db[airware_test]/Exec[postgresql-db-airware_test]: Skipping because of failed dependencies
Notice: /Stage[main]/Projects::Airware/Boxen::Project[airware]/Postgresql::Db[airware_development]/Exec[postgresql-db-airware_development]: Dependency Exec[wait-for-postgresql] has failur
postgresql: stable 9.3.5 (bottled), devel 9.4beta2
http://www.postgresql.org/
Conflicts with: postgres-xc
/opt/boxen/homebrew/Cellar/postgresql/9.3.1-boxen (2918 files, 40M) *
Built from source
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/postgresql.rb
==> Dependencies
Required: openssl ✔, readline ✔
Recommended: ossp-uuid ✔
==> Options
➜ repo git:(master) cd /opt/boxen/repo
➜ repo git:(master) script/nuke --services --force
-> Removing /Library/LaunchDaemons/dev.dnsmasq.plist.
-> Removing /Library/LaunchDaemons/dev.mongodb.plist.
-> Removing /Library/LaunchDaemons/dev.nginx.plist.
-> Removing /Library/LaunchDaemons/dev.postgresql.plist.
➜ repo git:(master) boxen
Boxen is up-to-date.
Notice: Compiled catalog for guillaumes-macbook-pro.local in environment production in 3.41 seconds
Notice: /Stage[main]/Postgresql::Config/File[/Library/LaunchDaemons/dev.postgresql.plist]/ensure: defined content as '{md5}be6bf2dbd581e03419aea7dda187a4ec'
@bourroush
bourroush / gist:853e1f2bcdcb27f92038
Created December 15, 2014 09:42
Migration issue
== TieExistingOrdersToAccounts: migrating ====================================
rake aborted!
StandardError: An error has occurred, all later migrations canceled:
Mysql2::Error: Table 'ttg.ring_sizings' doesn't exist: SHOW FULL FIELDS FROM `ring_sizings`/Users/boris/src/georgianjewelry/app/models/order_item.rb:18:in `ring_sizing_cost'
/Users/boris/src/georgianjewelry/app/models/order.rb:59:in `block in ring_sizing_total'
/Users/boris/src/georgianjewelry/app/models/order.rb:59:in `ring_sizing_total'
/Users/boris/src/georgianjewelry/app/models/order.rb:186:in `taxable_costs'
/Users/boris/src/georgianjewelry/app/models/order.rb:64:in `total'
/Users/boris/src/georgianjewelry/app/models/order.rb:190:in `update_cached_total'
➜ cineflixinternational git:(cedar) heroku pgbackups:restore HEROKU_POSTGRESQL_GOLD 'https://s3.amazonaws.com/me/items/3H0q/mydb.dump' --app cineflixcedar-app
HEROKU_POSTGRESQL_GOLD_URL (DATABASE_URL) <---restore--- mydb.dump
! WARNING: Destructive Action
! This command will affect the app: cineflixcedar-app
! To proceed, type "cineflixcedar-app" or re-run this command with --confirm cineflixcedar-app
> cineflixcedar-app
! Please add the pgbackups addon first via:
➜ src boxen cineflix-rights
Warning: Scope(Class[Boxen::Environment]): Setting up 'cineflix-rights'. This can be made permanent by having 'include projects::cineflix-rights' in your personal manifest.
Notice: Compiled catalog for guillaumes-macbook-pro.local in environment production in 8.38 seconds
Error: Execution of '/opt/boxen/homebrew/bin/git clone -c credential.helper=/opt/boxen/bin/boxen-git-credential --recurse-submodules https://github.com/DynamoMTL/cineflixinternational /Users/boris/src/cineflix-rights' returned 1: Cloning into '/Users/boris/src/cineflix-rights'...
No submodule mapping found in .gitmodules for path 'vendor/plugins/fast_remote_cache'
Error: /Stage[main]/Projects::Cineflix-rights/Boxen::Project[cineflix-rights]/Repository[/Users/boris/src/cineflix-rights]/ensure: change from absent to present failed: Execution of '/opt/boxen/homebrew/bin/git clone -c credential.helper=/opt/boxen/bin/boxen-git-credential --recurse-submodules https://github.com/DynamoMTL/cineflixinternational /Users/b
URL visited /preregister
angular.js?body=1:9828 GET http://localhost:3000/spree/api/users/[email protected] 404 (Not Found)(anonymous function) @ angular.js?body=1:9828sendReq @ angular.js?body=1:9629serverRequest @ angular.js?body=1:9345processQueue @ angular.js?body=1:13190(anonymous function) @ angular.js?body=1:13206Scope.$eval @ angular.js?body=1:14402Scope.$digest @ angular.js?body=1:14218Scope.$apply @ angular.js?body=1:14507(anonymous function) @ angular.js?body=1:21444jQuery.event.dispatch @ jquery.js?body=1:4431elemData.handle @ jquery.js?body=1:4117
preregister.js?body=1:28 err Object {email: "[email protected]"}
angular.js?body=1:9828 POST http://localhost:3000/api/account 500 (Internal Server Error)(anonymous function) @ angular.js?body=1:9828sendReq @ angular.js?body=1:9629serverRequest @ angular.js?body=1:9345processQueue @ angular.js?body=1:13190(anonymous function) @ angular.js?body=1:13206Scope.$eval @ angular.js?body=1:14402Scope.$digest @ angular.js?body=1:14218S
Started GET "/spree/api/users/[email protected]" for 127.0.0.1 at 2015-04-29 13:42:46 -0400
Processing by Spree::Api::UsersController#sign_in_with_email as JSON
Parameters: {"email"=>"boris [email protected]"}
Spree::User Load (0.7ms) SELECT "spree_users".* FROM "spree_users" WHERE "spree_users"."deleted_at" IS NULL AND "spree_users"."spree_api_key" = '' LIMIT 1
Spree::User Load (2.3ms) SELECT "spree_users".* FROM "spree_users" WHERE "spree_users"."deleted_at" IS NULL AND "spree_users"."email" = '[email protected]' LIMIT 1
Rendered .bundle/ruby/2.1.0/bundler/gems/spree-18ba0efc35da/api/app/views/spree/api/errors/not_found.v1.rabl (1.1ms)
Completed 404 Not Found in 527ms (Views: 513.7ms | ActiveRecord: 3.0ms)
Started POST "/api/account" for 127.0.0.1 at 2015-04-29 13:42:47 -0400