Skip to content

2.3.0 rspec:install failure on autotest directory copy #283

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
adamaig opened this issue Dec 13, 2010 · 6 comments
Closed

2.3.0 rspec:install failure on autotest directory copy #283

adamaig opened this issue Dec 13, 2010 · 6 comments

Comments

@adamaig
Copy link

adamaig commented Dec 13, 2010

Rspec::Generators::InstallGenerator::copy_autotest_files fails now because there is no autotest directory in the templates directory in the gem after discover.rb was removed.

This is preventing the generator from completing the install task.

A quick solution for those with this problem is to make the missing directory in the gem. (i.e., mkdir rspec-rails-2.3.0/lib/generators/rspec/install/templates/autotest )

@franciscoj
Copy link

I'm having the same issue as @adamaig. The output I'm having is:

Could not find "autotest" in any of your source paths. Your current source paths are: 
/projects/projectname/lib/templates/rspec/install
/Users/username/.rvm/gems/ree-1.8.7-2010.02/gems/rspec-rails-2.3.0/lib/generators/rspec/install/templates

@dchelimsky
Copy link
Contributor

Fix bug in which rspec:install generator tries to copy autotest files
that don't exist.

@bobbybrenman
Copy link

How do you make the missing directory in gem?

@chrisjschmitt
Copy link

Now when I run rspec:install it doesn't install autotest at all. Should I be worried? I'm running within rvm if that helps.

@dchelimsky
Copy link
Contributor

@prabeshshrestha
Copy link

creating autotest directory solved the problem. Thanks.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants