Your first mistake is installing Rails. You're second mistake is attempting to do so on your development machine and not in a jail or vm.
Not sure why you'd recommend installing Rails in a VM? It's a framework, not an environment.
Installing Rails on a Mac Shouldn't Be As Hard As It Is
21–30 of 100 posts
Re: Installing Rails on a Mac Shouldn't Be As Hard As It Is
#22 user@brand-new-mac $ which rails
/usr/bin/rails
What? OSX has shipped with (some version of) Rails since Leopard. You don't need to install a compiler or compile anything to use Rails on a Mac. It comes with sqlite3, too.Re: Installing Rails on a Mac Shouldn't Be As Hard As It Is
#23$ /usr/bin/ruby -e "$(/usr/bin/curl -fksSL http://bit.ly/HyK0NG) That looks terrifying.
Re: Installing Rails on a Mac Shouldn't Be As Hard As It Is
#24I think this is partly why so many of my Mac-using colleagues have a Linux VM for doing development; every programming-type task I tried to do on my Mac was an exercise in frustration. At least there's finally a set of command-line compilers you can get without having to download XCode (it's free, once you pay $99 to become a developer! I thought I already was a developer, which is why I want compilers...) Personally…
Re: Installing Rails on a Mac Shouldn't Be As Hard As It Is
#25Your first mistake is installing Rails. You're second mistake is attempting to do so on your development machine and not in a jail or vm.
Re: Installing Rails on a Mac Shouldn't Be As Hard As It Is
#26If I'm working on my own projects tho, running ruby local on OS X is the way to go. Much less overhead.
Re: Installing Rails on a Mac Shouldn't Be As Hard As It Is
#27Earlier quoted context omitted.
If you want it to replace php (or anything), it has to be as accessible as php for the same developer. Until then, all the conversation about standards, best practices, and tutorials are far less accessible.
The purpose of Rails isn't to replace PHP.
If a technology is truly supposed to be accessible it needs to actually, be accessible instead of carrying an air of superiority, otherwise software continues to suffer.
Re: Installing Rails on a Mac Shouldn't Be As Hard As It Is
#28Why not develop against a VM running the same OS as your server?
Re: Installing Rails on a Mac Shouldn't Be As Hard As It Is
#29user@brand-new-mac $ which rails /usr/bin/rails What? OSX has shipped with (some version of) Rails since Leopard. You don't need to install a compiler or compile anything to use Rails on a Mac. It comes with sqlite3, too.
$ /usr/bin/rails
Rails is not currently installed on this system. To get the latest version, simply type:
$ sudo gem install rails
You can then rerun your "rails" command.
> The basic database program that Rails uses is SQLLite3, and you will need to install this to work with it.yet Tiger had sqlite3 already.
What's more, Ruby is installed already. One can 'gem install rails' and have the latest version landing in /Library/Ruby/Gems
Re: Installing Rails on a Mac Shouldn't Be As Hard As It Is
#30Uh, what? http://railsinstaller.org/ has a Mac version too!
It's right on their home page (if you're browsing from a Mac; it shows you the Windows version if you're browsing from Windows...)
https://github.com/downloads/railsinstaller/railsinstaller-n...