{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/20586","labels_url":"https://api.github.com/repos/rails/rails/issues/20586/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/20586/comments","events_url":"https://api.github.com/repos/rails/rails/issues/20586/events","html_url":"https://github.com/rails/rails/issues/20586","id":88834196,"number":20586,"title":"Rails 4.2.2 upgrade causes distracting rails c warning","user":{"login":"joelpresence","id":12057689,"avatar_url":"https://avatars.githubusercontent.com/u/12057689?v=3","gravatar_id":"","url":"https://api.github.com/users/joelpresence","html_url":"https://github.com/joelpresence","followers_url":"https://api.github.com/users/joelpresence/followers","following_url":"https://api.github.com/users/joelpresence/following{/other_user}","gists_url":"https://api.github.com/users/joelpresence/gists{/gist_id}","starred_url":"https://api.github.com/users/joelpresence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelpresence/subscriptions","organizations_url":"https://api.github.com/users/joelpresence/orgs","repos_url":"https://api.github.com/users/joelpresence/repos","events_url":"https://api.github.com/users/joelpresence/events{/privacy}","received_events_url":"https://api.github.com/users/joelpresence/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-06-16T20:36:47Z","updated_at":"2015-06-16T22:59:53Z","closed_at":"2015-06-16T21:13:14Z","body":"Thanks for all of your hard work on Rails!\r\n\r\nIn response to the recent vulnerability announcements, I updated from rails 4.2.1 to 4.2.2 and now every time I run the rails console I get the following distracting warning:\r\n```\r\nbash shell> rails c\r\nLoading development environment (Rails 4.2.2)\r\nirb: warn: can't alias context from irb_context.\r\n2.2.2 :001 >\r\n```\r\nNothing else has changed in my environment except updating from rails 4.2.1 to 4.2.2 and now all of a sudden I am getting this `irb: warn: can't alias context from irb_context.`.  The warning is *very* distracting and it never occurred on rails 4.2.1.\r\n\r\nCan somebody please take a look?  :-)\r\n\r\nThanks,\r\n\r\nJoel"},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/112597144","html_url":"https://github.com/rails/rails/issues/20586#issuecomment-112597144","issue_url":"https://api.github.com/repos/rails/rails/issues/20586","id":112597144,"user":{"login":"rafaelfranca","id":47848,"avatar_url":"https://avatars.githubusercontent.com/u/47848?v=3","gravatar_id":"","url":"https://api.github.com/users/rafaelfranca","html_url":"https://github.com/rafaelfranca","followers_url":"https://api.github.com/users/rafaelfranca/followers","following_url":"https://api.github.com/users/rafaelfranca/following{/other_user}","gists_url":"https://api.github.com/users/rafaelfranca/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelfranca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelfranca/subscriptions","organizations_url":"https://api.github.com/users/rafaelfranca/orgs","repos_url":"https://api.github.com/users/rafaelfranca/repos","events_url":"https://api.github.com/users/rafaelfranca/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelfranca/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T22:59:53Z","updated_at":"2015-06-16T22:59:53Z","body":"Thanks. With this diff we can find the cause of the warning. Like Matthew\npoint there are more changes that just Rails and rack, so it may be related\nto things like Ruby_parser.\n\nI don't think you are being rude, your questions are relevant.\n\nOn Tue, Jun 16, 2015, 19:54 joelpresence <notifications@github.com> wrote:\n\n> Thank you so much @rafaelfranca <https://github.com/rafaelfranca> ! And\n> I'm not trying to be rude, :-), I'm just frustrated.\n>\n> Here's the diff of Gemfile.lock:\n>\n> diff --git a/Gemfile.lock b/Gemfile.lock\n> index 6b64865..ea26385 100644\n> --- a/Gemfile.lock\n> +++ b/Gemfile.lock\n> @@ -1,36 +1,36 @@\n>  GEM\n>    remote: https://rubygems.org/\n>    specs:\n> -    actionmailer (4.2.1)\n> -      actionpack (= 4.2.1)\n> -      actionview (= 4.2.1)\n> -      activejob (= 4.2.1)\n> +    actionmailer (4.2.2)\n> +      actionpack (= 4.2.2)\n> +      actionview (= 4.2.2)\n> +      activejob (= 4.2.2)\n>        mail (~> 2.5, >= 2.5.4)\n>        rails-dom-testing (~> 1.0, >= 1.0.5)\n> -    actionpack (4.2.1)\n> -      actionview (= 4.2.1)\n> -      activesupport (= 4.2.1)\n> +    actionpack (4.2.2)\n> +      actionview (= 4.2.2)\n> +      activesupport (= 4.2.2)\n>        rack (~> 1.6)\n>        rack-test (~> 0.6.2)\n>        rails-dom-testing (~> 1.0, >= 1.0.5)\n>        rails-html-sanitizer (~> 1.0, >= 1.0.1)\n> -    actionview (4.2.1)\n> -      activesupport (= 4.2.1)\n> +    actionview (4.2.2)\n> +      activesupport (= 4.2.2)\n>        builder (~> 3.1)\n>        erubis (~> 2.7.0)\n>        rails-dom-testing (~> 1.0, >= 1.0.5)\n>        rails-html-sanitizer (~> 1.0, >= 1.0.1)\n> -    activejob (4.2.1)\n> -      activesupport (= 4.2.1)\n> +    activejob (4.2.2)\n> +      activesupport (= 4.2.2)\n>        globalid (>= 0.3.0)\n> -    activemodel (4.2.1)\n> -      activesupport (= 4.2.1)\n> +    activemodel (4.2.2)\n> +      activesupport (= 4.2.2)\n>        builder (~> 3.1)\n> -    activerecord (4.2.1)\n> -      activemodel (= 4.2.1)\n> -      activesupport (= 4.2.1)\n> +    activerecord (4.2.2)\n> +      activemodel (= 4.2.2)\n> +      activesupport (= 4.2.2)\n>        arel (~> 6.0)\n> -    activesupport (4.2.1)\n> +    activesupport (4.2.2)\n>        i18n (~> 0.7)\n>        json (~> 1.7, >= 1.7.7)\n>        minitest (~> 5.1)\n> @@ -106,12 +106,12 @@ GEM\n>        json (~> 1.8)\n>        multi_xml (>= 0.5.2)\n>      i18n (0.7.0)\n> -    jbuilder (2.2.16)\n> +    jbuilder (2.3.0)\n>        activesupport (>= 3.0.0, < 5)\n>        multi_json (~> 1.2)\n>      jmespath (1.0.2)\n>        multi_json (~> 1.0)\n> -    jquery-rails (4.0.3)\n> +    jquery-rails (4.0.4)\n>        rails-dom-testing (~> 1.0)\n>        railties (>= 4.2.0)\n>        thor (>= 0.14, < 2.0)\n> @@ -130,7 +130,8 @@ GEM\n>      mime-types (2.6.1)\n>      mini_portile (0.6.2)\n>      minitest (5.7.0)\n> -    multi_json (1.11.0)\n> +    mono_logger (1.1.0)\n> +    multi_json (1.11.1)\n>      multi_xml (0.5.5)\n>      nenv (0.2.0)\n>      newrelic_rpm (3.12.0.288)\n> @@ -146,19 +147,21 @@ GEM\n>        slop (~> 3.4)\n>      rabl (0.11.6)\n>        activesupport (>= 2.3.14)\n> -    rack (1.6.1)\n> +    rack (1.6.2)\n> +    rack-protection (1.5.3)\n> +      rack\n>      rack-test (0.6.3)\n>        rack (>= 1.0)\n> -    rails (4.2.1)\n> -      actionmailer (= 4.2.1)\n> -      actionpack (= 4.2.1)\n> -      actionview (= 4.2.1)\n> -      activejob (= 4.2.1)\n> -      activemodel (= 4.2.1)\n> -      activerecord (= 4.2.1)\n> -      activesupport (= 4.2.1)\n> +    rails (4.2.2)\n> +      actionmailer (= 4.2.2)\n> +      actionpack (= 4.2.2)\n> +      actionview (= 4.2.2)\n> +      activejob (= 4.2.2)\n> +      activemodel (= 4.2.2)\n> +      activerecord (= 4.2.2)\n> +      activesupport (= 4.2.2)\n>        bundler (>= 1.3.0, < 2.0)\n> -      railties (= 4.2.1)\n> +      railties (= 4.2.2)\n>        sprockets-rails\n>      rails-deprecated_sanitizer (1.0.3)\n>        activesupport (>= 4.2.0.alpha)\n> @@ -173,9 +176,9 @@ GEM\n>        rails_stdout_logging\n>      rails_serve_static_assets (0.0.4)\n>      rails_stdout_logging (0.0.3)\n> -    railties (4.2.1)\n> -      actionpack (= 4.2.1)\n> -      activesupport (= 4.2.1)\n> +    railties (4.2.2)\n> +      actionpack (= 4.2.2)\n> +      activesupport (= 4.2.2)\n>        rake (>= 0.8.7)\n>        thor (>= 0.18.1, < 2.0)\n>      raindrops (0.13.0)\n> @@ -184,28 +187,40 @@ GEM\n>      rb-inotify (0.9.5)\n>        ffi (>= 0.5.0)\n>      rdoc (4.2.0)\n> -    rspec (3.2.0)\n> -      rspec-core (~> 3.2.0)\n> -      rspec-expectations (~> 3.2.0)\n> -      rspec-mocks (~> 3.2.0)\n> -    rspec-core (3.2.3)\n> -      rspec-support (~> 3.2.0)\n> -    rspec-expectations (3.2.1)\n> +    redis (3.2.1)\n> +    redis-namespace (1.5.2)\n> +      redis (~> 3.0, >= 3.0.4)\n> +    resque (1.25.2)\n> +      mono_logger (~> 1.0)\n> +      multi_json (~> 1.0)\n> +      redis-namespace (~> 1.3)\n> +      sinatra (>= 0.9.2)\n> +      vegas (~> 0.1.2)\n> +    rspec (3.3.0)\n> +      rspec-core (~> 3.3.0)\n> +      rspec-expectations (~> 3.3.0)\n> +      rspec-mocks (~> 3.3.0)\n> +    rspec-activejob (0.4.1)\n> +      activejob (>= 4.2)\n> +      rspec-mocks\n> +    rspec-core (3.3.0)\n> +      rspec-support (~> 3.3.0)\n> +    rspec-expectations (3.3.0)\n>        diff-lcs (>= 1.2.0, < 2.0)\n> -      rspec-support (~> 3.2.0)\n> -    rspec-mocks (3.2.1)\n> +      rspec-support (~> 3.3.0)\n> +    rspec-mocks (3.3.0)\n>        diff-lcs (>= 1.2.0, < 2.0)\n> -      rspec-support (~> 3.2.0)\n> -    rspec-rails (3.2.3)\n> +      rspec-support (~> 3.3.0)\n> +    rspec-rails (3.3.1)\n>        actionpack (>= 3.0, < 4.3)\n>        activesupport (>= 3.0, < 4.3)\n>        railties (>= 3.0, < 4.3)\n> -      rspec-core (~> 3.2.0)\n> -      rspec-expectations (~> 3.2.0)\n> -      rspec-mocks (~> 3.2.0)\n> -      rspec-support (~> 3.2.0)\n> -    rspec-support (3.2.2)\n> -    ruby_parser (3.6.6)\n> +      rspec-core (~> 3.3.0)\n> +      rspec-expectations (~> 3.3.0)\n> +      rspec-mocks (~> 3.3.0)\n> +      rspec-support (~> 3.3.0)\n> +    rspec-support (3.3.0)\n> +    ruby_parser (3.7.0)\n>        sexp_processor (~> 4.1)\n>      sass (3.4.14)\n>      sass-rails (5.0.3)\n> @@ -217,8 +232,12 @@ GEM\n>      sdoc (0.4.1)\n>        json (~> 1.7, >= 1.7.7)\n>        rdoc (~> 4.0)\n> -    sexp_processor (4.5.1)\n> +    sexp_processor (4.6.0)\n>      shellany (0.0.1)\n> +    sinatra (1.4.6)\n> +      rack (~> 1.4)\n> +      rack-protection (~> 1.4)\n> +      tilt (>= 1.3, < 3)\n>      slop (3.6.0)\n>      spring (1.3.6)\n>      spring-commands-rspec (1.0.4)\n> @@ -245,12 +264,14 @@ GEM\n>        kgio (~> 2.6)\n>        rack\n>        raindrops (~> 0.7)\n> +    vegas (0.1.11)\n> +      rack (>= 1.0.0)\n>      versioncake (2.5.0)\n>        actionpack (>= 3.2)\n>        activesupport (>= 3.2)\n>        railties (>= 3.2)\n>        tzinfo\n> -    web-console (2.1.2)\n> +    web-console (2.1.3)\n>        activemodel (>= 4.0)\n>        binding_of_caller (>= 0.7.2)\n>        railties (>= 4.0)\n> @@ -270,13 +291,16 @@ DEPENDENCIES\n>    haml-rails (~> 0.9.0)\n>    httparty (~> 0.13.5)\n>    jbuilder (~> 2.0)\n> -  jquery-rails\n> +  jquery-rails (~> 4.0.4)\n>    newrelic_rpm\n>    pg\n>    rabl (~> 0.11.6)\n> -  rails (= 4.2.1)\n> +  rack (~> 1.6.2)\n> +  rails (= 4.2.2)\n>    rails_12factor\n> -  rspec-rails (~> 3.2.3)\n> +  resque (~> 1.25.2)\n> +  rspec-activejob (~> 0.4.1)\n> +  rspec-rails (~> 3.3.1)\n>    sass-rails (~> 5.0)\n>    sdoc (~> 0.4.0)\n>    spring\n> @@ -285,4 +309,4 @@ DEPENDENCIES\n>    uglifier (>= 1.3.0)\n>    unicorn (~> 4.9.0)\n>    versioncake (= 2.5.0)\n> -  web-console (~> 2.0)\n> +  web-console (~> 2.1.3)\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/rails/rails/issues/20586#issuecomment-112596387>.\n>\n"}}