Chris Oliver

Joined

290,430 Experience
86 Lessons Completed
296 Questions Solved

Activity

Posted in The Params Hash | GoRails

Already on it! :)

Posted in Deploy Ubuntu 14.04 Trusty Tahr Discussion

Make sure you open up the file using sudo before. So either "sudo vim /etc/nginx/nginx.conf" or "sudo nano /etc/nginx/nginx.conf"

Posted in Deploy Ubuntu 14.04 Trusty Tahr Discussion

Glad you got it! :)

Posted in Deploy Ubuntu 14.04 Trusty Tahr Discussion

I think this comes from your Capfile not being configured appropriately. Double check that step and make sure you've got all the correct require statements.

Posted in Using Vagrant for Rails Development Discussion

Did you install Vagrant from the rubygem before? I linked to the installer and make sure you remove the Vagrant gem.

Posted in Deploy Ubuntu 14.04 Trusty Tahr Discussion

Glad you found it!

Posted in Deploy Ubuntu 14.04 Trusty Tahr Discussion

You can check the nginx log then for errors and you should find something there. Could be syntax errors for example.

Posted in Setup MacOS 10.10 Yosemite Discussion

Looks like you're trying to install with an RVM version of Ruby. https://github.com/Homebrew...

Posted in Deploy Ubuntu 14.04 Trusty Tahr Discussion

Your deploy was successful. The failures are supposed to happen.

Make sure you point nginx to /home/deploy/sample_app/current/ and restart it.

Posted in Setup Ubuntu 14.04 Trusty Tahr Discussion

The Ruby openssl extension was not compiled. Missing the OpenSSL lib?

Did you install the OpenSSL lib with apt-get?

Posted in Setup MacOS 10.9 Mavericks Discussion

It's inside your rails app; a file in the config directory.

Posted in Setup Ubuntu 14.04 Trusty Tahr Discussion

If you used rbenv, make sure you run rbenv rehash after installing the Rails gem. That makes the gem's executables available to use. It currently isn't available, so Ubuntu is suggesting a different installation method.

Posted in Deploy Ubuntu 14.04 Trusty Tahr Discussion

Yep! For error logs, check out this file for your production logs: /home/deploy/MYAPP/current/log/production.log

Posted in Deploy Ubuntu 14.04 Trusty Tahr Discussion

Well, it's saying that you should update your config/secrets.yml to include a section for production. You can either set it up in the file and commit it, or you can remove it from git and set it up to link the file on deploy just like your database.yml

Posted in Deploy Ubuntu 14.04 Trusty Tahr Discussion

Try

passenger_ruby /usr/local/rvm/wrappers/ruby-2.1.2/ruby

but replace that version of Ruby with the one you installed in case it is different.

Posted in Deploy Ubuntu 14.04 Trusty Tahr Discussion

Dang! :\ To be fair, Heroku's simplicity is pretty darn impressive and I don't blame you.

If you ever do need to get your site running on a VPS, shoot me an email and we can do a short one-on-one gig and I can probably get you squared away.

Posted in Deploy Ubuntu 14.04 Trusty Tahr Discussion

I guess, just double check that you've got it in the right format then. Can't think of anything else that would be wrong. You're pretty close now!

Posted in User Authentication with Devise Discussion

Thanks for sharing Maxime! I've also written a post on this about without having to setup a new controller. https://gorails.com/blog/ra...

Posted in Deploy Ubuntu 14.04 Trusty Tahr Discussion

Here's an example: https://github.com/excid3/a...

Posted in Deploy Ubuntu 14.04 Trusty Tahr Discussion

Interesting, that all looks correct to me.