Activity
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.
Make sure you've got those javascript files loading in the asset pipeline. Development and production can be different because of how it compiles your javascript assets.
Thanks Rich! Did you have to install the python-software-properties or software-properties-common package(s)? Also which version of ubuntu were you on? I'm surprised it didn't come with Ubuntu 13.10
Did you make sure to include the rbenv or rvm gems for capistrano and configuration?
I haven't, but it seems you're not the only one https://gist.github.com/Dev...
It's located inside your Rails application. It will be generated when you run the "rails new" command.
For that to work, you need to put your ~/.ssh/id_rsa.pub key into Github.
Ideally you want to do this as your regular user. If you're root, you can do this instead:
su postgres
createuser aaa -s
Are you a regular user or root when you ran this? I found this when googling it http://www.postgresql.org/m...
Fantastic. I'll update the post.
Yes, I think it used to ask before if you wanted to create a superuser but when I tried it again it didn't. Updated the instructions to include "-s". Thanks!
Try using "postgresql-9.3" instead of 9.2. It's been a little while that 9.3 has been out so the repository may have removed support for the older version. If that works, let me know and I'll make sure to update the tutorial. I'll try to get time to run through the tutorial again on my own to verify anything else that's broken. Thanks! :)