Sasi
2011-Apr-03 18:29 UTC
How to manage 2 different versions of rails in same machine with single ruby version?
I am using two different version of rails application (2.3.8 and 3.0.3) in a same machine with a single version of REE installed in the machine. Ruby enterprise edition version is 1.8.7 . Both the applications are working fine. But i have a problem in rails 2.3.8 application . In some place in my code i have used <%time_ago_in_words(test.created_at) %>. Before installing rails 3.0.3 version gems it displays the days ago correctly. But after installing the rails 3.0.3 gems .I get "in {{count}} days.". Any idea would be very helpful. Thks -- 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.
Frederick Cheung
2011-Apr-03 19:09 UTC
Re: How to manage 2 different versions of rails in same machine with single ruby version?
On 3 Apr 2011, at 19:29, Sasi <ssasidaran86-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I am using two different version of rails application (2.3.8 and > 3.0.3) in a same machine with a single version of REE installed in the > machine. Ruby enterprise edition version is 1.8.7 .Either bundler or rvm are ok for managing gem versions across multiple applications Fred> > Both the applications are working fine. But i have a problem in rails > 2.3.8 application . In some place in my code i have used <%> time_ago_in_words(test.created_at) %>. Before installing rails 3.0.3 > version gems it displays the days ago correctly. > > But after installing the rails 3.0.3 gems .I get "in {{count}} days.". > > Any idea would be very helpful. Thks > > -- > 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. >-- 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.
Sasi
2011-Apr-05 04:10 UTC
Re: How to manage 2 different versions of rails in same machine with single ruby version?
Thanks a lot fred.. Now im able to manage my application through bundler. :) On Apr 4, 12:09 am, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 3 Apr 2011, at 19:29, Sasi <ssasidara...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > I am using two different version of rails application (2.3.8 and > > 3.0.3) in a same machine with a single version of REE installed in the > > machine. Ruby enterprise edition version is 1.8.7 . > > Either bundler or rvm are ok for managing gem versions across multiple applications > > Fred > > > > > > > Both the applications are working fine. But i have a problem in rails > > 2.3.8 application . In some place in my code i have used <%> > time_ago_in_words(test.created_at) %>. Before installing rails 3.0.3 > > version gems it displays the days ago correctly. > > > But after installing the rails 3.0.3 gems .I get "in {{count}} days.". > > > Any idea would be very helpful. Thks > > > -- > > 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 athttp://groups.google.com/group/rubyonrails-talk?hl=en.- Hide quoted text - > > - Show quoted text --- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.