GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Since XCode installs into Applications on Lion, railsready doesn't recognize it and stops the install. Any suggestions?
Yeah the script is currently checking for a plist that has moved in the latest version of XCode. I'm working on a better way to test that XCode is installed on the system.
Curious to see the solution. Seems that Ruby doesn't play well with Lion overall since it compiles with LLVM by default instead of GCC (bundled with XCode).
Give it a shot now.
That did it, but I've already had gcc installed via https://github.com/kennethreitz/osx-gcc-installer
That's fine. Building ruby doesn't require xcode, just gcc. I was checking for XCode originally because 99% of the time that's how gcc was installed. Glad it's working now.
Ah, not so fast :(
=> Setting up RVM to load with new shells...
railsready.sh: line 135: /Users/michalkopanski/.bash_profile: Permission denied
Can you give me the log output located in railsready/install.log
Ah, I know what it is. One sec I'll have another fix pushed.
Amazing :) I've been trying to set this up on Lion for the past 48 hours. What makes it worse is that I'm a RVM, Git, Ruby noob.
Alright, should be good now. I'm testing for the file before trying to insert the rvm function. Delete the railsready directory and railsready.sh and try again.
The osx flavor needed some tweaking so I'm glad you're able to be my tester :)
Hey, whatever ends this nightmare. I'll be your tester, as long as you help me set this up! :)
No joy. Same output as before. http://pastie.org/private/jgz9nkdzkxnldrxj9qqabw
Hmm sounds like you may have some file permission issues then. Your user should be able to write to it's own .bash_profile file.
Do a "ls -asl ~/.bash_profile" and send me the output please.
Too late, I removed it and ran it again. I couldn't even edit .bash_profile, so it was deff a permissions issue on my end.
It's past loading the RVM. So far so good. Completed! Thanks so much man. Be on the lookout for those .bash_profile issues. Great script for a beginner like me!
Also, you might want to let Lion users know that they'll need gcc and installing XCode won't help.
Should be good now. The XCode test failing was my fault, the file permission issue was yours :) Thanks for helping me get some much needed fixes in.
No, thank you!