The blog of the Budapest based Digital Natives covers the topics such as technological challenges we meet in our work, also our solutions and developments related mostly to Ruby on Rails and e. g. JavaScript. You can read about project management methodologies, which drive our workflow, such as agile or scrum. We don’t forget to report about our work and free-time related events and activities.



2011 (1) 2012 (4) 2013 (5) 2014 (1) agency (1) agile (1) agilis (13) android (1) angel (2) anita (2) API (1) árazás (2) artisjus (1) balaton (1) bécs (1) becs (1) becslés (1) befektető (7) befekteto (1) bemutatkozás (1) berlin (1) beszédfelismerés (2) beszédtechnológia (1) bitbucket (1) borkóstoló (1) budapest.rb (1) célok (1) client (4) cloud (1) code hulk (1) coding (1) coin (1) concept (2) conference (1) continuous integration (1) cross browser (1) cross platform (2) csapat (4) csapatépítés (1) csocsó (1) David (1) ddb (1) deployment (3) design (2) dev (4) dev meeting (2) digital (1) diktálás (1) dojo (1) ebook (1) education (1) elemzés (3) elmélet (1) English (1) english (8) értékelés (1) értékesítés (3) extreme programming (1) fejlesztő (3) feliratozás (1) Friday (1) frontend (2) game (3) game of thrones (1) gerzson (2) hackfwd (2) heroku (1) hirdetés (1) hosting (1) icatapult (2) idcee (4) idea (1) implementation (2) inkubáció (9) ios (1) javascript (1) jenkins (1) jogdíj (1) kaizen (1) kalandpark (1) kanban (3) képzés (2) kijev (1) kipuedu (1) kirándulás (1) kocákzati tőkealap (1) kommunikáció (1) lean (2) LinkedIn (1) Logidok (1) mahasz (1) meetup (9) mindroom (2) Mitnick (1) mixgar (14) mobil (4) MVP (1) mvp (2) nabaztag (1) natives (1) olasz (1) open source (1) people search (1) piknik (1) planning (1) playertise (3) prága (1) presentation (1) product owner (1) product roadmap (1) project (1) prototípus (1) prototype (1) rabbit (1) rails (15) ruby (13) rupy (1) scrum (9) search API (1) series (2) sharewood (1) siker (2) sorozat (1) spaceship (1) speedinvest (1) startup (6) startup week (1) String (1) szerződés (1) szolgáltatás (2) taxi (3) taxitrust (3) taxtrust (1) techshow (2) testing (2) teszt (1) titanium (1) toborzás (2) tőke (2) toptal (1) trónok harca (1) ügyfél (1) UI (1) UML (1) UX (2) üzletiangyal (1) vagrant (1) varga anita (1) verseny (2) videó (1) videóarchívum (1) vienna (1) világhírnév (8) virtualbox (1) vm (1) vodka (1) web (8) wired (2) workflow (2) xp (3) XP (1) Címkefelhő

I promised to write about the environment we created for the Rails Girls event. But first let me describe the problem.

Before the event we checked the installers provided by the official Rails Girls site. We had some major problems with those:

  • the Windows installer is quite unstable, we had tons of issues when we tried that out
  • we didn't want to overload the girls' machines, since we just hope that some of them will continue learning web development, but the others won't need those things any more
  • there are better ways to install an environment on Linux/Mac machines

The biggest problem is related to Windows, so my advice is: forget starting web (Ruby) development on a Windows machine. You have to put limitless effort to install all the tools you need, but using them is also a huge pain, and problems will always come up while doing your job. So either consider changing to Linux/Mac or at least virtualize your environment. The latter is exactly what we did at Rails Girls.

If you don't know anything about virtualization: a virtual machine (VM) is a software-based emulation of a computer. Imagine, that you're working on a Windows, and you can start another operational system in a window without any trouble: it can be another Windows instance or any kind of Unix/Linux distribution.

So we were at the point, where we thought it would worth to create a VM for the event. But downloading an Ubuntu, and installing / configuring it manually is a pain again. Vagrant can be a solution for that. Vagrant is a wrapper above virtualization providers (currently VirtualBox and VMWare is supported), with which you can create preinstalled VMs easily. Vagrant can be configured in Ruby, it has a really simple DSL. But the fun-part is not only Vagrant itself, but the way it handles packages. Vagrant supports Chef (and also Puppet), so all the cookbooks created for Chef can be used, and configured easily.

Please find the Vagrant box's configuration created for the event here and check out Vagrantfile. As you can see it installs git, rvm, mc and other tools after the box is created. We didn't need any other service, but you can find uncountable cookbooks for all types of 3rd party libraries, check out the site for the full list here.

We were ready with the VM, and we could use that on OS X and Linux without any issues because we could SSH into the new system. But the console what we get in Virtualbox is useless, it doesn't support your own keyboard layout, can't handle pasting, and so on. These problems don't appear when using SSH, but Windows doesn't have a builtin SSH client. Surely you can install Putty, or whatever is out there, but it's a pain, and it hardens the usage of the environment, and for the Rails Girls event we wanted one which is easy to use & install. So we had to figure out a way how our users could use the VM. We nearly gave up, but Guszti came in the office one morning, and told me the solution: Butterfly. It's an awesome tool written in python, which enables you to reach your computer's command line from your browser. So the idea was born: let's install Butterfly onto the Rails Girls VM. After the event I can say it worked like a charm, and without any issues.

So if you'd like to try out Ruby / Ruby on Rails development, but you don't want to install a lot of tools on your machine, I recommend using the VM we created. The Hungarian install documentation can be found here, and we also translated that to English for the official Rails Girls site.

If you have any issues/questions, don't hesitate to contact us, we gladly help if you are stuck!

Címkék: rails virtualbox vm vagrant railsgirls

Szólj hozzá!

A bejegyzés trackback címe:


A hozzászólások a vonatkozó jogszabályok  értelmében felhasználói tartalomnak minősülnek, értük a szolgáltatás technikai  üzemeltetője semmilyen felelősséget nem vállal, azokat nem ellenőrzi. Kifogás esetén forduljon a blog szerkesztőjéhez. Részletek a  Felhasználási feltételekben és az adatvédelmi tájékoztatóban.

Nincsenek hozzászólások.