JacobEvelyn / friends

Spend time with the people you care about. Introvert-tested. Extrovert-approved.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependabot can't evaluate your Ruby dependency files

dependabot-preview opened this issue · comments

Dependabot can't evaluate your Ruby dependency files.

As a result, Dependabot couldn't check whether any of your dependencies are out-of-date.

The error Dependabot encountered was:

Bundler::Dsl::DSLError with message: 
[!] There was an error parsing `Gemfile`: 
[!] There was an error while loading `friends.gemspec`: uninitialized constant Friends. Bundler cannot continue.

 #  from /home/dependabot/dependabot-updater//dependabot_tmp_dir/friends.gemspec:19
 #  -------------------------------------------
 #    spec.license              = "MIT"
 >    spec.post_install_message = Friends::POST_INSTALL_MESSAGE
 #  
 #  -------------------------------------------
. Bundler cannot continue.

 #  from /home/dependabot/dependabot-updater//dependabot_tmp_dir/Gemfile:5
 #  -------------------------------------------
 #  
 >  gemspec
 #  -------------------------------------------

You can mention @dependabot in the comments below to contact the Dependabot team.

@dependabot is the require "friends/post_install_message" line not working correctly? What can I do to help fix this?

Ah, this is going to be due to some sanitization that Dependabot does. It's this line that will be confusing Dependabot, but the fix is for me to do the sanitzation better - let me have a quick go at that...

OK, this should be fixed in dependabot/dependabot-core@f833cb3, which is deploying now. Will re-run Dependabot on this repo to double-check.

Thanks! Let me know if it works!

🎉

Thanks for tagging me in this one - Dependabot's gemspec sanitization is a bunch more robust as a result.

No problem, glad to hear it!