Invalid gemspec -Illformed requirement [ # YAML::Syck::DefaultKey:0xb5f9c990 3.2.0 ]
This can happen when upgrading to Rails 3.2.
Updating Rubygems should fix this issue.
gem update --system
Hope this helps.
Invalid gemspec -Illformed requirement [ # YAML::Syck::DefaultKey:0xb5f9c990 3.2.0 ]
This can happen when upgrading to Rails 3.2.
Updating Rubygems should fix this issue.
gem update --system
Hope this helps.
Any other way to circumvent the Illformed requirement YAML::Syck::DefaultKey errors then to upgrade RubyGems?
You probably found a way around this by now, but here's a hacky way to fix it if you have permissions to write the changes.
cd /path/to/vendor/bundle/
and open spree_api-1.0.0.gemspec in a text editor.
Delete anywhere it says #<YAML::Syck::DefaultKey:...>
and replace it with >=
.
Save it, go back to your Rails app directory and run bundle install
Invalid gemspec messages during bundle install of factory girl (rails 3.1 and ruby 1.9.2p290)
There is no point that I can see in keeping this question open any longer. While I never did clearly understand why I was getting Invalid gemspec
, the steps which are listed in my update to my question "solved" that "problem".
It would be nice if there was a way to simply close a question as "An answer is no longer a priority for me" or even simply "I've moved on". But there isn't. This "answer" will at least take this question off the list of things to still be looked at.
Passenger throws Bundler::GemfileError after gem update --system
I was able to fix this by rolling back rubygems-update to the previously installed version by running
gem update --system 1.8.11
At which point all of my apps began working again. I'm still not sure what the problem was, and will gladly switch the accepted answer from my own to someone who can provide more insight into why updating rubygems-update would break Passenger integration.
Related Topics
Rails Active Admin CSS Conflicting with Twitter Bootstrap CSS
Why Does Array.Each Behavior Depend on Array.New Syntax
Form_For "First Argument in Form Cannot Contain Nil or Be Empty" Error
What Is Your Preferred Way to Produce Charts in a Ruby on Rails Web Application
How to Round a Time Down to the Nearest 15 Minutes in Ruby
Switch Theme in an Existing Jekyll Installation
Returning Data from Forked Processes
Add Timestamps to an Existing Table
Why Is Rake Db:Migrate:Reset Not Listed in Rake -T
Devise Login with User or Admin Models and Basecamp Style Subdomains
How to Use Controller Specific Stylesheets in Rails 3.2.1
How to Track the Execution Process of Ruby Program
How to Install Ruby 2.1.4 on Ubuntu 14.04
Determining If a Variable Is Within Range
Keep Getting Oauth::Unauthorized Error When Using Oauth and Twitter Ruby Gems
How to Solve Insecure World Writable Dir /Usr in Path,Mode 040777 Warning on Ruby