railsinstaller / railsinstaller-nix

RailsInstaller for OSX/Linux
http://railsinstaller.org/
65 stars 12 forks source link

OSX Mountain Lion Bad : modifier in $ (/) #12

Closed gstoss closed 11 years ago

gstoss commented 11 years ago

I'm having trouble with the post-install step:

Error running sudo su spacewx -c 'bash -c "PATH=\"$PATH:/opt/sm/pkg/active/bin\" git config -- global user.name \"Greg Space\"" : Bad : modifier in $ (/).

What am I doing wrong? I have a previous version of ruby and rails installed on my Mac but no .rvm to blow away as some have suggested. I see no other hiccups during the install process.

emachnic commented 11 years ago

Hi @gstoss,

Can you give us any steps to reproduce this issue? What version of OSX are you running?

Thanks.

goodburga commented 11 years ago

Having the same issue here - I'm a newbie, but the installer makes it all the way through and then throws this error at the last second.

Any help would be appreicated.

emachnic commented 11 years ago

@goodburga

Can you please give us any steps to reproduce it? What version of OSX are you running?

Thanks!

goodburga commented 11 years ago

@emachnic

I basically downloaded the installer, ran the installer (put in full name and email for git) and then it completes all the way through the end of the progress bar, a dialogue box pops up with another progress bar, and then the error appears. I am running 10.8.2 on a new 2.3 Intel core i7.

Thanks for the help.

goodburga commented 11 years ago

Any luck solving this one?

mpapis commented 11 years ago

by any chance did you link bash to zsh? what version of bash is user spacewx using:

sudo su spacewx -c 'bash --version'
goodburga commented 11 years ago

For me the version is GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin12) Copyright (C) 2007 Free Software Foundation, Inc.

mpapis commented 11 years ago

this should fix it - but you will have to wait a bit to get it fixes, does it stop your deploy or just prints the message?

goodburga commented 11 years ago

I am just getting started with Rails so it doesn't stop a deploy, just stops me from installing right away I guess :)

mpapis commented 11 years ago

if it is just a message and the process continues - just ignore it.

if it fails at the warning use "poors man railsinstaller":

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

Although it requires "Command Line Tools for Xcode" from Apple installed before to success.

goodburga commented 11 years ago

Ok cool - thanks for all your help - and for Rails Installer!