I am trying to install ruby version 1.8.7 through Rvm, but can't installed this version and getting following error
Error running '__rvm_make -j4',
Related
I am trying to upgrade ruby version 3.1.2 I am getting this error and when it says to install messing dependencies I get the error unable to locate the package now my ruby version is 2.7.4 and I installed using rbenv, and I use Ubuntu 21.10
I'm trying to install Rails 5 on my Mac (El Capitan).
When I type
gem install rails
I get this error message:
ERROR: Error installing rails:
activesupport requires Ruby version >= 2.2.2.
When I check my Ruby version with Rbenv:
rbenv global
2.3.1
however when I check my Ruby version like this:
ruby -v
I get
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14]
how can I fix this, so when I want to install rails 5, it's using Ruby 2.3.1
Thanks for your help,
Anthony
I'm having touble installing rails on my new installation of Ubuntu 12.04 LTS. I have RVM and rubygems 2.2.2 installed but when I go to install rails I get an error;
anesu#ubuntu:~$ gem install rails
[sudo] password for anesu: #I enter my passsword here
ERROR: Error installing rails:
activesupport requires Ruby version >= 1.9.3.
anesu#ubuntu:~$ ruby -v
ruby 1.9.3p545 (2014-02-24 revision 45159) [x86_64-linux]
The ruby required is clearly installed. I've also tried
gem install rails #without sudo
but still get the same error. What could be the problem?
Do you have rvm in your path? If not, add the following line to your ~.bashrc file...
PATH=$PATH:$HOME/.rvm/bin
Be sure and open and close the terminal after you all this. At the terminal you should be able to type 'echo $PATH' and see RVM listed.
now,I want to install heroku to study rails deployment.
I execute the following code
sudo gem install heroku
but I get the error
ERROR: Error installing heroku:
rubyzip requires Ruby version >= 1.9.2.
then I execute the code:
ruby -v
I get the result
ruby 1.9.3p448 (2013-06-27 revision 41675) [i686-linux]
so it shows that my ruby version >= 1.9.2.
why I get this error.
You should install the heroku gem directly into the RVM environment and gemset you want to use it in:
gem install heroku
If you do not have RVM this is a linux command to install the heroku Toolbelt!
wget -qO- toolbelt.heroku.com/install-ubuntu.sh | sh
If you do not have a Ruby Version manager I would install one.
Install rvm
1)then rvm use 1.9.3 it will brings the ruby version 1.9.3
2)gem install heroku
I,m getting the following error:-
ERROR: Error installing rails:
i18n requires RubyGems version >= 1.3.6
These the gems and ruby version installed in my system.
:~$ ruby -v
ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-linux]
:~$ gem -v
1.3.7
:~$ rails -v
Rails 3.0.1
:~$
maybe http://wiki.netbeans.org/RubyGemsNB6Ubuntu will be of assistance.