Skip to content

Tag: ruby

Error: mime-types-data requires Ruby version >= 2.0

I recently install clean ubuntu14.04 virtual machine in vware fusion and updated it. I am trying to install the mime-tyes-data by sudo gem install mime-types-data -v 3.2015.1120 The error shows ERROR: Error installing mime-types-data: mime-types-data requires Ruby version >= 2.0. Before that I already upda…

Ruby: How to REQUIRE an installed GEM programmatically?

First off, I am REALLY new at coding, only CMD 10 years ago and ruby for 5 days now. So I am making my very first script and the only goal for it is for me to test and learn DEF and TRUE/FALSE choices Like like this: or My question: I want my script to check if a particular GEM

Chef – using a for loop with SQLEOH

I have a bash resource which is failing when attempting to loop through some ddl scripts. The same syntax without a for loop (and literal script name) works fine in Chef, and it all works including with the for loop in a terminal: The errors I am getting indicate a problem with the SQLEOH delimiter and unexpe…

error installing ruby 1.9.3 on linux server

Hey I’m just to update ruby on a linux server I ssh into. I know there a lot of threads on this but most are for installing on mac osx (which i dont have an issue with). This is the error log thats outputted: this is the content of the make.log per a commenter’s request: Answer I think your issue

Can’t resolve rubygems.org (too many redirects)

For some reason my vagrant VM cannot resolve rubygems.org. It was working fine yesterday, today I made no changes and now it no longer works: Fresh Ubuntu install Installing ruby gems (fails) Can’t resolve rubygems.org Other websites seem fine I can resolve by IP address More Info It was working This wa…