Earlier quoted context omitted.
You're an idiot if you're not using rvm by now.
RVM is not beginner friendly because it has dependencies, it compiles stuff on your machine and there are dozens of problems waiting to happen because of that. If wanting an easier way to install Rails for beginners makes me an idiot, then I'm proud of it ;)
Get Ruby and Rails running on Ubuntu with one command
41–50 of 54 posts
Re: Get Ruby and Rails running on Ubuntu with one command
#42Re: Get Ruby and Rails running on Ubuntu with one command
#43Here is a script that I wrote and have been using, should work on most Linux's and OSX to bootstrap a Rails Development environment. Also ensures that git is installed. You can run it with one command (after reading it's contents of course) as follows: curl -O https://github.com/wayneeseguin/rvm/blob/master/contrib/boot... && source bootstrap_rails_environment This automates installing the prerequisites across many L…
-Why Ruby 1.8.7 and not 1.9.2?
-I've installed 1.8.7, 1.9.2 & 1.9.2-head via RVM without having libyaml-dev or libffi-dev installed (I see they're listed in `rvm notes`). Any idea what's up here?
Thanks!
Re: Get Ruby and Rails running on Ubuntu with one command
#44Re: Get Ruby and Rails running on Ubuntu with one command
#45Nice! It'd be nicer if it used RVM, though. Might try rolling my own. If anyone else wants to try, or is otherwise interested, I wrote a step-by-step guide to getting Rails on Ubuntu with RVM: http://news.ycombinator.com/item?id=2113525
Re: Get Ruby and Rails running on Ubuntu with one command
#46Earlier quoted context omitted.
It's a bitch rubygems are so fucked up on Debian/Ubuntu and that Ruby 1.9.2 is still not in Ubuntu's repo. Otherwise that line would be: sudo aptitude install ruby1.9.2-full && sudo gem install rails
That's what rvm is for. Leave the system Ruby alone and install your own, even multiple versions. I have ruby 1.8.7 with rails 2.3.5 and 1.9.2 with 3.0.3, easily switch between them for testing. http://rvm.beginrescueend.com/
Re: Get Ruby and Rails running on Ubuntu with one command
#47This strikes me as no easier than rvm, but less clean (installations go to /usr/local, no easy way to switch between various ruby interpreters or gemsets, harder to uninstall, etc.). Why not just do this? 1) Update whatever requirements you need via APT tool of choice. 2) Install rvm 3) Install ruby-1.9 using rvm 4) gem install rails 5) Write great rails app.
Re: Get Ruby and Rails running on Ubuntu with one command
#48Earlier quoted context omitted.
I posted the following guide the other day: http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you Sadly it languished with no upvotes. :( I found it extremely useful, however!
I'm glad you found it useful, but yes it was already posted back in December.
Re: Get Ruby and Rails running on Ubuntu with one command
#49Here is a script that I wrote and have been using, should work on most Linux's and OSX to bootstrap a Rails Development environment. Also ensures that git is installed. You can run it with one command (after reading it's contents of course) as follows: curl -O https://github.com/wayneeseguin/rvm/blob/master/contrib/boot... && source bootstrap_rails_environment This automates installing the prerequisites across many L…
A few questions: -Why Ruby 1.8.7 and not 1.9.2? -I've installed 1.8.7, 1.9.2 & 1.9.2-head via RVM without having libyaml-dev or libffi-dev installed (I see they're listed in `rvm notes`). Any idea what's up here? Thanks!
Re: Get Ruby and Rails running on Ubuntu with one command
#50Couldn't you just do: wget https://github.com/joshfng/railsready/raw/master/railsready.... && bash ./railsready.sh Besides the "1" command is really 4. If you are setting up enough VM's that you need this you should have something like puppet installed and don't need this. If you are setting up one machine then do it by hand. Know the tools you have installed and keep track of them it will make deployment easier.
wget -qO- https://github.com/joshfng/railsready/raw/master/railsready.sh | /bin/bash