{"action":"created","issue":{"url":"https://api.github.com/repos/schneems/derailed_benchmarks/issues/75","repository_url":"https://api.github.com/repos/schneems/derailed_benchmarks","labels_url":"https://api.github.com/repos/schneems/derailed_benchmarks/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/schneems/derailed_benchmarks/issues/75/comments","events_url":"https://api.github.com/repos/schneems/derailed_benchmarks/issues/75/events","html_url":"https://github.com/schneems/derailed_benchmarks/issues/75","id":142353872,"number":75,"title":"My rails 4.2.6 project is installing derailed_benchmarks v0.0.0 when using rake >=11","user":{"login":"ProGM","id":5167659,"avatar_url":"https://avatars.githubusercontent.com/u/5167659?v=3","gravatar_id":"","url":"https://api.github.com/users/ProGM","html_url":"https://github.com/ProGM","followers_url":"https://api.github.com/users/ProGM/followers","following_url":"https://api.github.com/users/ProGM/following{/other_user}","gists_url":"https://api.github.com/users/ProGM/gists{/gist_id}","starred_url":"https://api.github.com/users/ProGM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProGM/subscriptions","organizations_url":"https://api.github.com/users/ProGM/orgs","repos_url":"https://api.github.com/users/ProGM/repos","events_url":"https://api.github.com/users/ProGM/events{/privacy}","received_events_url":"https://api.github.com/users/ProGM/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-21T13:52:26Z","updated_at":"2016-03-24T16:32:14Z","closed_at":null,"body":"I just created a new rails 4.2.6 project. After doing setup, I added:\r\n\r\n```ruby\r\ngroup :development do\r\n  gem 'stackprof'\r\n  gem 'derailed'\r\nend\r\n```\r\n\r\nAnd I tried to run it, but it fails:\r\n\r\n```ruby\r\n/Users/MYUSER/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.11.2/lib/bundler/rubygems_integration.rb:355:in `block in replace_bin_path': can't find executable derailed (Gem::Exception)\r\n\tfrom /Users/MYUSER/.rbenv/versions/2.2.3/bin/derailed:23:in `<main>'\r\n```\r\n\r\nI noticed that in my Gemfile.lock says that `derailed_benchmarks v0.0.0` is installed. I think that `0.0.0` is not a valid version for this gem.\r\n\r\nTo solve this, I downgraded to rake 10.5.0, and it seems to work.\r\n\r\nI think there's some kind of issue with rake 11+\r\n\r\n(in fact I noticed that in your `gemspec` the definition is: `gem.add_dependency \"rake\", \"~> 10\"`)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/schneems/derailed_benchmarks/issues/comments/200914079","html_url":"https://github.com/schneems/derailed_benchmarks/issues/75#issuecomment-200914079","issue_url":"https://api.github.com/repos/schneems/derailed_benchmarks/issues/75","id":200914079,"user":{"login":"ProGM","id":5167659,"avatar_url":"https://avatars.githubusercontent.com/u/5167659?v=3","gravatar_id":"","url":"https://api.github.com/users/ProGM","html_url":"https://github.com/ProGM","followers_url":"https://api.github.com/users/ProGM/followers","following_url":"https://api.github.com/users/ProGM/following{/other_user}","gists_url":"https://api.github.com/users/ProGM/gists{/gist_id}","starred_url":"https://api.github.com/users/ProGM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProGM/subscriptions","organizations_url":"https://api.github.com/users/ProGM/orgs","repos_url":"https://api.github.com/users/ProGM/repos","events_url":"https://api.github.com/users/ProGM/events{/privacy}","received_events_url":"https://api.github.com/users/ProGM/received_events","type":"User","site_admin":false},"created_at":"2016-03-24T16:32:14Z","updated_at":"2016-03-24T16:32:14Z","body":"It keeps reinstalling it. :disappointed: \r\n\r\n```\r\n$ gem uninstall derailed_benchmarks\r\n\r\nSelect gem to uninstall:\r\n 1. derailed_benchmarks-0.0.0\r\n 2. derailed_benchmarks-1.3.0\r\n 3. All versions\r\n> 1\r\nSuccessfully uninstalled derailed_benchmarks-0.0.0\r\n```\r\n\r\n```ruby\r\n$ bundle update derailed_benchmarks\r\nFetching gem metadata from https://rubygems.org/...........\r\nFetching version metadata from https://rubygems.org/...\r\nFetching dependency metadata from https://rubygems.org/..\r\nResolving dependencies...\r\nUsing rake 11.1.1\r\nUsing i18n 0.7.0\r\nUsing json 1.8.3\r\nUsing minitest 5.8.4\r\nUsing thread_safe 0.3.5\r\nUsing builder 3.2.2\r\nUsing erubis 2.7.0\r\nUsing mini_portile2 2.0.0\r\nUsing rack 1.6.4\r\nUsing mime-types-data 3.2016.0221\r\nUsing arel 6.0.3\r\nUsing benchmark-ips 2.5.0\r\nUsing bundler 1.11.2\r\nUsing concurrent-ruby 1.0.1\r\nUsing get_process_mem 0.2.0\r\nUsing memory_profiler 0.9.6\r\nUsing thor 0.19.1\r\nUsing stackprof 0.2.8\r\nUsing tzinfo 1.2.2\r\nUsing nokogiri 1.6.7.2\r\nUsing rack-test 0.6.3\r\nUsing mime-types 3.0\r\nUsing sprockets 3.5.2\r\nInstalling derailed_benchmarks 0.0.0\r\nUsing activesupport 4.2.6\r\nUsing loofah 2.0.3\r\nUsing mail 2.6.4\r\nUsing derailed 0.1.0\r\nUsing rails-deprecated_sanitizer 1.0.3\r\nUsing globalid 0.3.6\r\nUsing activemodel 4.2.6\r\nUsing rails-html-sanitizer 1.0.3\r\nUsing rails-dom-testing 1.0.7\r\nUsing activejob 4.2.6\r\nUsing activerecord 4.2.6\r\nUsing actionview 4.2.6\r\nUsing actionpack 4.2.6\r\nUsing actionmailer 4.2.6\r\nUsing railties 4.2.6\r\nUsing sprockets-rails 3.0.4\r\nUsing rails 4.2.6\r\nBundle updated!\r\n```"}}