Ubuntu Community Ask! Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. I can not remove Ruby1. What is the process? Ask Question. Asked 8 years, 10 months ago. Active 6 years, 10 months ago. Viewed 28k times. Improve this question. Omer Raja Omer Raja 1 1 gold badge 1 1 silver badge 5 5 bronze badges. Alberto Ghirotti on August 7, am.
To enhance your answer I would add the following final steps: — remove previous ruby versions yum remove ruby ; after this ruby — version from a non root terminal should give error because ruby has been removed — all your steps you described — find the path of the new 1. Eduardo on August 3, am.
Good article! Markandey on June 10, pm. I hope the below config is correct. Rahul on April 19, am. Ian Lewis on August 14, am. Hi, Thanks for the low down. Thanks, Ian Reply. Roopashree on May 14, am.
Hi Ian, even i am facing the same issue, can you please help me if you have solved the issue. Rahul on May 15, am. Hi Roopashree, I assume you must have executed following command to make 1. Awesome post! Philippe Creux Philippe Creux 1, 1 1 gold badge 11 11 silver badges 9 9 bronze badges. Thanks a lot! Been trying to get this working for hours now!
This worked nicely. Thanks again! I've installed hundreds of libraries from source before, but couldn't get the readline extension to build on a certain machine. Excellent Fix.. Hats of to the guy who bundled it to a Gem. I am interested to know more about it. Very painful stuff : edit: also keep in mind that readline uses also libeditline-dev now, you can disable manually when configure ruby readline , passing: --disable-libedit ruby extconf --disable-libedit.
How to manually install libreadline5-dev on ubuntu There is not much about this online. A lot of times, it's about catching a dependency - I put together a script that I've had luck with in past, try this: sudo apt-get install zlib1g-dev libssl-dev libsqlite3-dev libmysqlclient-dev imagemagick librmagick-ruby libxml2-dev libxslt1-dev build-essential openssl libreadline6 libreadline6-dev zlib1g libyaml-dev libsqlite sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison libpq-dev libpq5 libmysql-ruby libmysqlclient-dev rvm pkg install autoconf rvm pkg install zlib rvm pkg install readline rvm pkg install openssl rvm pkg install iconv rvm install 1.
But this is still not good enough because 1. Also, even if we don't remove 1. So things break. Sorry if some of this is unclear. I don't claim to be an expert on any of this stuff, I've just been piecing it together for fun.
If anyone has a good understanding of what I'm talking about, please explain it to me The text was updated successfully, but these errors were encountered:.
I'll have to find someone who's more knowledgeable on Ruby than me to help me fix any possible issues Sorry, something went wrong.
Also on Digital ocean is the epel repos not installed so yum install facter and hiera fail. I solved this by moving the install of the puppetlabs repo to the intital setup because the packages are in there. And I think that rubyruby-devel needs to be installed because librarian-puppet gives the error below. But then again we have above problem because it is installed in another directory. It would really be nice to have 1.
0コメント