undefined method `expand_path' for Stripe::File:Class.
BitesGit opened this issue · 3 comments
BitesGit commented
I had to change File scope from Stripe to ::File in lib/generators/stripe/install_generator.rb:3 to get
rails generate stripe:install
working.
Rails 5.2, ruby 2.4.4
ondenman commented
I have just encountered this issue also.
ruby 2.5.1p57, Rails 5.2.1
tansengming commented
Thanks for letting me know folks! I have a fix for this at #128 and should be releasing it once it's green.
That line has been untouched in 6 years, I wonder what changed to break it.
tansengming commented