Closed jjb closed 12 years ago
Have you tried updating your version of RubyGems?
hmm… i was on 1.6… did gem update --system, now i'm on 1.8.15 and… now ALL my gemspecs come up as invalid… and bundler thinks it has to reinstall all my gems. how odd.
(i realize this is not relevant to factory girl…)
On Fri, Jan 13, 2012 at 3:17 PM, Joshua Clayton < reply@reply.github.com
wrote:
Have you tried updating your version of RubyGems?
Reply to this email directly or view it on GitHub:
https://github.com/thoughtbot/factory_girl_rails/issues/46#issuecomment-3485531
I had the same problem with factory_girl_rails 1.5, running on REE (1.8.7, 2010.01 in my case). As per Josh's suggestion, I tried updating rubygems and had several (all?) of my gemspecs error. I bundle everything to vendor/bundle
so I wiped that folder and reran bundle install
.
Now factory_girl_rails is fine.
Of course, tilt now has an invalid gemspec... I really hate updating rubygems.
I'm still dealing with this. googling shows that the problem with the gemspec format has no proper solution. all the solutions involve directly editing the gemspec.
some suggesting running
gem update
or
gem pristine --all
neither of which worked for me. now i'm uninstalling all gems witih
gem list --no-versions |xargs gem uninstall --a --ignore-dependencies
which finished, and gem list shows nothing, but... there are still gemspecs hanging around for some reason, showing errors. how odd. maybe it's from when I sent ^c in the middle of some command at some point.
rm -rf /Users/john/.rbenv/versions/ree-1.8.7-2011.03/lib/ruby/gems/1.8/specifications
did the trick in the end
Same. Remove All installed gems. Remove any locally bundled gems from your project. Upgrade rubygems. Install bundler. bundle. Phew.
Can you all confirm that this is REE only? I installed on MRI 1.8.7, 1.9.2, 1.9.3 without any issues so narrowing the issue to REE would be awesome.
i don't have enough state or energy left to try to isolate for factory girl /ree... but it's clearly a general issue with rubygems more than a factory girl issue...
I was able to replicate this on JRuby 1.6.5.
I just realized that I don't have the ability to update ruby gems on the server I deploy to, so I have to go back to 1.6.2 (stock with REE) and factory_girl_rails 1.4 unless the f_g_r gemspec can be made compatible with older versions of rubygems.
all good with 1.9.2 and latest ruby gems release
shw
so what is the correct way to rectify this? I am having the same problem and I am more of a novice...any help would be great
Hi Suzanne,
Would be happy to help. Would you mind doing it over Skype?
Skype un: sam_woodard
Let me know a time that works for you.
Cheers, Sam
Sam Woodard -- Senior Developer +1 415-250-1591 sam.h.woodard@gmail.com
On Sunday, January 15, 2012 at 8:47 AM, Suzanne wrote:
so what is the correct way to rectify this? I am having the same problem and I am more of a novice...any help would be great
Reply to this email directly or view it on GitHub: https://github.com/thoughtbot/factory_girl_rails/issues/46#issuecomment-3499313
sure. i need about five minutes.
will you still be there.
yep :)
Sam Woodard -- Senior Developer +1 415-250-1591 sam.h.woodard@gmail.com
On Sunday, January 15, 2012 at 9:05 AM, Suzanne wrote:
sure. i need about five minutes. will you still be there.
Reply to this email directly or view it on GitHub: https://github.com/thoughtbot/factory_girl_rails/issues/46#issuecomment-3499416
gonna bounce in a few…you want to chat for a second?
Sam Woodard -- Senior Developer +1 415-250-1591 sam.h.woodard@gmail.com
On Sunday, January 15, 2012 at 9:05 AM, Sam Woodard wrote:
yep :)
Sam Woodard -- Senior Developer +1 415-250-1591 sam.h.woodard@gmail.com (mailto:sam.h.woodard@gmail.com)
On Sunday, January 15, 2012 at 9:05 AM, Suzanne wrote:
sure. i need about five minutes.
will you still be there.
Reply to this email directly or view it on GitHub: https://github.com/thoughtbot/factory_girl_rails/issues/46#issuecomment-3499416
I just tried to call you, but I need to add you as a contact or you
can try me Suzanne Coutchie 248 760 0409
On Jan 15, 2012, at 10:06 AM, Sam Woodard wrote:
yep :)
Sam Woodard -- Senior Developer +1 415-250-1591 sam.h.woodard@gmail.com
On Sunday, January 15, 2012 at 9:05 AM, Suzanne wrote:
sure. i need about five minutes. will you still be there.
Reply to this email directly or view it on GitHub: https://github.com/thoughtbot/factory_girl_rails/issues/ 46#issuecomment-3499416
Reply to this email directly or view it on GitHub: https://github.com/thoughtbot/factory_girl_rails/issues/ 46#issuecomment-3499420
sure
On Jan 15, 2012, at 10:28 AM, Sam Woodard wrote:
gonna bounce in a few…you want to chat for a second?
Sam Woodard -- Senior Developer +1 415-250-1591 sam.h.woodard@gmail.com
On Sunday, January 15, 2012 at 9:05 AM, Sam Woodard wrote:
yep :)
Sam Woodard -- Senior Developer +1 415-250-1591 sam.h.woodard@gmail.com (mailto:sam.h.woodard@gmail.com)
On Sunday, January 15, 2012 at 9:05 AM, Suzanne wrote:
sure. i need about five minutes. will you still be there.
Reply to this email directly or view it on GitHub: https://github.com/thoughtbot/factory_girl_rails/issues/ 46#issuecomment-3499416
Reply to this email directly or view it on GitHub: https://github.com/thoughtbot/factory_girl_rails/issues/ 46#issuecomment-3499560
can you skype me?
On Jan 15, 2012, at 10:28 AM, Sam Woodard wrote:
gonna bounce in a few…you want to chat for a second?
Sam Woodard -- Senior Developer +1 415-250-1591 sam.h.woodard@gmail.com
On Sunday, January 15, 2012 at 9:05 AM, Sam Woodard wrote:
yep :)
Sam Woodard -- Senior Developer +1 415-250-1591 sam.h.woodard@gmail.com (mailto:sam.h.woodard@gmail.com)
On Sunday, January 15, 2012 at 9:05 AM, Suzanne wrote:
sure. i need about five minutes. will you still be there.
Reply to this email directly or view it on GitHub: https://github.com/thoughtbot/factory_girl_rails/issues/ 46#issuecomment-3499416
Reply to this email directly or view it on GitHub: https://github.com/thoughtbot/factory_girl_rails/issues/ 46#issuecomment-3499560
I'm in mexico. i did not get a contact request from you. can you try again? sam_woodard
Sam Woodard -- Senior Developer +1 415-250-1591 sam.h.woodard@gmail.com
On Sunday, January 15, 2012 at 9:31 AM, Suzanne wrote:
sure
On Jan 15, 2012, at 10:28 AM, Sam Woodard wrote:
gonna bounce in a few…you want to chat for a second?
Sam Woodard -- Senior Developer +1 415-250-1591 sam.h.woodard@gmail.com (mailto:sam.h.woodard@gmail.com)
On Sunday, January 15, 2012 at 9:05 AM, Sam Woodard wrote:
yep :)
Sam Woodard -- Senior Developer +1 415-250-1591 sam.h.woodard@gmail.com (mailto:sam.h.woodard@gmail.com)
On Sunday, January 15, 2012 at 9:05 AM, Suzanne wrote:
sure. i need about five minutes. will you still be there.
Reply to this email directly or view it on GitHub: https://github.com/thoughtbot/factory_girl_rails/issues/
46#issuecomment-3499416
Reply to this email directly or view it on GitHub: https://github.com/thoughtbot/factory_girl_rails/issues/
46#issuecomment-3499560
Reply to this email directly or view it on GitHub: https://github.com/thoughtbot/factory_girl_rails/issues/46#issuecomment-3499590
my skype name is coutsuza On Jan 15, 2012, at 10:28 AM, Sam Woodard wrote:
gonna bounce in a few…you want to chat for a second?
Sam Woodard -- Senior Developer +1 415-250-1591 sam.h.woodard@gmail.com
On Sunday, January 15, 2012 at 9:05 AM, Sam Woodard wrote:
yep :)
Sam Woodard -- Senior Developer +1 415-250-1591 sam.h.woodard@gmail.com (mailto:sam.h.woodard@gmail.com)
On Sunday, January 15, 2012 at 9:05 AM, Suzanne wrote:
sure. i need about five minutes. will you still be there.
Reply to this email directly or view it on GitHub: https://github.com/thoughtbot/factory_girl_rails/issues/ 46#issuecomment-3499416
Reply to this email directly or view it on GitHub: https://github.com/thoughtbot/factory_girl_rails/issues/ 46#issuecomment-3499560
np
Sam Woodard -- Senior Developer +1 415-250-1591 sam.h.woodard@gmail.com
On Sunday, January 15, 2012 at 9:33 AM, Suzanne wrote:
my skype name is coutsuza On Jan 15, 2012, at 10:28 AM, Sam Woodard wrote:
gonna bounce in a few…you want to chat for a second?
Sam Woodard -- Senior Developer +1 415-250-1591 sam.h.woodard@gmail.com (mailto:sam.h.woodard@gmail.com)
On Sunday, January 15, 2012 at 9:05 AM, Sam Woodard wrote:
yep :)
Sam Woodard -- Senior Developer +1 415-250-1591 sam.h.woodard@gmail.com (mailto:sam.h.woodard@gmail.com)
On Sunday, January 15, 2012 at 9:05 AM, Suzanne wrote:
sure. i need about five minutes. will you still be there.
Reply to this email directly or view it on GitHub: https://github.com/thoughtbot/factory_girl_rails/issues/
46#issuecomment-3499416
Reply to this email directly or view it on GitHub: https://github.com/thoughtbot/factory_girl_rails/issues/
46#issuecomment-3499560
Reply to this email directly or view it on GitHub: https://github.com/thoughtbot/factory_girl_rails/issues/46#issuecomment-3499602
okay On Jan 15, 2012, at 10:33 AM, Sam Woodard wrote:
I'm in mexico. i did not get a contact request from you. can you
try again? sam_woodardSam Woodard -- Senior Developer +1 415-250-1591 sam.h.woodard@gmail.com
On Sunday, January 15, 2012 at 9:31 AM, Suzanne wrote:
sure
On Jan 15, 2012, at 10:28 AM, Sam Woodard wrote:
gonna bounce in a few…you want to chat for a second?
Sam Woodard -- Senior Developer +1 415-250-1591 sam.h.woodard@gmail.com (mailto:sam.h.woodard@gmail.com)
On Sunday, January 15, 2012 at 9:05 AM, Sam Woodard wrote:
yep :)
Sam Woodard -- Senior Developer +1 415-250-1591 sam.h.woodard@gmail.com (mailto:sam.h.woodard@gmail.com)
On Sunday, January 15, 2012 at 9:05 AM, Suzanne wrote:
sure. i need about five minutes. will you still be there.
Reply to this email directly or view it on GitHub: https://github.com/thoughtbot/factory_girl_rails/issues/ 46#issuecomment-3499416
Reply to this email directly or view it on GitHub: https://github.com/thoughtbot/factory_girl_rails/issues/ 46#issuecomment-3499560
Reply to this email directly or view it on GitHub: https://github.com/thoughtbot/factory_girl_rails/issues/ 46#issuecomment-3499590
Reply to this email directly or view it on GitHub: https://github.com/thoughtbot/factory_girl_rails/issues/ 46#issuecomment-3499595
I'm having the same issue with MRI 1.8.7-p352 so this may not be REE only ;)
This error poped after I did a bundle update. (I had 1.3 installed before updating)
I just replaced the ["#YAML::Syck::DefaultKey:0xb60b253c 3.0.7"] with ["3.0.7"] and it went just fine, but that doesn't seem to solve the problem for you guys ...
Tell me if I can help by testing some stuff on my side ;)
jerefrer's workaround also worked for me. Thanks for the suggestion.
jerefrer's workaround resolved the issue. Thanks.
Thanks jerefrer. Your solution works!
I also had the error showing up just for the factory_girl_rails gem on rvm with ruby 1.8.7p352. I did gem uninstall factory_girl_rails
gem cleanup
and gem install factory_girl_rails
which did the trick.
We have the same issue. Only with ree-1.8.7-2011.12. All this only on Travis CI as you can see here:
http://travis-ci.org/#!/magiclabs/alchemy_cms/jobs/546185
All other rubies work with the same Gemfile. Also running this locally on my machine under ree-1.8.7-2011.12 works!
@tvdeyen confirmed, got same problem with ree
looks like something's wrong with the 1.5 gemspec.