Top Level Namespace
Defined Under Namespace
Modules: SolidMCP
Instance Method Summary collapse
-
#cargo_available? ⇒ Boolean
Check if Cargo is available.
- #create_noop_makefile(message) ⇒ Object
Instance Method Details
#cargo_available? ⇒ Boolean
Check if Cargo is available
27 28 29 |
# File 'ext/solid_mcp_native/ffi/extconf.rb', line 27 def cargo_available? system('cargo --version > /dev/null 2>&1') end |
#create_noop_makefile(message) ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 |
# File 'ext/solid_mcp_native/ffi/extconf.rb', line 3 def create_noop_makefile() warn warn 'SolidMCP will fall back to pure Ruby backend.' File.write('Makefile', " all:\n @echo '\#{message}'\n install:\n @echo '\#{message}'\n MAKE\n exit 0\nend\n") |