On 2015-Apr-29, at 11:24 , Bailey J <[email protected]> wrote:

> Thanks that helps.  So it was probably just the way I passed the command...
> 
> This is what I typed "sudo gem install rails 4.2.1 --no-ri --no-rdoc", does 
> that look funny?

You need to have "-v" in front of the version:

        sudo gem install rails -v 4.2.1 --no-ri --no-rdoc

Other version specifiers might require quotes to keep the shell from attempting 
input/output redirection. E.g.:

        sudo gem install rails -v '>= 4.2.1' --no-ri --no-rdoc


-Rob

> 
> Should I be concerned about the contents of this error message "Could not 
> find a valid gem" or is it simply nothing more than what you just said?
> 
> What I wanted to do was pass the command with head in it but I don't know the 
> syntax for that and I couldn't find a reference to it that quickly.  Does 
> anyone know the proper way to pass the command for get head?
> 
> -- 
> 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 [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rubyonrails-talk/f99d7296-5b96-4b4b-8fa4-c02251efebcc%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/F645F1C9-F24E-4C2C-A1B1-90477CDBF1E1%40agileconsultingllc.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to