Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Issue during set_heroku_remotes #227

Closed
neiled opened this Issue · 7 comments

6 participants

@neiled

Hi,

I know I'm not a thoughtbot employee but I've used suspenders happily in the past :smile:

This is the first time I've tried out the 4.0 release and I'm getting the error:

Could not find "templates/bin_setup" in any of your source paths. Your current source paths are:
/Users/neil/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/railties-4.0.0/lib/rails/generators/rails/app/templates
/Users/neil/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/suspenders-1.5.1/templates
/Users/neil/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/suspenders-1.5.1/templates

This is during the set_heroku_remotes action. It looks like it's trying to concatenate bin_setup but it's looking for templates/bin_setup rather than just bin_setup.
I can't figure out why my source paths would be different to whatever you guys are doing...

Feel free to close as a 'will not fix' if it's just some setup that you have as part of the 'laptop' script that I can't figure out.

@croaky
Owner

Your source paths look fine. bin_setup should be in /Users/neil/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/suspenders-1.5.1/templates. Can you do an ls of that directory?

@dougvk

+1

@croaky

drwxrwxr-x 3 dougvk dougvk 4096 Oct 19 19:59 .

drwxrwxr-x 6 dougvk dougvk 4096 Oct 19 19:59 ..

-rw-r--r-- 1 dougvk dougvk 216 Oct 19 19:59 application.css.scss

-rw-r--r-- 1 dougvk dougvk 405 Oct 19 19:59 background_jobs_rspec.rb

-rwxr-xr-x 1 dougvk dougvk 587 Oct 19 19:59 bin_setup

-rw-r--r-- 1 dougvk dougvk 191 Oct 19 19:59 config_locales_en.yml

-rw-r--r-- 1 dougvk dougvk 388 Oct 19 19:59 database_cleaner_rspec.rb

-rw-r--r-- 1 dougvk dougvk 140 Oct 19 19:59 disable_xml_params.rb

-rw-r--r-- 1 dougvk dougvk 736 Oct 19 19:59 errors.rb

-rw-r--r-- 1 dougvk dougvk 188 Oct 19 19:59 factories_spec_rake_task.rb

-rw-r--r-- 1 dougvk dougvk 320 Oct 19 19:59 factories_spec.rb

-rw-r--r-- 1 dougvk dougvk 78 Oct 19 19:59 factory_girl_syntax_rspec.rb

-rw-r--r-- 1 dougvk dougvk 123 Oct 19 19:59 _flashes.html.erb

-rw-r--r-- 1 dougvk dougvk 814 Oct 19 19:59 Gemfile_clean

-rw-r--r-- 1 dougvk dougvk 179 Oct 19 19:59 _javascript.html.erb

drwxrwxr-x 2 dougvk dougvk 4096 Oct 19 19:59 javascripts

-rw-r--r-- 1 dougvk dougvk 206 Oct 19 19:59 postgresql_database.yml.erb

-rw-r--r-- 1 dougvk dougvk 92 Oct 19 19:59 Procfile

-rw-r--r-- 1 dougvk dougvk 62 Oct 19 19:59 rack_timeout.rb

-rw-r--r-- 1 dougvk dougvk 373 Oct 19 19:59 README.md.erb

-rw-r--r-- 1 dougvk dougvk 19 Oct 19 19:59 rspec

-rw-r--r-- 1 dougvk dougvk 58 Oct 19 19:59 sample.env

-rw-r--r-- 1 dougvk dougvk 315 Oct 19 19:59 smtp.rb

-rw-r--r-- 1 dougvk dougvk 601 Oct 19 19:59 spec_helper.rb

-rw-r--r-- 1 dougvk dougvk 148 Oct 19 19:59 suspenders_gitignore

-rw-r--r-- 1 dougvk dougvk 351 Oct 19 19:59 suspenders_layout.html.erb.erb

-rw-r--r-- 1 dougvk dougvk 671 Oct 19 19:59 unicorn.rb

@anthonynavarre

I just had the same issue crop up.

As @neiled pointed out, AppBuilder#set_heroku_remotes is looking for templates/bin_setup, when perhaps it should just be looking for bin_setup...

If I get time later I may experiment with this to confirm my suspicions and, if all goes well, issue a pull request. In the meantime, perhaps this info helps someone else stumbling upon the same.

@dougvk

my thought as well - i tried switching it to just bin_setup and it still failed (definitely could've missed something). I worked around the issue for now but it occurred every time I started a new suspenders project on 4.0. spin up a linux server and check it out!

thanks for your time and help

@croaky croaky referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@croaky croaky referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@croaky
Owner

Should be fixed in #238

@croaky croaky closed this
@croaky croaky referenced this issue from a commit
@croaky croaky Set Heroku remotes without using concat_file
* Fix #227
* Fix space between git host and git repo name.
4daae93
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.