Ruby on Rails Friday, October 25, 2013

Thanks for the reply Colin,

I'm sure my stubborn nature is going to get me through this learning curve.

when i run: rvm list 

the result is: 

ruby-2.0.0-p247 [x86_64]
# => - current 
# =* - current && default
# * - default


So should i run 
rvm --default use 1.9.3 
or
rvm --default use 2.0.0

Nat

On Friday, 25 October 2013 09:34:15 UTC, Colin Law wrote:
On 25 October 2013 10:18, Natmanu <nat...@gmail.com> wrote:
> Hi,
>
> I seem to be hitting some configuration errors every step of the tutorial.
> IS there a way to check my config to see I have all that I need set up?
>
> Now when I try:  bundle exec rake db:migrate
>
> is get Error:   RVM Ruby not used, run 'rvm use 1.9.1' first
>
> I'm not sure i understand the error. is should run: rvm use 1.9.1

I sympathise with you, trying to learn Ubuntu, rvm, ruby and rails all
at once can be a bit overwhelming.  Persevere and all will become
clear in time.  The error seems a bit odd.  The rvm use command allows
you to specify which ruby you wish to use, I am surprised that it has
not defaulted to something.  However you can easily set the default
ruby.  First see which ones you have installed by running, in a
terminal
rvm list

Then to make one of the these the default run
rvm --default use 1.9.3
you don't normally need the -pnnn patch number unless you have
multiple versions of the same ruby (which would not normally be a good
idea).  In the error it said 1.9.1, I hope you are not using that
version (which does not play well with rails), it should probably be
1.9.3

Colin

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/117edbca-f184-4e8c-b95e-ccbfa5fa8d81%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment