railsbump / app

Check which gems are compatible with which Rails version!
https://railsbump.org
MIT License
166 stars 23 forks source link

./bin/setup is not working #49

Closed etagwerker closed 4 years ago

etagwerker commented 4 years ago

Hi folks,

When I try to git clone and bin/setup I end up with this error:

✗ ./bin/setup
== Installing dependencies ==

[!] There was an error parsing `Gemfile`:
[!] There was an error parsing `Gemfile`: No such file or directory @ rb_sysopen - /Users/etagwerker/Projects/fastruby/railsbump/common-gems/rails/Gemfile. Bundler cannot continue.
. Bundler cannot continue.

 #  from /Users/etagwerker/Projects/fastruby/railsbump/Gemfile:22
 #  -------------------------------------------
 #  ).each do |m|
 >    eval_gemfile File.join('common-gems', m, 'Gemfile')
 #  end
 #  -------------------------------------------

[!] There was an error parsing `Gemfile`:
[!] There was an error parsing `Gemfile`: No such file or directory @ rb_sysopen - /Users/etagwerker/Projects/fastruby/railsbump/common-gems/rails/Gemfile. Bundler cannot continue.
. Bundler cannot continue.

 #  from /Users/etagwerker/Projects/fastruby/railsbump/Gemfile:22
 #  -------------------------------------------
 #  ).each do |m|
 >    eval_gemfile File.join('common-gems', m, 'Gemfile')
 #  end
 #  -------------------------------------------

== Command ["bundle install"] failed ==

Steps to reproduce

  1. git clone git@github.com:manuelmeurer/railsbump.git
  2. ./bin/setup

Potential Solution

I believe that this is happening because we are missing git submodule steps in bin/setup

It would be great if we initialized and fetched modules before trying to bundle install 😄