SlideShare a Scribd company logo
Developer mode on,
czyli słów kilka o rbenv, rvm i ruby-ng
Łukasz Myrda
Mój pierwszy raz
Czy to zawsze musi tak boleć?
Developer mode on, czyli słów kilka o rbenv, rvm i ruby-ng
Problemy
● ingerencja projektu w system
● wiele projektów wiele problemów
● czyszczenie systemu po skończonym
projekcie
● przeskakiwanie pomiedzy projektami
● zależności
Cele
● w pełni działające środowisko
● niski próg wejscia
● uniwersalność rozwiązania
● szybka zmiana projektu
● sprzątanie po starym projekcie w systemie
Moje rozwiązanie
● Vagrant
Vagrant
“Vagrant is computer software for creating and configuring virtual development
environments.[2]
It can be seen as a wrapper around virtualization software
such as VirtualBox, KVM, VMware and around configuration management
software such as Ansible, Chef, Salt or Puppet.”
source: http://en.wikipedia.org/wiki/Vagrant_(software)
Moje rozwiązanie
● Vagrant
● Ansible
Ansible
“Ansible is an open-source software platform for configuring and managing
computers. It combines multi-node software deployment, ad hoc task
execution, and configuration management.[1]
”
source: http://en.wikipedia.org/wiki/Ansible_%28software%29
Ansible provision
“Provisioner name: "ansible"
The ansible provisioner allows you to provision the guest using Ansible
playbooks by executing ansible-playbook from the Vagrant host.
Ansible playbooks are YAML documents that comprise the set of steps to be
orchestrated on one or more machines.”
source: http://docs.vagrantup.com/v2/provisioning/ansible.html
Zależności
● RVM
● Rbenv
● Ruby ng
RVM
“Ruby Version Manager, often abbreviated as RVM, is a unix-like software
platform designed to manage multiple installations of Ruby on the same
device. [2]
”
source: http://en.wikipedia.org/wiki/Ruby_Version_Manager
Rbenv
“rbenv does…
● Provide support for specifying application-specific Ruby versions.
● Let you change the global Ruby version on a per-user basis.
● Allow you to override the Ruby version with an environment variable.”
source: https://github.com/sstephenson/rbenv/wiki/Why-rbenv%3F
RVM vs Rbenv
http://jonathan-jackson.net/rvm-and-rbenv
http://www.rubyinside.com/rbenv-a-simple-new-ruby-version-management-tool-5302.html
https://github.com/sstephenson/rbenv/wiki/Why-rbenv%3F
http://niczsoft.com/2011/11/what-you-should-know-about-rbenv-and-rvm/
Ruby ng
“Ruby packages for Ubuntu”
source: https://www.brightbox.com/docs/ruby/ubuntu/
forum: https://groups.google.com/forum/#!forum/brightbox-ruby-ubuntu-packaging
site: https://launchpad.net/~brightbox/+archive/ubuntu/ruby-ng
Przykłady
Porównanie
rvm rbenv ruby ng
vagrant up 12’ 14’ 6’
bundle install 5’ 5’ 5’
sum 17’ 19’ 11’
Repository
● rvm:
○ https://github.com/lmyrda/rvm
● rbenv:
○ https://github.com/lmyrda/rbenv
● ruby ng:
○ https://github.com/lmyrda/rubyng
Podsumowanie
● Vagrant
● Ansible
● rvm
● rbenv
● ruby ng
Pytania
?

More Related Content

PPT
Jenkins Scriptler in 90mins
PPTX
Grooving with Jenkins
PDF
Jenkins 101: Getting Started
PDF
Managing Jenkins with Jenkins (Jenkins User Conference Palo Alto, 2013)
PPTX
Jenkins tutorial
PPTX
Java Development EcoSystem
PDF
Jenkins Scriptler in 90mins
Grooving with Jenkins
Jenkins 101: Getting Started
Managing Jenkins with Jenkins (Jenkins User Conference Palo Alto, 2013)
Jenkins tutorial
Java Development EcoSystem

What's hot (20)

