{"action":"created","issue":{"url":"https://api.github.com/repos/rspec/rspec-rails/issues/1546","repository_url":"https://api.github.com/repos/rspec/rspec-rails","labels_url":"https://api.github.com/repos/rspec/rspec-rails/issues/1546/labels{/name}","comments_url":"https://api.github.com/repos/rspec/rspec-rails/issues/1546/comments","events_url":"https://api.github.com/repos/rspec/rspec-rails/issues/1546/events","html_url":"https://github.com/rspec/rspec-rails/issues/1546","id":131367903,"number":1546,"title":"rails g rspec:install doesn't work with Rails 5.0.0beta2 --api","user":{"login":"Elux91","id":6771096,"avatar_url":"https://avatars.githubusercontent.com/u/6771096?v=3","gravatar_id":"","url":"https://api.github.com/users/Elux91","html_url":"https://github.com/Elux91","followers_url":"https://api.github.com/users/Elux91/followers","following_url":"https://api.github.com/users/Elux91/following{/other_user}","gists_url":"https://api.github.com/users/Elux91/gists{/gist_id}","starred_url":"https://api.github.com/users/Elux91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Elux91/subscriptions","organizations_url":"https://api.github.com/users/Elux91/orgs","repos_url":"https://api.github.com/users/Elux91/repos","events_url":"https://api.github.com/users/Elux91/events{/privacy}","received_events_url":"https://api.github.com/users/Elux91/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"samphippen","id":96662,"avatar_url":"https://avatars.githubusercontent.com/u/96662?v=3","gravatar_id":"","url":"https://api.github.com/users/samphippen","html_url":"https://github.com/samphippen","followers_url":"https://api.github.com/users/samphippen/followers","following_url":"https://api.github.com/users/samphippen/following{/other_user}","gists_url":"https://api.github.com/users/samphippen/gists{/gist_id}","starred_url":"https://api.github.com/users/samphippen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samphippen/subscriptions","organizations_url":"https://api.github.com/users/samphippen/orgs","repos_url":"https://api.github.com/users/samphippen/repos","events_url":"https://api.github.com/users/samphippen/events{/privacy}","received_events_url":"https://api.github.com/users/samphippen/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/rspec/rspec-rails/milestones/18","html_url":"https://github.com/rspec/rspec-rails/milestones/3.5.0.beta2","labels_url":"https://api.github.com/repos/rspec/rspec-rails/milestones/18/labels","id":1564522,"number":18,"title":"3.5.0.beta2","description":null,"creator":{"login":"JonRowe","id":162976,"avatar_url":"https://avatars.githubusercontent.com/u/162976?v=3","gravatar_id":"","url":"https://api.github.com/users/JonRowe","html_url":"https://github.com/JonRowe","followers_url":"https://api.github.com/users/JonRowe/followers","following_url":"https://api.github.com/users/JonRowe/following{/other_user}","gists_url":"https://api.github.com/users/JonRowe/gists{/gist_id}","starred_url":"https://api.github.com/users/JonRowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonRowe/subscriptions","organizations_url":"https://api.github.com/users/JonRowe/orgs","repos_url":"https://api.github.com/users/JonRowe/repos","events_url":"https://api.github.com/users/JonRowe/events{/privacy}","received_events_url":"https://api.github.com/users/JonRowe/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2016-02-04T22:06:15Z","updated_at":"2016-02-04T22:06:15Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-02-04T14:42:37Z","updated_at":"2016-02-05T12:03:36Z","closed_at":null,"body":"I created an rails api with the latest version of rails (Rails 5.0.0.beta2) and have the following rspec gems installed:\r\n  * rspec (3.4.0)\r\n  * rspec-core (3.4.2)\r\n  * rspec-expectations (3.4.0)\r\n  * rspec-mocks (3.4.1)\r\n  * rspec-support (3.4.1)\r\n\r\nwhen I try to run \r\n\r\n    rails g rspec:install\r\n\r\nI get the following error message:\r\n\r\n> Could not find generator 'rspec:install'. Maybe you meant 'assets', 'channel' or 'scaffold'\r\nRun `rails generate --help` for more options.\r\n\r\nI assume it is a bug with rails 5, but mb I just missed something very obvious.\r\nI just started using rspec."},"comment":{"url":"https://api.github.com/repos/rspec/rspec-rails/issues/comments/180320815","html_url":"https://github.com/rspec/rspec-rails/issues/1546#issuecomment-180320815","issue_url":"https://api.github.com/repos/rspec/rspec-rails/issues/1546","id":180320815,"user":{"login":"samphippen","id":96662,"avatar_url":"https://avatars.githubusercontent.com/u/96662?v=3","gravatar_id":"","url":"https://api.github.com/users/samphippen","html_url":"https://github.com/samphippen","followers_url":"https://api.github.com/users/samphippen/followers","following_url":"https://api.github.com/users/samphippen/following{/other_user}","gists_url":"https://api.github.com/users/samphippen/gists{/gist_id}","starred_url":"https://api.github.com/users/samphippen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samphippen/subscriptions","organizations_url":"https://api.github.com/users/samphippen/orgs","repos_url":"https://api.github.com/users/samphippen/repos","events_url":"https://api.github.com/users/samphippen/events{/privacy}","received_events_url":"https://api.github.com/users/samphippen/received_events","type":"User","site_admin":false},"created_at":"2016-02-05T12:03:36Z","updated_at":"2016-02-05T12:03:36Z","body":"@Elux91 did you try off RSpec master? specifically, you'll want to have the following lines in your gemfile:\r\n\r\n```ruby\r\n\r\n\r\ngem \"rspec-core\", :github => \"rspec/rspec-core\"\r\ngem \"rspec-expectations\", :github => \"rspec/rspec-expectations\"\r\ngem \"rspec-mocks\", :github => \"rspec/rspec-mocks\"\r\ngem \"rspec-support\", :github => \"rspec/rspec-support\"\r\ngem \"rspec-rails\", :github => \"rspec/rspec-rails\"\r\n```\r\n\r\nWe haven't released a version of RSpec with rails 5 support yet, so until we do, you'll have to pull from git. If this works for you, let us know, if it doesn't, **very** let us know."}}