Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

After installation terminal and my editor gives an error #44648

Closed
coding102 opened this issue Oct 5, 2015 · 6 comments
Closed

After installation terminal and my editor gives an error #44648

coding102 opened this issue Oct 5, 2015 · 6 comments

Comments

@coding102
Copy link

After installing the program, every time I run ANY code the following is printed on my editor "Coderunner" followed by the answer.
bash: /Users/1997SUPRAMAN/.bash_profile: line 14: unexpected EOF while looking for matching `"'
bash: /Users/1997SUPRAMAN/.bash_profile: line 15: syntax error: unexpected end of file

The code is correct as it ran fine before installing. Here is an example, I type my code;

var multi_dim_sum = function(arr){
var sum=0;
for (var i=0;i<arr.length;i++){
if (arr[i] instanceof Array){
sum += multi_dim_sum(arr[i]);
}
else{
sum+= arr[i];
}
}
return sum;
}
multi_dim_sum([1,[2,[3, 4]], [5, 6]])

"these two lines always print before the answer"
bash: /Users/1997SUPRAMAN/.bash_profile: line 14: unexpected EOF while looking for matching `"'
bash: /Users/1997SUPRAMAN/.bash_profile: line 15: syntax error: unexpected end of file
21

@DomT4
Copy link
Member

DomT4 commented Oct 6, 2015

What did you install to get this message?

@coding102
Copy link
Author

@coding102
Copy link
Author

then I did this:

If you got a warning from Homebrew about your path, do the following:
echo 'export PATH="/usr/local/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile

@coding102
Copy link
Author

and installed this; RVM

curl -L https://get.rvm.io | bash -s stable

@apjanke
Copy link
Contributor

apjanke commented Oct 9, 2015

Could you post your .bash_profile as a gist, if there's nothing sensitive in it?

@DomT4
Copy link
Member

DomT4 commented Oct 19, 2015

Closing as dead. Will reopen or let another maintainer reopen if we get a reply here.

@DomT4 DomT4 closed this as completed Oct 19, 2015
@Homebrew Homebrew locked and limited conversation to collaborators Jul 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants