hi i have installed ruby 1.9.0 now when i type ''gem list'', it shows: *** LOCAL GEMS *** how can i get the list of installed gems?? nd how can i check rails version? after installing ruby 1.9.0 my webrick server is not starting for any of my rails apps which i had developed using ruby 1.8.7. If i have to made any changes in my rails application after installing ruby 1.9.0 ??? i am using ubuntu 9.04 and i have installed ruby 1.9.0 in /usr/local/bin thanx. -- Posted via http://www.ruby-forum.com/.
In a fresh ruby install you usually have no installed gems. First you might update the gem utility itself to the latest: > gem update --system Then install the gems you need with ''gem install <gem-name>'' You can get a list of what gems are available for install with:> gem list --remote railsregards, Janos On Mon, Aug 31, 2009 at 9:05 AM, Abhishek Singh < rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > hi > i have installed ruby 1.9.0 > now when i type ''gem list'', it shows: > > *** LOCAL GEMS *** > > how can i get the list of installed gems?? > nd how can i check rails version? > after installing ruby 1.9.0 my webrick server is not starting for any of > my rails apps which i had developed using ruby 1.8.7. > If i have to made any changes in my rails application after installing > ruby 1.9.0 ??? > i am using ubuntu 9.04 and i have installed ruby 1.9.0 in /usr/local/bin > > thanx. > -- > Posted via http://www.ruby-forum.com/. > > > >-- Üdv, Sebi --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I think your gem program points to gem1.9, and therefore output is empty. If you do "gem1.8 list" you will get all the gems installed with rubu1.8. Also if "ruby -v" outputs ruby 1.9, and you still want to use ruby1.8 then perhaps you need to symlink ruby1.8 to ruby. -- अभिनव http://twitter.com/abhinav On Mon, Aug 31, 2009 at 12:35 PM, Abhishek Singh < rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > hi > i have installed ruby 1.9.0 > now when i type ''gem list'', it shows: > > *** LOCAL GEMS *** > > how can i get the list of installed gems?? > nd how can i check rails version? > after installing ruby 1.9.0 my webrick server is not starting for any of > my rails apps which i had developed using ruby 1.8.7. > If i have to made any changes in my rails application after installing > ruby 1.9.0 ??? > i am using ubuntu 9.04 and i have installed ruby 1.9.0 in /usr/local/bin > > thanx. > -- > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Abhinav Saxena wrote:> I think your gem program points to gem1.9, and therefore output is > empty.thanx i got that.> > Also if "ruby -v" outputs ruby 1.9, and you still want to use ruby1.8 > then > perhaps you need to symlink ruby1.8 to ruby.how can i create a symlink to ruby1.8? -- Posted via http://www.ruby-forum.com/.
First of all, I hope you are linux/mac. If yes, google "symlink" or "ln -s howto". In short, what you need is this:>ln -s file_you_want_to_symlink new_pathor in your case most probably, it will be> sudo ln -s /usr/bin/ruby1.8 /usr/bin/ruby-- अभिनव http://twitter.com/abhinav On Mon, Aug 31, 2009 at 4:14 PM, Abhishek Singh < rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Abhinav Saxena wrote: > > I think your gem program points to gem1.9, and therefore output is > > empty. > > thanx i got that. > > > > > Also if "ruby -v" outputs ruby 1.9, and you still want to use ruby1.8 > > then > > perhaps you need to symlink ruby1.8 to ruby. > > how can i create a symlink to ruby1.8? > > > > -- > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Abhinav Saxena wrote:> First of all, I hope you are linux/mac. If yes, google "symlink" or "ln > -s > howto". In short, what you need is this: >>ln -s file_you_want_to_symlink new_path > or in your case most probably, it will be >> sudo ln -s /usr/bin/ruby1.8 /usr/bin/rubyyes.. i have fix that.. thanx a lot. -abhishek -- Posted via http://www.ruby-forum.com/.