Date: Sat, 9 Jun 2012 16:30:19 +0300 From: Zlatko Asenov <zlatko.asenov@gmail.com> To: ruby@FreeBSD.org Subject: TypeError: incompatible marshal file format (can't be read) Message-ID: <CACnz5vZpziWnSOBmWeB78k7TKj75SdO9FdaR3eSDYoi4WRW1mg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, I installed www/rubygem-rails but when I do 'rails new simple_cms -d postgresql' I get the error: TypeError: incompatible marshal file format (can't be read) format version 4.8 required; 46.252 given An error occured while installing sprockets (2.1.3), and Bundler cannot continue. Make sure that `gem install sprockets -v '2.1.3'` succeeds before bundling. I have the gem sprockets installed properly from ports. Also tried to install it with `gem install sprockets -v '2.1.3'` command for just in case. Install succeeds, but the error still stands and 'rails new simple_cms -d postgresql' stops as before. Executing 'rails new simple_cms -d postgresql --skip-sprockets' ends with the error above. I use FreeBSD 9.0-RELEASE-p2 in VirtualBox. Tried to remove the ~/.gem directory and got this: %rm -fr ~/.gem* rm: /home/zodias/.gem/specs/rubygems.org%443/quick/Marshal.4.8/sprockets-2.1.3.gemspec: Operation not permitted rm: /home/zodias/.gem/specs/rubygems.org%443/quick/Marshal.4.8: Directory not empty rm: /home/zodias/.gem/specs/rubygems.org%443/quick: Directory not empty rm: /home/zodias/.gem/specs/rubygems.org%443: Directory not empty rm: /home/zodias/.gem/specs: Directory not empty rm: /home/zodias/.gem: Directory not empty % When I execute 'rm -fr /usr/home/zodias/.gem*' as a root the system reboots. I can provide further information if needed. Can you help? Best regards, Zlatko Asenov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACnz5vZpziWnSOBmWeB78k7TKj75SdO9FdaR3eSDYoi4WRW1mg>