1
vote
1answer
27 views

How can I add autocomplete for “gem which” with rbenv?

I am using rbenv on Mac OS X. I have autocomplete functionality already for the gem command: $ gem build environment lock query stale cert fetch ...
5
votes
3answers
555 views

Small Linux distro with Ruby

I have been using Puppy Linux for basic Linux needs, however now I would prefer one that has Ruby included, so that it does not have to be downloaded. I would prefer a small distro that can run from ...
1
vote
1answer
281 views

How to get 'TZ' with out '$TZ' being set?

I writing a Ruby program. I need a way to get something like America/New_York as ActiveSupport::TimeZone and require "tzinfo" can't get my current timezone. (Note that Time.now.zone can get things ...
1
vote
0answers
93 views

Ruby on Rails missing Thor

When trying to run rails g migration a, I get the following message Thor is not available. If you ran this command from a git checkout of Rails, please make sure thor is installed, and run this ...
2
votes
1answer
281 views

Why do I have to stop/restart cups in redhat linux in order to use a custom filter?

A colleague wrote a filter utility for me in ruby that allows me to print barcodes from a textfile. (The filter replaces @{blah} with the proper PCL and a barcode checksum character so that "blah" ...
1
vote
2answers
1k views

Check the Existence of a Network Interface Card Redhat

I'm aware that I can use ethtool eth0|eth1|eth2 to check the existence of a NIC. But I wonder where the files are on the machine that contain information of an existing interface, as I need to use ...