laserlemon / figaro

Simple Rails app configuration
MIT License
3.77k stars 288 forks source link

Undefined method exists? #292

Open LeeCrey opened 1 year ago

LeeCrey commented 1 year ago

cli/install.rb:22 in ignore_configuration: undefined method exists? For file:Class (NoMethodError)

if File.exists?(".gitignore")

Rails v 7.+

gazayas commented 1 year ago
CuddlyBunion341 commented 1 year ago

Can you please include it in the new release? It makes automatic configuration of rails projects quite anoying.

iscott commented 2 months ago

@CuddlyBunion341 it's not updated on rubygems but you can pull it directly from github by using this line in your Gemfile:

gem "figaro", git: "https://github.com/laserlemon/figaro"
CuddlyBunion341 commented 2 months ago

Thanks for the reply, @iscott! I noticed that #294 was merged this April, and I wanted to know when the next release of this Ruby gem will be, even though the temporary solution with the explicit git path works fine at the moment.