tansengming/stripe-rails

undefined method `expand_path' for Stripe::File:Class.

BitesGit opened this issue · 3 comments

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

I have just encountered this issue also.

ruby 2.5.1p57, Rails 5.2.1

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.