4

I am trying to set up my chromebook for development with crouton and ubuntu. I am using the railsgirls recipe to install rails and I'm getting stuck at:

E: Unable to locate package libreadline

I have run the command sudo apt-get install libreadline-dev followed by apt-get update.

Still, rails installation is quitting at the libreadline problem. I've never had this problem when setting up my environment on other machines, but clearly I'm missing something here.

Any help is greatly appreciated.

Edit: Solved.

muru
  • 207,228
Brian Sekelsky
  • 43
  • 1
  • 1
  • 5

1 Answers1

2

Following the instructions at this site seemed to work for the OP.

I'm guessing this step did the trick:

  1. Install dependencies for Ruby:

    sudo apt-get update
    sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev
    
muru
  • 207,228
amanthethy
  • 1,251