I run the command $gem update --system after all time while installing gems and even $rails -v command also giving below error Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ json-1.6.1.gemspec]: invalid date format in specification: "2011-09-18 00:00:00.000000000Z" Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ json-1.6.0.gemspec]: invalid date format in specification: "2011-09-12 00:00:00.000000000Z" Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ uuid-2.3.4.gemspec]: invalid date format in specification: "2011-09-02 00:00:00.000000000Z" Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ gherkin-2.5.1.gemspec]: invalid date format in specification: "2011-09-23 00:00:00.000000000Z" Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ json_pure-1.5.4.gemspec]: invalid date format in specification: "2011-08-31 00:00:00.000000000Z" Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ cucumber-1.1.0.gemspec]: invalid date format in specification: "2011-09-22 00:00:00.000000000Z" Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ json-1.5.4.gemspec]: invalid date format in specification: "2011-08-31 00:00:00.000000000Z" Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ spruz-0.2.13.gemspec]: invalid date format in specification: "2011-08-17 00:00:00.000000000Z" Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ json-1.6.1.gemspec]: invalid date format in specification: "2011-09-18 00:00:00.000000000Z" Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ json-1.6.0.gemspec]: invalid date format in specification: "2011-09-12 00:00:00.000000000Z" Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ uuid-2.3.4.gemspec]: invalid date format in specification: "2011-09-02 00:00:00.000000000Z" Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ gherkin-2.5.1.gemspec]: invalid date format in specification: "2011-09-23 00:00:00.000000000Z" Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ json_pure-1.5.4.gemspec]: invalid date format in specification: "2011-08-31 00:00:00.000000000Z" Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ cucumber-1.1.0.gemspec]: invalid date format in specification: "2011-09-22 00:00:00.000000000Z" Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ json-1.5.4.gemspec]: invalid date format in specification: "2011-08-31 00:00:00.000000000Z" Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ spruz-0.2.13.gemspec]: invalid date format in specification: "2011-08-17 00:00:00.000000000Z" Any solution ? -- 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.
Are you trying to install rails 3.1?? On Oct 3, 2011 6:32 AM, "subbarao" <subbarao.kly-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I run the command > > $gem update --system > > after all time while installing gems and even > > $rails -v > > command also giving below error > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > json-1.6.1.gemspec]: invalid date format in specification: "2011-09-18 > 00:00:00.000000000Z" > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > json-1.6.0.gemspec]: invalid date format in specification: "2011-09-12 > 00:00:00.000000000Z" > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > uuid-2.3.4.gemspec]: invalid date format in specification: "2011-09-02 > 00:00:00.000000000Z" > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > gherkin-2.5.1.gemspec]: invalid date format in specification: > "2011-09-23 00:00:00.000000000Z" > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > json_pure-1.5.4.gemspec]: invalid date format in specification: > "2011-08-31 00:00:00.000000000Z" > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > cucumber-1.1.0.gemspec]: invalid date format in specification: > "2011-09-22 00:00:00.000000000Z" > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > json-1.5.4.gemspec]: invalid date format in specification: "2011-08-31 > 00:00:00.000000000Z" > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > spruz-0.2.13.gemspec]: invalid date format in specification: > "2011-08-17 00:00:00.000000000Z" > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > json-1.6.1.gemspec]: invalid date format in specification: "2011-09-18 > 00:00:00.000000000Z" > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > json-1.6.0.gemspec]: invalid date format in specification: "2011-09-12 > 00:00:00.000000000Z" > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > uuid-2.3.4.gemspec]: invalid date format in specification: "2011-09-02 > 00:00:00.000000000Z" > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > gherkin-2.5.1.gemspec]: invalid date format in specification: > "2011-09-23 00:00:00.000000000Z" > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > json_pure-1.5.4.gemspec]: invalid date format in specification: > "2011-08-31 00:00:00.000000000Z" > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > cucumber-1.1.0.gemspec]: invalid date format in specification: > "2011-09-22 00:00:00.000000000Z" > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > json-1.5.4.gemspec]: invalid date format in specification: "2011-08-31 > 00:00:00.000000000Z" > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > spruz-0.2.13.gemspec]: invalid date format in specification: > "2011-08-17 00:00:00.000000000Z" > > > > Any solution ? > > -- > 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 torubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org> For more options, visit this group athttp://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.
Try using `update_rubygems'' Sent from an Asteroid in Space™ On 2011-10-04, at 12:26 AM, Benjamin Iandavid Rodriguez <ian.rgz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Are you trying to install rails 3.1?? > > On Oct 3, 2011 6:32 AM, "subbarao" <subbarao.kly-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > I run the command > > > > $gem update --system > > > > after all time while installing gems and even > > > > $rails -v > > > > command also giving below error > > > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > json-1.6.1.gemspec]: invalid date format in specification: "2011-09-18 > > 00:00:00.000000000Z" > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > json-1.6.0.gemspec]: invalid date format in specification: "2011-09-12 > > 00:00:00.000000000Z" > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > uuid-2.3.4.gemspec]: invalid date format in specification: "2011-09-02 > > 00:00:00.000000000Z" > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > gherkin-2.5.1.gemspec]: invalid date format in specification: > > "2011-09-23 00:00:00.000000000Z" > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > json_pure-1.5.4.gemspec]: invalid date format in specification: > > "2011-08-31 00:00:00.000000000Z" > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > cucumber-1.1.0.gemspec]: invalid date format in specification: > > "2011-09-22 00:00:00.000000000Z" > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > json-1.5.4.gemspec]: invalid date format in specification: "2011-08-31 > > 00:00:00.000000000Z" > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > spruz-0.2.13.gemspec]: invalid date format in specification: > > "2011-08-17 00:00:00.000000000Z" > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > json-1.6.1.gemspec]: invalid date format in specification: "2011-09-18 > > 00:00:00.000000000Z" > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > json-1.6.0.gemspec]: invalid date format in specification: "2011-09-12 > > 00:00:00.000000000Z" > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > uuid-2.3.4.gemspec]: invalid date format in specification: "2011-09-02 > > 00:00:00.000000000Z" > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > gherkin-2.5.1.gemspec]: invalid date format in specification: > > "2011-09-23 00:00:00.000000000Z" > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > json_pure-1.5.4.gemspec]: invalid date format in specification: > > "2011-08-31 00:00:00.000000000Z" > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > cucumber-1.1.0.gemspec]: invalid date format in specification: > > "2011-09-22 00:00:00.000000000Z" > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > json-1.5.4.gemspec]: invalid date format in specification: "2011-08-31 > > 00:00:00.000000000Z" > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > spruz-0.2.13.gemspec]: invalid date format in specification: > > "2011-08-17 00:00:00.000000000Z" > > > > > > > > Any solution ? > > > > -- > > 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@googlegroups.com. > 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
ok On Oct 6, 1:34 pm, iGbanam <xigba...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Try using `update_rubygems'' > > Sent from an Asteroid in Space™ > > On 2011-10-04, at 12:26 AM, Benjamin Iandavid Rodriguez <ian....-Re5JQEeQqe8@public.gmane.orgm> wrote: > > > Are you trying to install rails 3.1?? > > > On Oct 3, 2011 6:32 AM, "subbarao" <subbarao....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > I run the command > > > > $gem update --system > > > > after all time while installing gems and even > > > > $rails -v > > > > command also giving below error > > > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > > json-1.6.1.gemspec]: invalid date format in specification: "2011-09-18 > > > 00:00:00.000000000Z" > > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > > json-1.6.0.gemspec]: invalid date format in specification: "2011-09-12 > > > 00:00:00.000000000Z" > > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > > uuid-2.3.4.gemspec]: invalid date format in specification: "2011-09-02 > > > 00:00:00.000000000Z" > > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > > gherkin-2.5.1.gemspec]: invalid date format in specification: > > > "2011-09-23 00:00:00.000000000Z" > > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > > json_pure-1.5.4.gemspec]: invalid date format in specification: > > > "2011-08-31 00:00:00.000000000Z" > > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > > cucumber-1.1.0.gemspec]: invalid date format in specification: > > > "2011-09-22 00:00:00.000000000Z" > > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > > json-1.5.4.gemspec]: invalid date format in specification: "2011-08-31 > > > 00:00:00.000000000Z" > > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > > spruz-0.2.13.gemspec]: invalid date format in specification: > > > "2011-08-17 00:00:00.000000000Z" > > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > > json-1.6.1.gemspec]: invalid date format in specification: "2011-09-18 > > > 00:00:00.000000000Z" > > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > > json-1.6.0.gemspec]: invalid date format in specification: "2011-09-12 > > > 00:00:00.000000000Z" > > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > > uuid-2.3.4.gemspec]: invalid date format in specification: "2011-09-02 > > > 00:00:00.000000000Z" > > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > > gherkin-2.5.1.gemspec]: invalid date format in specification: > > > "2011-09-23 00:00:00.000000000Z" > > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > > json_pure-1.5.4.gemspec]: invalid date format in specification: > > > "2011-08-31 00:00:00.000000000Z" > > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > > cucumber-1.1.0.gemspec]: invalid date format in specification: > > > "2011-09-22 00:00:00.000000000Z" > > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > > json-1.5.4.gemspec]: invalid date format in specification: "2011-08-31 > > > 00:00:00.000000000Z" > > > Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ > > > spruz-0.2.13.gemspec]: invalid date format in specification: > > > "2011-08-17 00:00:00.000000000Z" > > > > Any solution ? > > > > -- > > > 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-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.orgm. > > > 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. > > > -- > > 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.-- 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.
Valery Kvon
2011-Oct-14 15:14 UTC
ActiveSupport 3.1.1 try() method: NoMethodError exception
Updated Rails to 3.1.1 and noticed this ''undocumented deprecation'' of try() method behavior. In Rails 3.1.0 and earlier: nil.try(:method) => allways Nil object.try(:method) => executes method if defined, or returns Nil if NoMethodError exception raised. In Rail 3.1.1 nil.try(:method) => allways Nil object.try(:method) => executes method if defined, or raise NoMethodError exception directly if just send() method would be called! That is important deprecation. I think Try should definitely ignore NoMethodError. Now i have to rewrite some code… -- 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.