From owner-freebsd-ruby@FreeBSD.ORG Sat Jun 9 13:30:21 2012 Return-Path: Delivered-To: ruby@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CABB1065672 for ; Sat, 9 Jun 2012 13:30:21 +0000 (UTC) (envelope-from zlatko.asenov@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id C91B88FC1A for ; Sat, 9 Jun 2012 13:30:20 +0000 (UTC) Received: by wibhn6 with SMTP id hn6so1182844wib.13 for ; Sat, 09 Jun 2012 06:30:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Xckh6QD/u/kNDO9G3lS9XVliNCZ6lGw0AgD7OUcacz4=; b=ctNLt4TEre0hsFHKIAw915VsfelGkEgQ32TcLboXzq3k91eJtoLI/SQEtpN0L8M/63 LHG2Taos6O7kB5164meling568hVz5Fg+OMYTvCVhzjfQJojtPkuitrP5EUaGLIgz/wn YZ8kD5PweyZkda7KxiVvklCdEHDHBjEA2LD02brn05NCD/sftVQFNrSzI+oX+pc+JTFL 8Ka3Zd4yfAhhX/v5algcdzMCcNfkmHUk2OxeICgnFGUwR/dqrLMGCKRMhRXDiNgKNvJe x0JrnaGFt2C1m37rcSB3CuTzUB+T6QLAafczU3T6Zk9ll86Iq4N+Uf2CzrLrBdvAixg7 dZQQ== MIME-Version: 1.0 Received: by 10.180.84.6 with SMTP id u6mr7909448wiy.11.1339248619048; Sat, 09 Jun 2012 06:30:19 -0700 (PDT) Received: by 10.223.58.74 with HTTP; Sat, 9 Jun 2012 06:30:19 -0700 (PDT) Date: Sat, 9 Jun 2012 16:30:19 +0300 Message-ID: From: Zlatko Asenov To: ruby@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: TypeError: incompatible marshal file format (can't be read) X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jun 2012 13:30:21 -0000 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