Reputation: 9218
I'm trying to setup my ruby on rails dev environment on my macbook pro but running into this error:
/usr/local/Cellar/ruby/1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:289:in
load': uninitialized constant Psych::Syck (NameError) from /usr/local/Cellar/ruby/1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:289:in
_load'
I tried using another yaml engine by specifying syck in config/boot.rb but that didn't work.
require 'yaml' YAML::ENGINE.yamler= 'syck'
I'm using Rails 3/Ruby 1.9.2-p180/Bundler 1.0.10/RubyGems 1.6.2. I installed ruby 1.9.2 via brew.
Upvotes: 3
Views: 3449
Reputation: 2476
If you have this :
gem "rspec-rails", ">= 2.0.0.beta.20"
remove ', ">= 2.0.0.beta.20"'
gem "rspec-rails"
It works for me
Upvotes: 2
Reputation: 66751
Upvotes: 0