Activity
Got it, thanks!
Great question. It covers both Ruby 2.0+ and Rails 4.0+.
You're right, I'll switch it over to the Trusty repo. Eventually when PostgreSQL's official repo is available for trusty I'll switch it back because you're always guaranteed to get the latest version on their repo. The Ubuntu repositories tend to lag behind the official releases so I lean towards using the postgres provided ones if I can.
Anytime, glad to help! :)
Ah cool. You're safe to upgrade to p451 then. That part denotes the "patch level" which basically means they fixed some bugs inside Ruby (including some security fixes usually). It shouldn't affect you at all and I'd recommend always trying to use the latest patch level of whichever version of Ruby you use.
From what I read, it sounds like the next releases of Ruby will include patches for it and you have to do this for the time being. Pretty annoying and I hope they have a better solution in the future.
I'm curious, why do you need p247 and not the latest 2.0.0? Isn't everything fully compatible between the two?
Much cleaner, thanks!
You can run the following command if you'd like to install Ruby 2.0.0-p451 instead of 2.1.1:
curl -fsSL https://gist.github.com/LeonB/10503374/raw | rbenv install --patch 2.0.0-p451
It requires a different patch than 2.1.1 does.
That error/warning is just to make sure you know you're connecting to a computer that you've never talked to before. Glad everything is working well!
No worries! There is a application called Terminal that you want to type these commands in. Open up that and type them in there and you should be fine.
It is in the works! First we're waiting on the passenger package to get updated for 14.04. I'm going to try it with an older version, but we'll see.
Hey Eduardo, I believe that is rvm telling you that you don't have all the necessary to compile from source so it is looking for a binary instead. Double check that you installed all the packages with apt-get
and the other parts of the tutorial before that.
Okay cool, so make sure you're inside the rails application when you run that command.
Hey Rico, there should be a Rakefile automatically generated when you create your rails app. What command were you running that gave this error?
Maryam, that sounds like an internet connection problem. You might try visiting rubygems.org and making sure you don't have any trouble with that.
Just redesigned the blog, forgot to add it in. :)
It was posted about 3 months ago. I haven't kept up on Mongoid's development, but it looks like they've been working closer to 4.0.0: https://rubygems.org/gems/m...
Looks like it's pretty questionable as to eventual compatibility with Rails 4 (https://github.com/mongoid/... so these instructions should still be pretty up-to-date.
Make sure your ~/.bashrc has the export PATH lines in it for rbenv or rvm (whichever you were using).
Not a bad idea, I'll see about adding that shortly.
Posted in Setup MacOS 10.9 Mavericks Discussion
You need to change the config/database.yml username to match your database's username and password.