Could not find "README" in any of your source paths. #6868

Closed
olivierbuffon opened this Issue Jun 26, 2012 · 9 comments

Comments

Projects
None yet
3 participants

I'm using ruby 1.9.3-p194 and rails 3.2.6.
I've this error when I'm trying to create a new project :

Could not find "README" in any of your source paths.

Changing my project folder to a destination with no spaces solved the problem... I hope it helps ...

Member

steveklabnik commented Jun 26, 2012

Did you quote the project name when running the generator?

Actually no, because I'm creating my project in the current directory like : rails new myapp
It's just because the path to that directory contains spaces :(

Member

steveklabnik commented Jun 26, 2012

Ah! Okay, that clears it up.

I cannot reproduce this on OSX:

steve at thoth in ~/tmp/with spaces
$ rails new myapp
...
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.

This is with Rails 3.2.6

Here is what I did to get the error :

rails _3.2.6_ new store
create  /Users/olivierbuffon/Documents/Stages en Entreprise/Webegy - [2012]/Projects/store
Could not find "README" in any of your source paths. Your current source paths are: 
/Users/olivierbuffon/.rvm/gems/ruby-1.9.3-p194@global/gems/railties-3.2.6/lib/rails/generators/rails/app/templates
Member

steveklabnik commented Jun 26, 2012

I bet it's the [] and not the spaces.

Member

steveklabnik commented Jun 26, 2012

Yep:

steve at thoth in ~/tmp/zomg \[brackets\]
$ rails new foo
      create  /Users/steve/tmp/zomg \[brackets\]/foo
Could not find "README" in any of your source paths. Your current source paths are: 
/Users/steve/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.6/lib/rails/generators/rails/app/templates

Oh you're right ! :)
But it's strange I never had this problem before with any version of rails.

Owner

rafaelfranca commented Jun 26, 2012

This is a dup of #6010. I'll close it since #6010 have more information. @olivierbuffon please follow #6010

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment