Thursday, 15 August 2013

Install RVM with current ruby and rails installed

Install RVM with current ruby and rails installed

I am using Rails 3.2.14 and Ruby ruby 1.9.3p194 (2012-04-20 revision
35410) [i686-linux] with out having RVM.
I need to use Rails 2.3 besides my current Rails version on the same
machine. I have searched for what allows me to use both of them on the
same machine and I found its RVM.
I am using Oh-My-ZSH and I have typed this command to install RVM
\curl -L https://get.rvm.io | bash -s stable
After installation I got this warning
* WARNING: You have '~/.profile' file, you might want to load it,
to do that add the following line to '/home/dexter/.bash_profile':
source ~/.profile
And i don't know what should i do with my current ruby and rails. What is
the needed steps to use both of Rails 3 and Rails to and what about the
previous warning also what about by the following
➜ ~ ruby -v
ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux]
➜ ~ which ruby
ruby: aliased to bundled_ruby
when I type rvm list:
rvm list
rvm rubies
# No rvm rubies installed yet. Try 'rvm help install'.
also when i try to go to my project which is called Triton
➜ ~ cd ~/Desktop\ item/Triton
RVM used your Gemfile for selecting Ruby, it is all fine - Heroku does
that too,
you can ignore these warnings with 'rvm rvmrc warning ignore
/home/dexter/Desktop item/Triton/Gemfile'.
To ignore the warning for all files run 'rvm rvmrc warning ignore
allGemfiles'.
ruby-1.9.3-p448 is not installed.
To install do: 'rvm install ruby-1.9.3-p448'

No comments:

Post a Comment