Tag: ruby
All the articles with the tag "ruby".
[Ruby] Instance(實例) vs Class(類別) variable 差別是什麼
Published: at 11:50 AM (3 min read)在面試 RoR Instance(實例) 和 Class(類別) variable 的差異算是蠻常見的問題,但一陣子沒寫 Ruby 一時又忘記了...因此記錄一下讓自己之後可以回來複習 🥲
[Ruby] Fix rugged gem install error: CMake is required
Published: at 06:08 AM (1 min read)How to resolve the 'CMake is required to build Rugged' error when installing the rugged gem in Ruby.
[MacOS] How to Resolve 'Can't find the libpq-fe.h header' Error
Published: at 12:55 PM (1 min read)An error occurred while installing pg (1.2.3), and Bundler cannot continue.
[MacOS] How to Resolve 'ERROR: CMake is required to build Rugged.'
Published: at 12:44 PM (1 min read)An error occurred while installing rugged (1.9.0), and Bundler cannot continue.
[Ruby-LSP] NoMethodError: undefined method `anything' for T:Module
Published: at 12:12 PM (1 min read)在 vscode 使用 Ruby-LSP 時偶爾會遇到 NoMethodError: undefined method `anything' for T:Module 的錯誤