Ruby on Rails Wednesday, July 25, 2012

So where did those astericks come from?

You have a problem with your rvm ruby installation.

Here's what I see when I type $(which ruby) --version

b
ash-3.2$ rvm list

rvm rubies

=* ruby-1.9.3-p194 [ x86_64 ]

# => - current
# =* - current && default
#  * - default

bash-3.2$ which ruby
/Users/richardlloyd/.rvm/rubies/ruby-1.9.3-p194/bin/ruby
bash-3.2$ $(which ruby) --version
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin12.0.0]
bash-3.2$

My suggestion is to uninstall your ruby-1.9.3-p194 and install a clean copy.

Rick

On Monday, July 23, 2012 8:45:25 AM UTC-4, Ruby-Forum.com User wrote:

Rick Lloyd wrote in post #1069775:
> My guess is you've got something wrong in your shell environment.  What
> do
> you see when you type:
>
>     $(*which ruby) --version*
produced
bash: syntax error near unexpected token `--version*'

and
> *`which ruby` --version*

produced
bash: */home/sebah/.rvm/rubies/ruby-1.9.3-p194/bin/ruby: No such file or
directory

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/tS-yyC6qWgQJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment