Hi, I m new to rails. I have funny things when trying to change version of rails. I have installed ruby 1.6.5.1 and ruby 1.9.3. I installed RVM and everything correctly. When i change ruby version with rvm use 1.9.3 it succesfully change ruby, when type ruby -v it shows 1.9.3 . But then I try to install rails 3 with rvm gem install rails, it shows rails 3.2.6 is sucesfully installed but when I type rails -v it shows 2.8.6 again. When i type gem rails list it shows that 2.8.6 and 3.2.6 are installed, but how can I make terminal shows 3.2.6 when I run rails -v command? Also how can I use jruby 1.6.5.1 as ruby 1.9? And how to create sucesfully new project specifzing version for example> rails _3.2.6_ new test When I try it shows me errors. Thanks in advance -- 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-/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-US.
Try to run command rails _3.2.6_ --version -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/D-JidKhEtmEJ. 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-US.
On Wed, Jul 11, 2012 at 9:28 AM, aldm alert <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> But then I try to install rails 3 with rvm gem install rails, it shows > rails 3.2.6 is sucesfully installed but when I type rails -v it shows > 2.8.6 again. > > When i type gem rails list it shows that 2.8.6 and 3.2.6 are installed, > but how can I make terminal shows 3.2.6 when I run rails -v command?If you''re using rvm, you should create separate gemsets for Rails 2 and 3. (And "2.8.6" isn''t a version of Rails I''ve ever encountered...)> Also how can I use jruby 1.6.5.1 as ruby 1.9?jruby --1.9 # see also: jruby --help> And how to create sucesfully new project specifzing version for example> > > rails _3.2.6_ new test > > When I try it shows me errors.What errors, exactly? -- 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-US.
Thanks for replies. When I try to run rails new app it shows me Cant find gem rails with executable rails. I also tried rails _3.2.6_ --version it shows me the same error. It seems like rails not installed but I runned gem install rails When I type gem list rails it shows me rails (3.2.6) I use mac. What can be a problem? -- 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-/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-US.
Could you please post the content of your path and also where gems are installed? Perhaps you could try bundle exec rails new etc Am 12.07.2012 09:07 schrieb "aldm alert" <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>:> Thanks for replies. When I try to run rails new app it shows me > > Cant find gem rails with executable rails. > > > I also tried rails _3.2.6_ --version it shows me the same error. > It seems like rails not installed but I runned gem install rails > > When I type gem list rails it shows me > > rails (3.2.6) > > I use mac. > > What can be a problem? > > -- > 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-/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-US. > >-- 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-US.
This is solved thanks to my college. Thanks you all on answers. -- 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-/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-US.
Can you please tell us the solution? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/oG7ZlRY9XPkJ. 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-US.
RVM was installed with sudo by my administrator and then it was problem because ordinary user doesnt have permision to pull gems. So chief of administrators reinstalled RVM and everything works fine. Thanks for answers -- 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-/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-US.