Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
http://rubykaigi.org/2015/presentations/hone02_zzak Many projects rely on command-line tools to provide an efficient and powerful interface to work. Building tools for everyone can be difficult, because of conflicting environment or OS. How can we build command-line apps that work for everyone and still write Ruby? This talk will discuss how to use mruby-cli to build cross-platform apps in Ruby. Our goal will be to build a CLI app using mruby and produce a self-contained binary that can be shipped to end users. Since mruby is designed to be embedded and statically compiled, it's also really good at packaging ruby code.
Date
Summarized using AI?
If this talk's summary was generated by AI, please check this box. A "Summarized using AI" badge will be displayed in the summary tab to indicate that the summary was generated using AI.
Show "Summarized using AI" badge on summary page
Summary
Markdown supported
The video titled 'Building CLI Apps for Everyone' features Terence Lee and Zachary Scott discussing the challenges of creating command-line applications that are cross-platform and accessible to all users while utilizing Ruby. They introduce mruby as a solution to overcome packaging issues faced with the standard Ruby implementation (MRI). The presentation is structured into several key points: - **Introduction to Ruby CLI Applications**: The speakers highlight the importance of command-line tools and the challenges faced when they are used across different environments and operating systems. - **Historical Context of Ruby Packaging**: They discuss the evolution of Ruby packaging, referencing the Heroku tool belt's transition from a Ruby gem to a statically compiled package to solve distribution issues. - **Challenges in Current Solutions**: Various approaches like removing Ruby dependencies in favor of Go for improved performance and the difficulties faced by projects reliant on native bindings exemplify hurdles encountered by Ruby applications. - **Advantages of mruby**: Mruby is introduced as a smaller, embeddable version of Ruby ideal for building lightweight applications. It retains core Ruby functionalities while allowing for the creation of self-contained binaries, essential for cross-platform compatibility. - **Building Applications with mbCLI**: The mbCLI project, which allows developers to create Ruby-based command-line applications, is presented. The workflow involves using the mruby build system alongside tools like Docker to streamline the compilation process for various platforms. - **Testing and Deployment**: The importance of testing and deployment is emphasized, where the setup includes test frameworks and methods for publishing applications on platforms like GitHub. - **Future Aspirations**: The speakers express intentions to enhance their build system and to create a collection of gems tailored for building CLI applications using mruby. In conclusion, the presentation advocates for the wider adoption of mruby to simplify CLI application development for Ruby developers, urging the community to explore and contribute to the mbCLI project, ultimately striving for an efficient cross-compiled ecosystem that can work seamlessly across major platforms.
Suggest modifications
Cancel