Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8073205
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T14:15:49+00:00 2026-06-05T14:15:49+00:00

There is a command line client written in ruby that is used as the

  • 0

There is a command line client written in ruby that is used as the standard. However, it doesn’t run in 1.9. There is also a very good aws-sdk for ruby, but it doesn’t support EMR. Is there a good alternative?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T14:15:51+00:00Added an answer on June 5, 2026 at 2:15 pm

    UPDATE 6/22/2012: Amazon is reviewing @nkadwa’s pull request (see above). Keep an eye out for that.

    I’ve been working with the Ruby command-line client, but have a number of Ruby/Rails based tools I build that require ruby 1.9.3. The workaround for me was RVM.

    Let’s say you have $HOME/projects/elastic-mapreduce where you have the EMR Ruby client
    Let’s say you also have $HOME/projects/myproj

    You can tell your system to use ruby-1.8.7 for EMR with:

    echo 'rvm use ruby-1.8.7' > $HOME/projects/elastic-mapreduce/.rvmrc
    echo 'rvm use ruby-1.9.3@mygemset' > $HOME/projects/myproj/.rvmrc
    

    If you need to call out to the elastic map-reduce scripts from somewhere, you can rig up RVM as such as the following. By default, elastic-mapreduce uses the credentials.json file in its same directory. Note that the first time you enter the directory, your system will verify that you are willing to trust the .rvmrc file.

    # cd'ing into the directory will output stuff to stdout when it changes
    cd $HOME/elastic-mapreduce > /dev/null && rvm ruby-1.8.7; ./elastic-mapreduce [args]
    

    Or, if you want to skip the ‘cd’ business, you can do something like:

    # Again, redirect output after 'rvm use' so you don't get the green output
    system("rvm use ruby-1.8.7 > /dev/null; /path/to/elastic-mapreduce -c /path/to/elastic-mapreduce/credentials.json --list") 
    

    You will need to follow the instructions on the RVM website to get it installed (quite straight forward). But it’s the perfect solution for when you need multiple versions of Ruby running. I have it running in production in EC2.

    Hope that helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any application/project that provides you with a command line SQL client that
Is there a command in the MySQL command line client for windows that allows
Is there a command-line tool that could tell me if Gzip is on? What
There is any command line or .NET method that runs a process in the
Is there a set of command-line options that will convince gcc to produce a
Basically, I want to get an update of the standard command-line subversion client for
Is there a command line FTP client where you can upload a whole directory?
If I run it in the command line, the program will stop after client.destroy();
From the MySQL command line client is there a way to count the words
I have a class library that wraps the command line client for Mercurial. My

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.