Skip to content

Instantly share code, notes, and snippets.

View etagwerker's full-sized avatar
🏠
Working from home

Ernesto Tagwerker etagwerker

🏠
Working from home
View GitHub Profile
# ./app/assets/stylesheets/bootstrap_and_overrides.css:6
6) LeaderboardController#projects leaderboard exists project without logged minutes shows current leaderboard without params
Failure/Error: =require twitter-bootstrap-static/fontawesome
ActionView::Template::Error:
couldn't find file 'twitter-bootstrap-static/fontawesome' with type 'text/css'
Checked in these paths:
/code/app/assets/images
/code/app/assets/javascripts
next bundle install
Fetching gem metadata from https://rubygems.org/...........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies......................................................................................................
Bundler could not find compatible versions for gem "actionpack":
In Gemfile.next:
rails (~> 5.0) was resolved to 5.0.1.rc1, which depends on
actionpack (= 5.0.1.rc1)
rspec-rails was resolved to 4.1.2, which depends on
➜ points git:(feature/upgrade-rails-5-2) ✗ bundle exec rspec
Randomized with seed 12014
......Capybara starting Puma...
* Version 3.12.6 , codename: Llamas in Pajamas
* Min threads: 0, max threads: 4
* Listening on tcp://127.0.0.1:51982
Unexpected confirm modal - accepting.You should be using `accept_confirm` or `dismiss_confirm`.
...............................................................................
The @FastRubyIO team has been doing Ruby and Rails upgrades for a long time. They even have some tips on how to upgrade when there is no time to write tests. https://www.fastruby.io/blog/rails/upgrade/testing/how-to-upgrade-rails-without-tests.html?utm_source=matz
@etagwerker
etagwerker / git-commit.log
Created February 2, 2021 16:36
git commit with points project
➜ points git:(feature/upgrade-rails-5-2) ✗ git commit Gemfile*
warning: parser/current is loading parser/ruby25, which recognizes
warning: 2.5.8-compliant syntax, but you are running 2.5.7.
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
standard: Use Ruby Standard Style (https://github.com/testdouble/standard)
standard: Run `standardrb --fix` to automatically fix some problems.
Gemfile:33:7: Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
Gemfile:35:7: Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
Gemfile:35:23: Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
Gemfile:36:16: Layout/HashAlignment: Align the keys of a hash literal if they span more than one line.
➜ docker-lobsters git:(main) docker-compose down --volumes
Removing network docker-lobsters_default
WARNING: Network docker-lobsters_default not found.
Removing volume docker-lobsters_lobsters_database
WARNING: Volume docker-lobsters_lobsters_database not found.
➜ docker-lobsters git:(main) docker-compose up
Creating network "docker-lobsters_default" with the default driver
Creating volume "docker-lobsters_lobsters_database" with local driver
Creating docker-lobsters_proxy_1 ... done
Creating docker-lobsters_database_1 ... done
@etagwerker
etagwerker / gist:899e91fc0b9b745497d4a536d6aa411a
Created January 12, 2021 14:57
rake stats and bundle-stats for discourse
➜ fastruby rake stats\[./discourse\]
Directory: /Users/etagwerker/Projects/fastruby/discourse
+----------------------+-------+-------+---------+---------+-----+-------+
| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |
+----------------------+-------+-------+---------+---------+-----+-------+
| Mailers | 999 | 811 | 9 | 51 | 5 | 13 |
| Models | 42749 | 31367 | 242 | 2145 | 8 | 12 |
| Serializers | 7918 | 6022 | 179 | 1133 | 6 | 3 |
@etagwerker
etagwerker / was-transcribe.json
Created January 5, 2021 20:33
AWS Transcribe result for this episode: https://remoteruby.transistor.fm/100
This file has been truncated, but you can view the full file.
{"jobName":"RemoteRuby-Episode100-ErnestoTagwerker","accountId":"015078986747","results":{"transcripts":[{"transcript":"Let's go back. Pick Chris. It's up, Jason. Remote Ruby 1\/100 episode. This is the first generation of a remote ruby podcast. My name is Jason Charms. I'm Chris Oliver. Let's celebrate Happy Episode 100. Whoa! I'm going to start the episode with 100 reasons. I love honey Badger. Uh, that was pretty good. I love it. I like it. I don't have ah 100 reasons typed out, And it would take me a long time to list 100 things, but 360 degree coverage, air reporting, monitoring you name it, they got it. And they named their coming after a meme. And they have the fantastic podcast they dio Yeah, I think that rounds up to 100 right? Yeah. So thank you, honey. Badger for sponsoring remote ruby and keeping it going. And if you haven't checked out, honey badger there is a link in our show notes and tell them that Andrew, Chris and Jason sent you and tell them we love them. Yeah. Episode 100. How about that?
@etagwerker
etagwerker / FalseNewsTrumpQAnonSpanish
Created November 12, 2020 15:18
Q-Anon-Spanish-Conspiracy-Theories
Comparto esto que escribió la Esposa de Mi Primo que Viven en Estados Unidos en ahora El estado de La Florida, hace más de 20, 30 años. No lo recuerdo...lean...
Es bueno saberlo.
Aunque le hayan dicho “payaso”
El “payaso en la Casa Blanca" acaba de negociar TRES Acuerdos de Paz en Medio Oriente, algo que 71 años de intervención política y guerra sin fin no lograron producir.
El bufón en la Casa Blanca es el PRIMER presidente que NO nos ha involucrado en una GUERRA extranjera desde Eisenhower.
El “payaso en la Casa Blanca” ha tenido el MAYOR impacto en la economía, trayendo trabajo y REDUCIENDO el desempleo a la población negra y latina que CUALQUIER presidente anterior.
El “bufón en la Casa Blanca” ha EXPUESTO la profunda, generalizada y antigua corrupción en el FBI, la CIA, la NSA y los partidos republicanos y demócratas.
@etagwerker
etagwerker / rake.log
Created October 23, 2020 13:20
rake skunk with ruby 2.5.x
➜ skunk git:(feature/update-dependencies) ✗ rvm-prompt
ruby-2.5.7
➜ skunk git:(feature/update-dependencies) ✗ COVERAGE=true bundle exec rake
/Users/etagwerker/Projects/fastruby/skunk/test/test_helper.rb:8:in `<top (required)>': [DEPRECATION] ::[] is deprecated. Use ::new instead.
/Users/etagwerker/.rvm/gems/ruby-2.5.7/gems/simplecov-0.19.0/lib/simplecov/configuration.rb:203: warning: instance variable @enable_for_subprocesses not initialized
Using SimpleCov v0.19.0
/Users/etagwerker/.rvm/gems/ruby-2.5.7/gems/ruby_parser-3.15.0/lib/ruby_lexer.rb:1312: warning: shadowing outer local variable - s
Run options: --seed 58645
# Running: