Ruby 2.0 RPM - Rails can't find psych

Vít Ondruch vondruch at redhat.com
Wed Mar 27 14:07:05 UTC 2013


Dne 27.3.2013 14:35, Peter Deffendol napsal(a):
>
> On Mar 27, 2013, at 2:10 AM, Vít Ondruch <vondruch at redhat.com 
> <mailto:vondruch at redhat.com>> wrote:
>
>> This seems to be Bundler issue IMO. You should add Psych into your 
>> Gemfile.
>
> Thanks Vit - I had that thought as well.  However, I get a slightly 
> different message after adding "gem 'psych'" to the Gemfile, running 
> "bundle install", and then trying the Rails console:
>
> [pete at centos yamltest]$ ./script/rails c
> /usr/share/ruby/yaml.rb:6:in `<top (required)>':
> It seems your ruby installation is missing psych (for YAML output).
> To eliminate this warning, please install libyaml and reinstall your ruby.
> /usr/share/gems/gems/psych-2.0.0/lib/psych.rb:1:in `require': cannot 
> load such file -- psych.so (LoadError)
>

You must use Fedora's Bundler. It is due to filesystem layout.


Vít


>
> Pete
>
> --
> Pete Deffendol
> pete at deffendol.org <mailto:pete at deffendol.org>
>
>
>
>
>
>
> _______________________________________________
> ruby-sig mailing list
> ruby-sig at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/ruby-sig

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/ruby-sig/attachments/20130327/112413cf/attachment.html>


More information about the ruby-sig mailing list