Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
/usr/bin/env: bad interpreter: No such file or directory
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
StevieHayes  
View profile  
 More options Jul 21 2012, 4:08 pm
From: StevieHayes <steve.j.ha...@gmail.com>
Date: Sat, 21 Jul 2012 13:08:02 -0700 (PDT)
Local: Sat, Jul 21 2012 4:08 pm
Subject: /usr/bin/env: bad interpreter: No such file or directory

I'm sure this is a simple problem but when I start up my terminal in Ubuntu
I get the following...

bash: /usr/local/rvm/scripts/color: /usr/bin/env: bad interpreter: No such
file or directory

I've tried editing my .bashrc file but there's nothing obvious to change.

RVM is specified there as follows...

if [[ -s /usr/local/rvm/scripts/rvm ]] ; then source
/usr/local/rvm/scripts/rvm ; fi
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting

Anyone have any clue to why I'm getting complaints at the terminal?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mpapis  
View profile  
 More options Jul 22 2012, 9:18 pm
From: mpapis <mpa...@gmail.com>
Date: Sun, 22 Jul 2012 18:18:57 -0700 (PDT)
Local: Sun, Jul 22 2012 9:18 pm
Subject: Re: /usr/bin/env: bad interpreter: No such file or directory

 are you sure /usr/bin/env exists, this is most common thing in linux, for
compability every distribution has this script which you can use for shebang

also make sure you have bash, even rvm works with zsh or other shells - it
uses bash internally and it has to be installed


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jaya...@gmail.com  
View profile  
 More options Mar 1, 8:42 am
From: jaya...@gmail.com
Date: Fri, 1 Mar 2013 05:42:52 -0800 (PST)
Local: Fri, Mar 1 2013 8:42 am
Subject: Re: /usr/bin/env: bad interpreter: No such file or directory

Try running your script either by 'exec foo.sh' or 'source foo.sh' or '.
./foo.sh'.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »