Skip to content

Instantly share code, notes, and snippets.

View prathamesh-sonpatki's full-sized avatar
🏠
Working from home

प्रथमेश Sonpatki prathamesh-sonpatki

🏠
Working from home
View GitHub Profile
sources/rails/railties upgrade-guide-- ✔ 2.6.0 16m
▶ bin/test test/generators/
Run options: --seed 25553
# Running:
...................................F
Failure:
Rails::Command::RoutesTest#test_rails_routes_with_controller_search_key [/Users/prathamesh/Projects/sources/rails/railties/test/commands/routes_test.rb:92]:
E
Error:
PolymorphicPathRoutesTest#test_irregular_plural_url_helper_prefixed_with_edit:
ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/http/url.rb:63:in `full_url_for'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/http/url.rb:53:in `url_for'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/routing/route_set.rb:338:in `block in <class:RouteSet>'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/routing/route_set.rb:211:in `call'
/Users/prathamesh/Projects/sources/rails/actionpack/lib/action_dispatch/routing/route_set.rb:330:in `block (2 levels) in define_url_helper'
Traceback (most recent call last):
21: from -e:1:in `<main>'
20: from /Users/prathamesh/.rbenv/versions/2.6.0/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
19: from /Users/prathamesh/.rbenv/versions/2.6.0/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
18: from /Users/prathamesh/Projects/sources/rails/activerecord/test/cases/associations/belongs_to_associations_test.rb:3:in `<top (required)>'
17: from /Users/prathamesh/.rbenv/versions/2.6.0/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
16: from /Users/prathamesh/.rbenv/versions/2.6.0/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
15: from /Users/prathamesh/Projects/sources/rails/activerecord/test/cases/helper.rb:7:in `<top (required)>'
14: from /Users/prathamesh/.rbenv/versions/2.6.0/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
13: from /Users/prathamesh/.rbenv/versions/2.6.0/lib/ruby/site_ruby/2.6.0
prathamesh@Prathameshs-MacBook-Pro-2 rails (master)$ edgerails
Traceback (most recent call last):
8: from /Users/prathamesh/Projects/sources/rails/railties/exe/rails:10:in `<main>'
7: from /Users/prathamesh/.rbenv/versions/2.6.0/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
6: from /Users/prathamesh/.rbenv/versions/2.6.0/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
5: from /Users/prathamesh/Projects/sources/rails/railties/lib/rails/cli.rb:12:in `<top (required)>'
4: from /Users/prathamesh/.rbenv/versions/2.6.0/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
3: from /Users/prathamesh/.rbenv/versions/2.6.0/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
2: from /Users/prathamesh/Projects/sources/rails/railties/lib/rails/command.rb:3:in `<top (required)>'
1: from /Users/prathamesh/.rbenv/versions/2.6.0/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
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
source "https://rubygems.org"
gem "rails", path: "/Users/prathamesh/Projects/sources/rails"
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
source "https://rubygems.org"
# Activate the gem you are reporting the issue against.
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
source "https://rubygems.org"
gem "rails", github: 'rails/rails' # path: "/Users/prathamesh/Projects/sources/rails"
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
source "https://rubygems.org"
# Activate the gem you are reporting the issue against.
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative source for your
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
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
source "https://rubygems.org"
# Activate the gem you are reporting the issue against.