Chris Oliver

Joined

274,550 Experience
31 Lessons Completed
298 Questions Solved

Activity

Posted in Rails 4.0 with MongoDB and Mongoid Discussion

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.

Posted in Setup Ubuntu 13.10 Saucy Salamander Discussion

Make sure your ~/.bashrc has the export PATH lines in it for rbenv or rvm (whichever you were using).

Posted in Deploy Ubuntu 12.04 Precise Pangolin Discussion

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.

Posted in Deploy Ubuntu 12.04 Precise Pangolin Discussion

Oh shoot, thanks! I missed this when I rewrote the site. Fixed now.

Posted in Deploy Ubuntu 12.04 Precise Pangolin Discussion

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.

Posted in Deploy Ubuntu 12.04 Precise Pangolin Discussion

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.

Posted in Deploy Ubuntu 12.04 Precise Pangolin Discussion

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.

Posted in Setup Ubuntu 13.10 Saucy Salamander Discussion

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.

Posted in Setup Ubuntu 13.10 Saucy Salamander Discussion

You may want to walk through the whole rbenv installation again just to make sure it's setup right.

Posted in Setup Ubuntu 13.10 Saucy Salamander Discussion

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.

Posted in Setup Ubuntu 13.10 Saucy Salamander Discussion

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.

Posted in Setup Ubuntu 13.10 Saucy Salamander Discussion

Woah, I'm way late on this. Good hearing from you again! Where are you at these days?

Posted in Setup Ubuntu 13.10 Saucy Salamander Discussion

Sure! I'd love to hear how it goes.

Posted in Deploy Ubuntu 12.04 Precise Pangolin Discussion

Sounds like an SSH authentication problem. Take a look at the people here who also had the same problem. https://github.com/capistra...

Posted in Setup Ubuntu 13.10 Saucy Salamander Discussion

Fantastic. :) Thanks for the tip. I'll make sure to get that fixed shortly.

Posted in Deploy Ubuntu 12.04 Precise Pangolin Discussion

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.

Posted in Setup Ubuntu 13.10 Saucy Salamander Discussion

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

Posted in Deploy Ubuntu 12.04 Precise Pangolin Discussion

Did you make sure to include the rbenv or rvm gems for capistrano and configuration?

Posted in Deploy Ubuntu 12.04 Precise Pangolin Discussion

I haven't, but it seems you're not the only one https://gist.github.com/Dev...

logo Created with Sketch.

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

© 2022 GoRails, LLC. All rights reserved.