Tag: ruby

Free Code Camp ROCKS

\"Freecode\"

So I’m checking out Free Code Camp and I LOVE IT. Knocking out their Codecademy challenges left and right.

What I’m noticing is since I’ve started the Learn Code the Hard Way series I have a new and better understanding of programming. The fundamentals are starting to gel with me. I am noticing similar organization between languages like Python and Ruby. I’ve skipped all the way past the first 11 exercises in Learn Ruby the Hard Way.

Freecodecamp has been an awesome thing. There isn’t as much focus on HTML and CSS which I am thankful for. We are focusing on JQuery and Javascript mainly, then some frameworks like Node.js and Angular.js, Angular for backend and I think Node can be used for the whole stack.

This is a short post. Getting into the University has caused me so much excitement and setting things up and getting appointments, etc, has taken a lot of my time. I have just sat down to code furiously for the past two days. My last post was Saturday, I believe and before that it was a week. I am coming down off of 5 months of anxiety. I am sleeping a good bit, trying to recooperate. But don’t worry! Coding like a madwoman as of late and enjoying the hell out of it.

Ruby Gems and a Messed Up Ruby Installation


rvm reinstall ruby
gem install sinatra

Brian Douglas ran a “Singing with Sinatra” Code Club session for the Code Newbies site. Well I signed up and I was the only student.

I knew I had Ruby installed and was sure I had Bundler installed as well. Well, I had Ruby installed and not bundler so to the terminal we went (I kept confusing bower with bundler). We went to install bundler. Terminal threw some strange error which, since I’ve restarted my Mac since then I can’t copy here. This error happened every time I tried to install bundler.

We went through my Ruby installation, updated Ruby, still couldn’t install the gem. We installed rvm (Ruby Version Manager) and I found out that I should have installed my new version of Ruby with rvm. We went into this for the whole. Stinking. Hour. Finally, Brian told me to reinstall Ruby and then try but we had to end the session. As soon as the session ended, everything installed.

So for the newbs out there: install your Ruby with rvm, maybe even update with rvm. I am going to try to update my Ruby packages with rvm because these weird errors were complicated to debug.