Skip to content

Instantly share code, notes, and snippets.

@utilum
utilum / gist:e1407b9ca6a1062bd3fd88929c00fc4e
Created September 20, 2019 09:37
gem install eventmachine -v '1.2.7'
$ ruby -v
ruby 2.7.0dev (2019-09-20T08:44:48Z master 4ffcadd39c) [x86_64-linux]
$
$ gem install eventmachine -v '1.2.7'
Building native extensions. This could take a while...
ERROR: Error installing eventmachine:
ERROR: Failed to build gem native extension.
current directory: /home/u/.rbenv/versions/2.7.0-dev/lib/ruby/gems/2.7.0/gems/eventmachine-1.2.7/ext
/home/u/.rbenv/versions/2.7.0-dev/bin/ruby -I /home/u/.rbenv/versions/2.7.0-dev/lib/ruby/2.7.0 -r ./siteconf20190920-31807-9wly5t.rb extconf.rb
@utilum
utilum / gist:fc33f3aba4c4e027f3a02dc749785acd
Created September 2, 2019 10:48
event machine installation failure
u@x:~$ gem install --debug --backtrace --verbose eventmachine -v '1.2.7'
HEAD https://rubygems.org/api/v1/dependencies
200 OK
GET https://rubygems.org/api/v1/dependencies?gems=eventmachine
200 OK
/home/u/.rbenv/versions/2.7.0-dev/lib/ruby/gems/2.7.0/gems/eventmachine-1.2.7/CHANGELOG.md
/home/u/.rbenv/versions/2.7.0-dev/lib/ruby/gems/2.7.0/gems/eventmachine-1.2.7/GNU
/home/u/.rbenv/versions/2.7.0-dev/lib/ruby/gems/2.7.0/gems/eventmachine-1.2.7/LICENSE
/home/u/.rbenv/versions/2.7.0-dev/lib/ruby/gems/2.7.0/gems/eventmachine-1.2.7/README.md
/home/u/.rbenv/versions/2.7.0-dev/lib/ruby/gems/2.7.0/gems/eventmachine-1.2.7/docs/DocumentationGuidesIndex.md
@utilum
utilum / gist:df3386fccdcf58bc71808ad7e66a3dd5
Created May 22, 2019 13:59
warning: assigned but unused variable - value
rails/railties$ bundle exec ruby -w -Itest -Ilib -I../activesupport/lib -I../actionpack/lib -I../actionview/lib -I../activemodel/lib test/generators_test.rb
/home/u/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/mail-2.7.1/lib/mail/parsers/address_lists_parser.rb:32454: warning: statement not reached
/home/u/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/mail-2.7.1/lib/mail/parsers/address_lists_parser.rb:32615: warning: statement not reached
/home/u/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/mail-2.7.1/lib/mail/parsers/address_lists_parser.rb:32651: warning: statement not reached
/home/u/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/mail-2.7.1/lib/mail/parsers/address_lists_parser.rb:32740: warning: statement not reached
/home/u/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/mail-2.7.1/lib/mail/parsers/address_lists_parser.rb:32756: warning: statement not reached
/home/u/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/mail-2.7.1/lib/mail/parsers/address_lists_parser.rb:32822: warning: statement not reach
@utilum
utilum / activejob.log
Created May 8, 2019 16:04
bundle exec rake test:resque
ruby 2.6.2p47 (2019-03-13 revision 67232) [x86_64-linux]
/home/u/.rbenv/versions/2.6.2/bin/ruby -w -I"lib:test" -I"/home/u/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib" "/home/u/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/rake_test_loader.rb" "test/cases/adapter_test.rb" "test/cases/argument_serialization_test.rb" "test/cases/callbacks_test.rb" "test/cases/exceptions_test.rb" "test/cases/job_serialization_test.rb" "test/cases/logging_test.rb" "test/cases/queue_adapter_test.rb" "test/cases/queue_naming_test.rb" "test/cases/queue_priority_test.rb" "test/cases/queuing_test.rb" "test/cases/rescue_test.rb" "test/cases/serializers_test.rb" "test/cases/test_case_test.rb" "test/cases/test_helper_test.rb" "test/cases/timezones_test.rb" "test/cases/translation_test.rb"
/home/u/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/resque-1.27.4/lib/resque.rb:486: warning: assigned but unused variable - queue_name
/home/u/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/resque-1.27.4/lib
@utilum
utilum / tests.log
Created April 18, 2019 10:02
Railties application tests failures with Rake 12.3.1
ruby -w -Itest -Ilib -I../activesupport/lib -I../actionpack/lib -I../actionview/lib -I../activemodel/lib test/application/rake/migrations_test.rb
Run options: --seed 32912
# Running:
.F
Failure:
ApplicationTests::RakeTests::RakeMigrationsTest#test_migration_status_when_schema_migrations_table_is_not_present [test/application/rake/migrations_test.rb:182]:
--- expected
# frozen_string_literal: true
begin
require "bundler/inline"
rescue LoadError => e
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
raise e
end
gemfile(true) do
# frozen_string_literal: true
begin
require "bundler/inline"
rescue LoadError => e
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
raise e
end
gemfile(true) do
# frozen_string_literal: true
begin
require "bundler/inline"
rescue LoadError => e
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
raise e
end
gemfile(true) do
# frozen_string_literal: true
begin
require "bundler/inline"
rescue LoadError => e
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
raise e
end
gemfile(true) do
# frozen_string_literal: true
begin
require "bundler/inline"
rescue LoadError => e
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
raise e
end
gemfile(true) do