ruto on Nostr: TIL: ...
Published at
2023-12-24 09:36:53Event JSON
{
"id": "82c90e084a9601d3042ec8e392b633e930a9e87fd25b9e3b762c54a5b21bb061",
"pubkey": "2888961a564e080dfe35ad8fc6517b920d2fcd2b7830c73f7c3f9f2abae90ea9",
"created_at": 1703410613,
"kind": 1,
"tags": [],
"content": "TIL: Rubyでちょっとしたスクリプト書くのにGemfile書くのめんどくさいな、1ファイルで済ませる方法があればいいのに、と思ったらあった。\n\nhttps://bundler.io/guides/bundler_in_a_single_file_ruby_script.html\n\nrequire 'bundler/inline'して、gemfile do source 'https://rubygems.org'; gem 'hoge' endって書けばいいらしい。",
"sig": "8319a12364eb3a915965f84a24800e686a25a60e9c2a43d942af4686378588f99073c79ab5a192b67ca9632de63f92d69aeb4c0ec5c15bf620590493a6f65edc"
}