Activity
Posted in Ruby Version Managers Discussion
Yes! I haven't chruby, but hear it's great. Thanks for including the link to that. I'm going to give it a shot soon on a setup and see how it goes.
Sounds like you might have a foreign character somewhere in there that isn't US-ASCII. Are you using UTF8 characters anywhere?
1. Make sure font-awesome is included in your application.css
2. If you put the font-awesome icon on the page outside of the button, does it show up by itself?
I just fixed the example code in the notes. It was getting automatically removed on accident.
Posted in Sending emails with Mandrill Discussion
Hey Angelo! I believe the mandrill-rails
gem only supports Mandrill's inbound email webhooks.
The primary goal of Mandrill::Rails is to make supporting Mandrill web hooks as easy and Rails-native as possible.
The mandrill-api
gem should be for accessing their REST API which you can find here: https://mandrillapp.com/api...
Posted in The Params Hash | GoRails
Definitely an episode on strong_params in the works. This is a great one to go in depth on.
Posted in The Params Hash | GoRails
Already on it! :)
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"
Glad you got it! :)
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.
Did you install Vagrant from the rubygem before? I linked to the installer and make sure you remove the Vagrant gem.
Glad you found it!
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...
Your deploy was successful. The failures are supposed to happen.
Make sure you point nginx to /home/deploy/sample_app/current/ and restart it.
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.
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.
Yep! For error logs, check out this file for your production logs: /home/deploy/MYAPP/current/log/production.log
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