PPTX
Introduction to node.js By Ahmed Assaf
PDF
Dev to Delivery with Puppet, Vagrant and AWS
PDF
DevOps: Cooking Drupal Deployment
PDF
Hacking Jenkins
PDF
"How to deploy to production 10 times a day" Андрей Шумада
PDF
[English][Test Girls] Zero to Hero: Start Test automation with Cypress
PDF
Atmosphere Conference 2015: Do you think you're doing microservices?
PPTX
Jenkins CI presentation
PPTX
Report portal
PPTX
Capistrano与jenkins(hudson)在java web项目中的实践
PPTX
Supermondays: Jenkins CI lightning talk
PDF
Setup Build & Deploy with Jenkins CI
PDF
PuppetConf 2016: Deploying Multi-Tier Windows Applications with Application O...
ODP
DevAssistant, Docker and You
PPTX
Jenkins tutorial for beginners
PPTX
Build Tools & Maven
PPTX
Cypress Automation
PDF
Cypress e2e automation testing - day1 intor by: Hassan Hameed
PPTX
PDF
.Net OSS Ci & CD with Jenkins - JUC ISRAEL 2013
Introduction to node.js By Ahmed Assaf
Dev to Delivery with Puppet, Vagrant and AWS
DevOps: Cooking Drupal Deployment
Hacking Jenkins
"How to deploy to production 10 times a day" Андрей Шумада
[English][Test Girls] Zero to Hero: Start Test automation with Cypress
Atmosphere Conference 2015: Do you think you're doing microservices?
Jenkins CI presentation
Report portal
Capistrano与jenkins(hudson)在java web项目中的实践
Supermondays: Jenkins CI lightning talk
Setup Build & Deploy with Jenkins CI
PuppetConf 2016: Deploying Multi-Tier Windows Applications with Application O...
DevAssistant, Docker and You
Jenkins tutorial for beginners
Build Tools & Maven
Cypress Automation
Cypress e2e automation testing - day1 intor by: Hassan Hameed
.Net OSS Ci & CD with Jenkins - JUC ISRAEL 2013
Ad

Viewers also liked (20)

PDF
Jak ugryźć Ruby, żeby nie połamać zębów?
PDF
REvolution, czyli o bardziej obiektowym podejściu w Railsach
PDF
O wyprawie królika przez maszynkę do gniazdka, czyli EventMachine w praktyce
PDF
Gulp.js - alternatywa do Grunta
PDF
Tester - przyjaciel czy wróg programisty?
PDF
Bitcoin - (nie)udany eksperyment?
PDF
Red Green Hotfix – złudne poczucie bezpieczeństwa w testach
PDF
Znaki mocy dla laików – Programowanie funkcyjne w JavaScript
PDF
Wprowadzenie do języka Swift, czyli nowe podejście do programowania aplikacji...
PDF
Pierwsza aplikacja na iOS, czyli z czym można się spotkać, co jest trudne i c...
PDF
Bestiariusza wpisy wybrane
PDF
Nie wszystko, co ubite, w ziemi zostaje. Wprowadzenie do Event Sourcing
PDF
Praktyczne porady na temat optymalizacji wydajności aplikacji tworzonych z u...
PDF
ReactPHP – reaktor jądrowy w PHP
PDF
O Electronie słów kilka
PDF
Pi razy drzwi - o szacowaniu projektów
PDF
PDF
Angular 2.0 – Kochaj albo rzuć!
PDF
Wielkie protokoły wielkich ludzi
Jak ugryźć Ruby, żeby nie połamać zębów?
REvolution, czyli o bardziej obiektowym podejściu w Railsach
O wyprawie królika przez maszynkę do gniazdka, czyli EventMachine w praktyce
Gulp.js - alternatywa do Grunta
Tester - przyjaciel czy wróg programisty?
Bitcoin - (nie)udany eksperyment?
Red Green Hotfix – złudne poczucie bezpieczeństwa w testach
Znaki mocy dla laików – Programowanie funkcyjne w JavaScript
Wprowadzenie do języka Swift, czyli nowe podejście do programowania aplikacji...
Pierwsza aplikacja na iOS, czyli z czym można się spotkać, co jest trudne i c...
Bestiariusza wpisy wybrane
Nie wszystko, co ubite, w ziemi zostaje. Wprowadzenie do Event Sourcing
Praktyczne porady na temat optymalizacji wydajności aplikacji tworzonych z u...
ReactPHP – reaktor jądrowy w PHP
O Electronie słów kilka
Pi razy drzwi - o szacowaniu projektów
Angular 2.0 – Kochaj albo rzuć!
Wielkie protokoły wielkich ludzi
Ad

Similar to Developer mode on, czyli słów kilka o rbenv, rvm i ruby-ng (20)

