我最近切换到使用 bundler,现在每当我在我的 rails 应用程序的 scripts/ 文件夹下运行脚本时,我都会收到以下警告:
config.gem: Unpacked gem environment.rb in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this.
config.gem: Unpacked gem environment.rb in vendor/gems not in a versioned directory. Giving up.
config.gem: Unpacked gem ruby in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this.
config.gem: Unpacked gem ruby in vendor/gems not in a versioned directory. Giving up.
我该怎么做才能消除这些错误或解决它们?