sudo pacman-mirrors -f5 # to update mirror list sudo pacman -Syyu # system upgrade Or oneliner sudo pacman-mirrors -f5 && sudo...
To install nginx with txid module install nginx-full package: sudo apt-get install nginx-full download last nginx source...
This tutorial is about setting up environment for RubyOnRails on Ubuntu 14.04. First of all, update & upgrade your system:
Suppose we have some model and we want to localize it, first of all we need to now i18n_key...
All examples here for deploy RoR application with unicorn, staging machine (where we deploys) available via ssh by ssh_key...
Install capistrano: add to Gemfile group :development do gem 'capistrano' gem 'rvm-capistrano' end Then cd to project root folder...
Assume your database.yml file looks like this: {: .yaml} development: adapter: postgresql host: localhost encoding: unicode database: proj_development
Add repository and install Postgresql: ^ sudo sh -c "echo 'deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main' > /etc/apt/sources.list.d/pgdg.list" ^ wget --quiet -O...
Check conditions example: Run target from another target:
class CreateFakes < ActiveRecord::Migration def change create_table :fakes do |t| t.decimal :float_value, :precision => 4, :scale => 3 end
Add in Gemfile: group :development, :test do gem 'rspec-rails' gem 'spork-rails' end group :test do gem 'capybara'
For that purpose, just use these command: bundle install --without production
If some of your scripts don't work with turbolinks, you should do the following: ready = -> #your code here
No results found in other decks.