Return-Path: X-Original-To: apmail-deltacloud-dev-archive@www.apache.org Delivered-To: apmail-deltacloud-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CF872D9CD for ; Sat, 10 Nov 2012 00:09:19 +0000 (UTC) Received: (qmail 10202 invoked by uid 500); 10 Nov 2012 00:09:19 -0000 Delivered-To: apmail-deltacloud-dev-archive@deltacloud.apache.org Received: (qmail 10181 invoked by uid 500); 10 Nov 2012 00:09:19 -0000 Mailing-List: contact dev-help@deltacloud.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@deltacloud.apache.org Delivered-To: mailing list dev@deltacloud.apache.org Received: (qmail 10165 invoked by uid 99); 10 Nov 2012 00:09:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Nov 2012 00:09:19 +0000 Date: Sat, 10 Nov 2012 00:09:19 +0000 (UTC) From: "Dies Koper (JIRA)" To: dev@deltacloud.apache.org Message-ID: <385570749.94720.1352506159585.JavaMail.jiratomcat@arcas> In-Reply-To: <705683061.91590.1352465652089.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (DTACLOUD-362) can't start DC with ./bin/deltacloudd, need to add "ruby" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DTACLOUD-362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13494451#comment-13494451 ] Dies Koper commented on DTACLOUD-362: ------------------------------------- Found it! My code is checked out on Windows, I'm using it from CentOS by mounting the deltacloud directory. deltacloudd shows DOS newlines on CentOS and that seems to be causing the issue. If I do a tr -d '\r' < deltacloudd > deltacloudd.sh, the latter file works. How to fix it? Not sure on git, but deltacloudd (being a unix script) should never be checked out with DOS newlines, no matter whether I'm checking out on Linux or Windows. With svn there are file options to ensure newlines are not changed on particular files. How about git? > can't start DC with ./bin/deltacloudd, need to add "ruby" > --------------------------------------------------------- > > Key: DTACLOUD-362 > URL: https://issues.apache.org/jira/browse/DTACLOUD-362 > Project: DeltaCloud > Issue Type: Bug > Components: Website > Environment: CentOS 6.2 (and Win 7) > Reporter: Dies Koper > Priority: Minor > > I can't start DC with ./bin/deltacloudd: > [root@localhost server]# ./bin/deltacloudd -i mock > : No such file or directory > [root@localhost server]# ls > 0001-fgcp-activate-new-ip-as-soon-as-allocated.patch deltacloud-core.gemspec LICENSE Rakefile tests > bin Gemfile log README.md tmp > config Gemfile.lock NOTICE support views > config.ru lib public temp.txt > [root@localhost server]# pwd > /mnt/hgfs/deltacloud/server > but "ruby ./bin/deltacloudd" does work. > See also http://fpaste.org/Qrxk/ and note: > $ /usr/bin/env ruby --version > ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux] -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira