Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
warnings in new code
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
kbrock  
View profile  
 More options Jan 21 2012, 9:06 pm
From: kbrock <kee...@thebrocks.net>
Date: Sat, 21 Jan 2012 18:06:11 -0800 (PST)
Local: Sat, Jan 21 2012 9:06 pm
Subject: warnings in new code
Hi Guys,

Was putting together an app today, but got a factory girl error.

You can see the same error at http://travis-ci.org/#!/thoughtbot/factory_girl/jobs/551551

Invalid gemspec in [/home/vagrant/.rvm/gems/ree-1.8.7-2011.12/
specifications/activerecord-3.2.0.gemspec]: Illformed requirement
["#<YAML::Syck::DefaultKey:0xd39fb7c> 3.2.0"]

Locally, I'm running ree, rails 3.1, factory_girl_rails (1.6.0)/
factory_girl (2.5.0)

after bundle install I run rake, but get the following error:

Invalid gemspec in [/Users/kbrock/projects/chat/.bundle/ruby/1.8/
specifications/factory_girl_rails-1.6.0.gemspec]: Illformed
requirement ["#<YAML::Syck::DefaultKey:0x10931d9e0> 3.0.7"]
Could not find factory_girl_rails-1.6.0 in any of the sources
Run `bundle install` to install missing gems.

If you edit the gemspec and replace the <YAML with lines to read

>=look at the gemspec, you'll notice that the rails lines have some

odd yaml serialization statement rather than the expected >=

I was not able to find this in the github source, so was not able to
submit a bugfix. Maybe it is simply a corrupted gem?

Thanks for such a great tool
--Keenan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Josh Clayton  
View profile  
 More options Feb 6 2012, 11:38 pm
From: Josh Clayton <joshua.clay...@gmail.com>
Date: Mon, 6 Feb 2012 20:38:00 -0800 (PST)
Subject: Re: warnings in new code
You'll want to upgrade Rubygems - this error is due to an outdated
version.

On Jan 21, 9:06 pm, kbrock <kee...@thebrocks.net> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Raphael Crawford-Marks  
View profile  
 More options Feb 3 2012, 2:53 pm
From: Raphael Crawford-Marks <raphael.crawfordma...@gmail.com>
Date: Fri, 3 Feb 2012 11:53:50 -0800 (PST)
Local: Fri, Feb 3 2012 2:53 pm
Subject: Re: warnings in new code
I'm getting this too, and the same fix worked.  But I'd rather not had
to do the same when I push code to staging and production...anyone
have details on the issue or a more elegant fix?

Thanks,

Raphael

On Jan 21, 9:06 pm, kbrock <kee...@thebrocks.net> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Bloom  
View profile  
 More options Mar 19 2012, 6:32 pm
From: Chris Bloom <chrisblo...@gmail.com>
Date: Mon, 19 Mar 2012 15:32:03 -0700 (PDT)
Local: Mon, Mar 19 2012 6:32 pm
Subject: Re: warnings in new code
Just to clarify the steps to fix, if you are getting this error first
do `gem update --system`, then run `bundle update` again.

On Feb 7, 12:38 am, Josh Clayton <joshua.clay...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »