{"action":"closed","issue":{"url":"https://api.github.com/repos/activeadmin/activeadmin/issues/5294","repository_url":"https://api.github.com/repos/activeadmin/activeadmin","labels_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/5294/labels{/name}","comments_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/5294/comments","events_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/5294/events","html_url":"https://github.com/activeadmin/activeadmin/issues/5294","id":283769718,"number":5294,"title":"Rails 5.1.4 and Active Admin 1.2.0 - active_admin:install Fails ","user":{"login":"ravensnowbird","id":854024,"avatar_url":"https://avatars1.githubusercontent.com/u/854024?v=4","gravatar_id":"","url":"https://api.github.com/users/ravensnowbird","html_url":"https://github.com/ravensnowbird","followers_url":"https://api.github.com/users/ravensnowbird/followers","following_url":"https://api.github.com/users/ravensnowbird/following{/other_user}","gists_url":"https://api.github.com/users/ravensnowbird/gists{/gist_id}","starred_url":"https://api.github.com/users/ravensnowbird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravensnowbird/subscriptions","organizations_url":"https://api.github.com/users/ravensnowbird/orgs","repos_url":"https://api.github.com/users/ravensnowbird/repos","events_url":"https://api.github.com/users/ravensnowbird/events{/privacy}","received_events_url":"https://api.github.com/users/ravensnowbird/received_events","type":"User","site_admin":false},"labels":[{"id":46293633,"url":"https://api.github.com/repos/activeadmin/activeadmin/labels/awaiting%20developer%20feedback","name":"awaiting developer feedback","color":"cc317c","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-12-21T04:22:49Z","updated_at":"2018-03-13T14:54:01Z","closed_at":"2018-03-13T14:54:01Z","author_association":"NONE","body":"### Step\r\n```\r\nrails g active_admin:install\r\n```\r\n\r\n### Error\r\n\r\n```\r\n/home/vivek/.rvm/gems/ruby-2.4.2@hermes/gems/railties-5.1.4/lib/rails/railtie/configuration.rb:95:in `method_missing': undefined method `assets' for #<Rails::Application::Configuration:0x00000000035c60e0>\r\nDid you mean?  asset_host (NoMethodError)\r\n\tfrom /home/vivek/.rvm/gems/ruby-2.4.2@hermes/gems/activeadmin-1.2.0/lib/active_admin/engine.rb:5:in `block (2 levels) in <class:Engine>'\r\n\tfrom /home/vivek/.rvm/gems/ruby-2.4.2@hermes/gems/activeadmin-1.2.0/lib/active_admin/engine.rb:4:in `each'\r\n\tfrom /home/vivek/.rvm/gems/ruby-2.4.2@hermes/gems/activeadmin-1.2.0/lib/active_admin/engine.rb:4:in `block in <class:Engine>'\r\n\tfrom /home/vivek/.rvm/gems/ruby-2.4.2@hermes/gems/railties-5.1.4/lib/rails/initializable.rb:30:in `instance_exec'\r\n\tfrom /home/vivek/.rvm/gems/ruby-2.4.2@hermes/gems/railties-5.1.4/lib/rails/initializable.rb:30:in `run'\r\n\tfrom /home/vivek/.rvm/gems/ruby-2.4.2@hermes/gems/railties-5.1.4/lib/rails/initializable.rb:59:in `block in run_initializers'\r\n\tfrom /home/vivek/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/tsort.rb:228:in `block in tsort_each'\r\n\tfrom /home/vivek/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'\r\n\tfrom /home/vivek/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/tsort.rb:431:in `each_strongly_connected_component_from'\r\n\tfrom /home/vivek/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/tsort.rb:349:in `block in each_strongly_connected_component'\r\n\tfrom /home/vivek/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/tsort.rb:347:in `each'\r\n\tfrom /home/vivek/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/tsort.rb:347:in `call'\r\n\tfrom /home/vivek/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/tsort.rb:347:in `each_strongly_connected_component'\r\n\tfrom /home/vivek/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/tsort.rb:226:in `tsort_each'\r\n\tfrom /home/vivek/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/tsort.rb:205:in `tsort_each'\r\n\tfrom /home/vivek/.rvm/gems/ruby-2.4.2@hermes/gems/railties-5.1.4/lib/rails/initializable.rb:58:in `run_initializers'\r\n\tfrom /home/vivek/.rvm/gems/ruby-2.4.2@hermes/gems/railties-5.1.4/lib/rails/application.rb:353:in `initialize!'\r\n\tfrom /home/vivek/Projects/hermes-old/config/environment.rb:5:in `<top (required)>'\r\n\tfrom /home/vivek/.rvm/gems/ruby-2.4.2@hermes/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `require'\r\n\tfrom /home/vivek/.rvm/gems/ruby-2.4.2@hermes/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `block in require'\r\n\tfrom /home/vivek/.rvm/gems/ruby-2.4.2@hermes/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:258:in `load_dependency'\r\n\tfrom /home/vivek/.rvm/gems/ruby-2.4.2@hermes/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `require'\r\n\tfrom /home/vivek/.rvm/gems/ruby-2.4.2@hermes/gems/spring-2.0.2/lib/spring/application.rb:102:in `preload'\r\n\tfrom /home/vivek/.rvm/gems/ruby-2.4.2@hermes/gems/spring-2.0.2/lib/spring/application.rb:153:in `serve'\r\n\tfrom /home/vivek/.rvm/gems/ruby-2.4.2@hermes/gems/spring-2.0.2/lib/spring/application.rb:141:in `block in run'\r\n\tfrom /home/vivek/.rvm/gems/ruby-2.4.2@hermes/gems/spring-2.0.2/lib/spring/application.rb:135:in `loop'\r\n\tfrom /home/vivek/.rvm/gems/ruby-2.4.2@hermes/gems/spring-2.0.2/lib/spring/application.rb:135:in `run'\r\n\tfrom /home/vivek/.rvm/gems/ruby-2.4.2@hermes/gems/spring-2.0.2/lib/spring/application/boot.rb:19:in `<top (required)>'\r\n\tfrom /home/vivek/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'\r\n\tfrom /home/vivek/.rvm/rubies/ruby-2.4.2/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'\r\n\tfrom -e:1:in `<main>'\r\n```\r\n\r\nWhat actually happens?\r\nJust a fresh application with rails 5.1.4 with active admin 1.2.0 fails. \r\n\r\n###Gemfile\r\n```\r\nsource 'https://rubygems.org'\r\n\r\ngit_source(:github) do |repo_name|\r\n  repo_name = \"#{repo_name}/#{repo_name}\" unless repo_name.include?(\"/\")\r\n  \"https://github.com/#{repo_name}.git\"\r\nend\r\n\r\ngem 'pg'\r\ngem 'activerecord-postgis-adapter'\r\n\r\n# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'\r\ngem 'rails', '~> 5.1.4'\r\n# Use sqlite3 as the database for Active Record\r\n# Use Puma as the app server\r\ngem 'puma', '~> 3.7'\r\n# Use SCSS for stylesheets\r\ngem 'sass-rails', '~> 5.0'\r\n# Use Uglifier as compressor for JavaScript assets\r\ngem 'uglifier', '>= 1.3.0'\r\n# See https://github.com/rails/execjs#readme for more supported runtimes\r\n# gem 'therubyracer', platforms: :ruby\r\n\r\n# Use CoffeeScript for .coffee assets and views\r\ngem 'coffee-rails', '~> 4.2'\r\n# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks\r\ngem 'turbolinks', '~> 5'\r\n# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder\r\ngem 'jbuilder', '~> 2.5'\r\n# Use Redis adapter to run Action Cable in production\r\n# gem 'redis', '~> 3.0'\r\n# Use ActiveModel has_secure_password\r\n# gem 'bcrypt', '~> 3.1.7'\r\n\r\n# Use Capistrano for deployment\r\n# gem 'capistrano-rails', group: :development\r\n\r\ngroup :development, :test do\r\n  # Call 'byebug' anywhere in the code to stop execution and get a debugger console\r\n  gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]\r\n  # Adds support for Capybara system testing and selenium driver\r\n  gem 'capybara', '~> 2.13'\r\n  gem 'selenium-webdriver'\r\nend\r\n\r\ngroup :development do\r\n  # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.\r\n  gem 'web-console', '>= 3.3.0'\r\n  gem 'sqlite3'\r\n  gem 'listen', '>= 3.0.5', '< 3.2'\r\n  # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring\r\n  gem 'spring'\r\n  gem 'spring-watcher-listen', '~> 2.0.0'\r\nend\r\n\r\n# Windows does not include zoneinfo files, so bundle the tzinfo-data gem\r\ngem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]\r\n\r\n\r\ngem 'sidekiq'\r\ngem 'activeadmin'\r\ngem 'devise'\r\ngem 'draper'\r\ngem 'pundit'\r\n\r\n```"}}
{"actor":{"display_login":"varyonic"}}