{"id":289,"date":"2016-07-22T06:00:45","date_gmt":"2016-07-22T14:00:45","guid":{"rendered":"http:\/\/andrewwippler.com\/?p=289"},"modified":"2016-07-03T14:52:21","modified_gmt":"2016-07-03T22:52:21","slug":"refreshing-ruby-knowledge","status":"publish","type":"post","link":"https:\/\/andrewwippler.com\/2016\/07\/22\/refreshing-ruby-knowledge\/","title":{"rendered":"Refreshing Ruby Knowledge"},"content":{"rendered":"

I see a trend in system administration tasks moving toward the Ruby programming language. Yes, you can still code in Perl, Python, Shell, etc., but Ruby seems to be growing in popularity as a choice in scripting language. It should be – it is certainly easier to type and it has a big community to go with it. I was first introduced to Ruby in 2009 and immediately after learning Ruby, I learned Ruby on Rails. At the time, Rails and the MVC model was too advanced for me and so I never used my knowledge. Mostly because Rails had many “does this automatically so you do not need to include it in your code” so it was difficult for a beginner.<\/p>\n

Now nearly 7 years later, I am taking Ruby off my virtual bookshelf and blowing the bugs off of it and refreshing my knowledge – this time leaving Rails out of the picture. So far I am liking plain Ruby. Below are some resources I have used to sharpen my Ruby skills.<\/p>\n

https:\/\/rubymonk.com\/<\/p>\n

http:\/\/rubykoans.com\/<\/p>\n

http:\/\/exercism.io\/<\/p>\n

 <\/p>\n

Bonus: Setting up the exercism client on Fedora 24<\/h3>\n

The exercism client is written in Go. Go can fetch and install other Go programs as long as you have a\u00a0Go workspace set up. To do that we will issue the following commands:<\/p>\n

# To install go\r\nsudo dnf install golang\r\n\r\n# To set up the workspace\r\nmkdir -p ~\/gocode\/{bin,src,pkg}\r\necho 'export GOPATH=$HOME\/gocode' >> ~\/.profile\r\necho 'export export PATH=$PATH:$GOROOT\/bin:$GOPATH\/bin' >> ~\/.profile\r\nsource ~\/.profile<\/code><\/pre>\n

Those commands will set up the Go workspace and allow you to issue the next command: go get -u github.com\/exercism\/cli\/exercism<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"

I see a trend in system administration tasks moving toward the Ruby programming language. Yes, you can still code in Perl, Python, Shell, etc., but Ruby seems to be growing in popularity as a choice in scripting language. It should be – it is certainly easier to type and it has a big community to […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[1],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/posts\/289"}],"collection":[{"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/comments?post=289"}],"version-history":[{"count":4,"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/posts\/289\/revisions"}],"predecessor-version":[{"id":300,"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/posts\/289\/revisions\/300"}],"wp:attachment":[{"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/media?parent=289"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/categories?post=289"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/andrewwippler.com\/wp-json\/wp\/v2\/tags?post=289"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}