ODP
It Works On My Machine: Vagrant for Software Development
PPTX
Development with Vagrant
PDF
How fast can you onboard a new team member with VAGRANT ?
PDF
Automating with ansible (Part B)
KEY
PDF
Vagrant - Version control your dev environment
PDF
Local development environment evolution
PDF
DevOps Series: Defining and Sharing Testable Machine Configurations with vagrant
PPTX
Vagrant-Overview
PPTX
Node.js, Vagrant, Chef, and Mathoid @ Benetech
PDF
Virtualization with Vagrant (ua.pycon 2011)
PDF
Vagrant are you still develop in a non-virtual environment-
PDF
Vagrant workshop 2015
PDF
Vagrant - Team Development made easy
PDF
Making Developers Productive with Vagrant, VirtualBox, and Docker
PDF
Vagrant for Virtualized Development
PDF
Keep calm and vagrant up
PDF
Take Home Your Very Own Free Vagrant CFML Dev Environment
PDF
Take home your very own free Vagrant CFML Dev Environment - Presented at dev....
PPTX
Mastering vagrant in 1 hour
It Works On My Machine: Vagrant for Software Development
Development with Vagrant
How fast can you onboard a new team member with VAGRANT ?
Automating with ansible (Part B)
Vagrant - Version control your dev environment
Local development environment evolution
DevOps Series: Defining and Sharing Testable Machine Configurations with vagrant
Vagrant-Overview
Node.js, Vagrant, Chef, and Mathoid @ Benetech
Virtualization with Vagrant (ua.pycon 2011)
Vagrant are you still develop in a non-virtual environment-
Vagrant workshop 2015
Vagrant - Team Development made easy
Making Developers Productive with Vagrant, VirtualBox, and Docker
Vagrant for Virtualized Development
Keep calm and vagrant up
Take Home Your Very Own Free Vagrant CFML Dev Environment
Take home your very own free Vagrant CFML Dev Environment - Presented at dev....
Mastering vagrant in 1 hour

More from The Software House (20)

PDF
Jak kraść miliony, czyli o błędach bezpieczeństwa, które mogą spotkać również...
PDF
Uszanowanko Podsumowanko
PDF
Jak efektywnie podejść do certyfikacji w AWS?
PDF
O co chodzi z tą dostępnością cyfrową?
PDF
Chat tekstowy z użyciem Amazon Chime
PDF
Migracje danych serverless
PDF
Jak nie zwariować z architekturą Serverless?
PDF
Analiza semantyczna artykułów prasowych w 5 sprintów z użyciem AWS
PDF
Feature flags na ratunek projektu w JavaScript
PDF
Typowanie nominalne w TypeScript
PDF
Automatyzacja tworzenia frontendu z wykorzystaniem GraphQL
PDF
Serverless Compose vs hurtownia danych
PDF
Testy API: połączenie z bazą danych czy implementacja w pamięci
PDF
Jak skutecznie read model. Case study
PDF
Firestore czyli ognista baza od giganta z Doliny Krzemowej
PDF
Jak utrzymać stado Lambd w ryzach
PDF
Jak poskromić AWS?
PDF
O łączeniu Storyblok i Next.js
PDF
Amazon Step Functions. Sposób na implementację procesów w chmurze
PDF
Od Figmy do gotowej aplikacji bez linijki kodu
Jak kraść miliony, czyli o błędach bezpieczeństwa, które mogą spotkać również...
Uszanowanko Podsumowanko
Jak efektywnie podejść do certyfikacji w AWS?
O co chodzi z tą dostępnością cyfrową?
Chat tekstowy z użyciem Amazon Chime
Migracje danych serverless
Jak nie zwariować z architekturą Serverless?
Analiza semantyczna artykułów prasowych w 5 sprintów z użyciem AWS
Feature flags na ratunek projektu w JavaScript
Typowanie nominalne w TypeScript
Automatyzacja tworzenia frontendu z wykorzystaniem GraphQL
Serverless Compose vs hurtownia danych
Testy API: połączenie z bazą danych czy implementacja w pamięci
Jak skutecznie read model. Case study
Firestore czyli ognista baza od giganta z Doliny Krzemowej
Jak utrzymać stado Lambd w ryzach
Jak poskromić AWS?
O łączeniu Storyblok i Next.js
Amazon Step Functions. Sposób na implementację procesów w chmurze
Od Figmy do gotowej aplikacji bez linijki kodu

Recently uploaded (20)

PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Advanced IT Governance
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
Cloud computing and distributed systems.
PPTX
Big Data Technologies - Introduction.pptx
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Approach and Philosophy of On baking technology
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
Mobile App Security Testing_ A Comprehensive Guide.pdf
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
20250228 LYD VKU AI Blended-Learning.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Advanced IT Governance
GamePlan Trading System Review: Professional Trader's Honest Take
Spectral efficient network and resource selection model in 5G networks
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Reach Out and Touch Someone: Haptics and Empathic Computing
The AUB Centre for AI in Media Proposal.docx
NewMind AI Weekly Chronicles - August'25 Week I
Cloud computing and distributed systems.
Big Data Technologies - Introduction.pptx
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
Review of recent advances in non-invasive hemoglobin estimation
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Approach and Philosophy of On baking technology
Per capita expenditure prediction using model stacking based on satellite ima...

Developer mode on, czyli słów kilka o rbenv, rvm i ruby-ng