This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
skim (0.9.0) | |
coffee-script | |
coffee-script-source (>= 1.2.0) | |
slim (~> 2.0.0) | |
sprockets | |
slim (2.0.0) | |
temple (~> 0.6.5) | |
tilt (~> 1.3, >= 1.3.3) | |
slim-rails (2.0.1) | |
actionpack (>= 3.0, < 4.1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
apt-get -y update | |
apt-get -y install build-essential zlib1g zlib1g-dev libssl-dev libreadline-gplv2-dev libyaml-dev libmysqlclient-dev libcurl4-openssl-dev libxslt-dev libxml2-dev | |
cd /tmp | |
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.tar.gz | |
tar -xvzf ruby-1.9.3-p327.tar.gz | |
cd ruby-1.9.3-p327/ | |
./configure --prefix=/usr/local | |
make | |
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Guys, i'm having a problem similar with those reported with rails 3.0.4 and sessions with ajax requests. | |
The problem is that i have an action that receives an ajax POST and sets an session. | |
def test | |
session[:user] = me | |
end | |
but the session vanishes and don't become available in the next request. | |
The routes are OK, and anything else are working fine. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
l = log --graph --pretty=format:'%Cred%h%Creset:%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)[%an]%Creset' --abbrev-commit --date=relative |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
apt-get -y update | |
apt-get -y install build-essential zlib1g zlib1g-dev libssl-dev libreadline-gplv2-dev libyaml-dev libmysqlclient-dev libcurl4-openssl-dev libxslt-dev libxml2-dev | |
cd /tmp | |
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz | |
tar -xvzf ruby-1.9.3-p194.tar.gz | |
cd ruby-1.9.3-p194/ | |
./configure --prefix=/usr/local | |
make | |
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
apt-get -y update | |
apt-get -y install build-essential zlib1g zlib1g-dev libssl-dev libreadline-gplv2-dev libyaml-dev libmysqlclient-dev libcurl4-openssl-dev libxslt-dev libxml2-dev | |
cd /tmp | |
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz | |
tar -xvzf ruby-1.9.3-p194.tar.gz | |
cd ruby-1.9.3-p194/ | |
./configure --prefix=/usr/local | |
make | |
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"recipes": [ | |
"users::sysadmins", | |
"sudo", | |
"ufw", | |
"git", | |
"rbenv::system", | |
"nginx::source", | |
"mongodb", | |
"imagemagick" | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Chef::Exceptions::PrivateKeyMissing: users_manage[sysadmin] (users::sysadmins line 23) had an error: Chef::Exceptions::PrivateKeyMissing: I cannot read /etc/chef/client.pem, which you told me to use to sign requests! | |
/usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/rest/auth_credentials.rb:62:in `rescue in load_signing_key' | |
/usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/rest/auth_credentials.rb:58:in `load_signing_key' | |
/usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/rest/auth_credentials.rb:33:in `initialize' | |
/usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/rest.rb:47:in `new' | |
/usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/rest.rb:47:in `initialize' | |
/usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/search/query.rb:34:in `new' | |
/usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/search/query.rb:34:in `initialize' | |
/usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/mixin/language.rb:133:in `new' | |
/usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Generated at 2012-04-08 18:05:27 +0000 | |
Chef::Exceptions::CannotDetermineNodeName: Unable to determine node name: configure node_name or configure the system's hostname and fqdn | |
/usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/client.rb:217:in `node_name' | |
/usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/client.rb:229:in `build_node' | |
/usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/client.rb:151:in `run' | |
/usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/application/solo.rb:192:in `block in run_application' | |
/usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/application/solo.rb:183:in `loop' | |
/usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/application/solo.rb:183:in `run_application' | |
/usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/application.rb:67:in `run' | |
/usr/local/lib/ruby/gems/1.9.1/gems/chef-0.10.8/bin/chef-solo:25:in `<top (required)>' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
apt-get -y update | |
apt-get -y install build-essential zlib1g zlib1g-dev libssl-dev libreadline-gplv2-dev libyaml-dev libmysqlclient-dev libcurl4-openssl-dev libxslt-dev libxml2-dev | |
cd /tmp | |
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz | |
tar -xvzf ruby-1.9.3-p125.tar.gz | |
cd ruby-1.9.3-p125/ | |
./configure --prefix=/usr/local | |
make | |
make install |