2

I'm trying to set up a Rails server to run an app that I just wrote on a box running SME Server 7.4.

I've installed curl, zlib, and readline, but when I run the rvm script, I get this output:

$ bash < <(curl -sk https://rvm.beginrescueend.com/install/rvm)
Cloning into rvm...
remote: Counting objects: 4757, done.
remote: Compressing objects: 100% (2427/2427), done.
remote: Total 4757 (delta 3082), reused 3183 (delta 1672)
Receiving objects: 100% (4757/4757), 1.57 MiB | 1.54 MiB/s, done.
Resolving deltas: 100% (3082/3082), done.
bash: line 298: syntax error near unexpected token `"--trace"'

Any idea what could be causing this?

1 Answer 1

4

I figured it out.

Turns out that I was running an super-old version of bash. Installing 4.2 fixed this, and RVM installed perfectly.

For the record, RVM needs bash v3.2 or better.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.