Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby Build a Todo List Application with Rails 4 Build a Todo List Application with Rails 4 Set up Git and Add Gems

jonathan amador
jonathan amador
Full Stack JavaScript Techdegree Student 6,154 Points

No idea here about what is going on I cant find rspec file

This I what I have at the Gem file

source 'https://rubygems.org'

gem 'rails', '4.2.0' 
gem 'sqlite3' 
gem 'sass-rails', '~> 5.0'
 gem 'uglifier', '>= 1.3.0'
  gem 'coffee-rails', '~> 4.1.0' 
  gem 'jquery-rails' 
  gem 'turbolinks'
   gem 'jbuilder', '~> 2.0'
    gem 'sdoc', '~> 0.4.0', group: :doc

group :development do gem 'rspec-rails', '~> 2.0' gem 'byebug' gem 'web-console', '~> 2.0'

gem 'spring' end

group :test do gem 'capybara', '~> 2.1.0' end

At the command line this is what I get

treehouse:~/project/odot (master *) $ bin/rails generate rspec:install Could not find generator rspec:install.

After this I can continue thanks

1 Answer

Jeff Jacobson-Swartfager
Jeff Jacobson-Swartfager
15,419 Points

Make sure that all of the gems in your Gemfile are installed with

bundle update
bundle install

You can make sure the gem is where you think it is with

which rspec-rails