I tried everything to install this version of ruby and rails 3 in my s.o. All the the tutorials that I found don''t work. Sb know how to install this version of RoR in my S.O. I''m using Debian. Thx ;D -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 11/08/11 12:09, Bruno Meira wrote:> I tried everything to install this version of ruby and rails 3 in my > s.o. All the the tutorials that I found don''t work. > Sb know how to install this version of RoR in my S.O. I''m using > Debian.I strongly suggest you use rvm. See http://beginrescueend.com/ HTH John -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I already tried it. But the "ruby -v" only works in non-root mode and "rails -v" doesn''t work in any mode ;/ -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 11/08/11 12:52, Bruno Meira wrote:> I already tried it. But the "ruby -v" only works in non-root mode and > "rails -v" doesn''t work in any mode ;/You''ll have to give a bit more information than that if you want any useful help. Do you have rvm installed and working? Does your installation pass the "type rvm | head -1" test? How then did you install ruby? And rails? What do you see when you type "ruby -v"? And "rails -v"? What do you mean by "S.O."? John -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
yeah, I already type "rvm | head -1", and everything works good. I installed ruby using rvm. "rvm install 1.9.2". It works well but when I type "ruby -v" in console, if I''m on sudo mode it shows me a message telling me that this command does not find. Otherwise if I''m not on sudo mode it works well. I tried again something of one blog and "rails -v" now works in any mode, but "ruby -v" problem continues. That''s the first time that I''m using rvm, so all the time that I need to use "rake db:migrate" or "rails -s", I need to type "rvm rake db:migrate" and "rvm rails -s"? Sorry by the word "S.O", I''m brazilian guy. And here "operating system = O.S" is equals to "S.O". Thx :D -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Now it works! I follow again some steps of one blog and it works! all the time that I need to use "rake db:migrate" I type "rvm rake db:migrate" isn''t it? "ruby -v" doesn''t appears in root mode, but if it works is not a problem :P thx for the help :D -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Thu, Aug 11, 2011 at 6:49 AM, Bruno Meira <goesmeira-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> all the time that I need to use "rake db:migrate" I type "rvm rake > db:migrate" isn''t it?No -- just `rake db:migrate` will work. -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://about.me/hassanschroeder twitter: @hassan -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 11 August 2011 14:49, Bruno Meira <goesmeira-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Now it works! > I follow again some steps of one blog and it works! > all the time that I need to use "rake db:migrate" I type "rvm rake > db:migrate" isn''t it? > "ruby -v" doesn''t appears in root mode, but if it works is not a > problem :PI believe that normally rvm would not be used in root mode, that is part of the point I think. It allows ruby and gems to be installed on a per-user basis. Colin -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 11/08/11 14:34, Bruno Meira wrote:> yeah, I already type "rvm | head -1", and everything works good. > I installed ruby using rvm. "rvm install 1.9.2". > It works well but when I type "ruby -v" in console, if I''m on sudo > mode it shows me a message telling me that this command does not find. > Otherwise if I''m not on sudo mode it works well.The whole point of rvm is that it installs your own private environment. You don''t need to use su or sudo at all.> I tried again something of one blog and "rails -v" now works in any > mode, but "ruby -v" problem continues. > That''s the first time that I''m using rvm, so all the time that I need > to use "rake db:migrate" or "rails -s", I need to type "rvm rake > db:migrate" and "rvm rails -s"?No. Simply type: rvm use 1.9.2 and then for the rest of your session you''ll have the environment which you need. You just type: rake db:migrate or: rails server or whatever you want. Cheers, John -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
rvm is the best way to install ruby follow this blog http://mazi-bakhar.blogspot.com/ There i have written a blog, which contains a shell script at then end, which will solve your all the doubt. On Thu, Aug 11, 2011 at 11:09 AM, Bruno Meira <goesmeira-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I tried everything to install this version of ruby and rails 3 in my > s.o. All the the tutorials that I found don''t work. > Sb know how to install this version of RoR in my S.O. I''m using > Debian. > Thx ;D > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- Regards, Rahul Patil -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Thx for the help guys! I will read more about rvm and try to follow the steps of rahul''s blog :D -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.