A
A
Alexander Bagirov2015-04-26 16:24:14
ruby
Alexander Bagirov, 2015-04-26 16:24:14

How to get Ruby 1.8.7 via rbenv?

To deploy the application, I need to install Ruby 1.8.7 on Ubuntu 14.04. The project documentation itself recommends doing this via rbenv.
I installed rbenv using this article. Then I went to the folder where I would put the project and wrote rbenv install 1.8.7. I was told this:
1397a4c9a34a423fab11213798f03d41.png
Then I did this: rbenv install 1.8.7-p374
That's it, Ruby was installed. Next, I cloned the project from GitHub, did a bundle install, and got "rbenv: version `1.9.3-p448' is not installed". What's wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
Jeiwan, 2015-04-26
@alexbagirov

Most likely, the project requires version 1.9.3-p448 (check the .ruby-version file in the project). Just install it, and everything will be ok (version 1.8.7 was still used by mammoths).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question