Activity
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.
Oh shoot, thanks! I missed this when I rewrote the site. Fixed now.
Make sure you ran all the commands just before that one. It's especially important to do the sudo apt-get update after you have added the repository so that it refreshes and sees passenger as available.
If it doesn't say it is available, make sure you ran all the commands just before it, especially: sudo apt-get update which refreshes the available packages.
Pretty simple, all you need to do is to deploy multiple apps with Capistrano and setup multiple nginx server blocks. You'll be able to simply upload the new apps and everything will be already setup so long as you tell nginx to respond to those on the correct domains.
Make sure the rails server command is still running. The command will say it is listening on http://0.0.0.0:3000 which means it's running successfully.
You may want to walk through the whole rbenv installation again just to make sure it's setup right.
If you're getting rbenv not found, then go back and run the echo lines to make sure that rbenv is added to your user's bashrc. That's what makes rbenv and all the rubies you install available to that user.
You're welcome! Make sure you run the wget command exactly as it is written. Missing a "- " can cause it to fail. If you need to, download the file yourself, and run
sudo apt-key add ACCC4CF8.asc
where ever you download it to.
Woah, I'm way late on this. Good hearing from you again! Where are you at these days?
Sure! I'd love to hear how it goes.
Sounds like an SSH authentication problem. Take a look at the people here who also had the same problem. https://github.com/capistra...
Fantastic. :) Thanks for the tip. I'll make sure to get that fixed shortly.