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

Trouble installing rspec using bin/rails.

When I tried to install rspec using the command bin/rails generate rspec:install a pop up would appear asking which program I would like to open the program inside. When I choose a program I receive this text:

!/usr/bin/env jruby.exe

APP_PATH = File.expand_path('../../config/application', FILE) require_relative '../config/boot' require 'rails/commands'

What does that mean?

Also, I can install rspec without using the bin command. Just rails genereate rspec:install seemed to do the trick.

Will I have any issues if I continue on without using the bin command?

1 Answer

jason chan
jason chan
31,009 Points

if on windows just use rails

don't use bin/rails