Skip to content

Instantly share code, notes, and snippets.

View arleyhr's full-sized avatar
💭
:v

Arley HR arleyhr

💭
:v
View GitHub Profile
@arleyhr
arleyhr / 1 Gist conventions
Last active February 21, 2017 16:52 — forked from PavloBezpalov/1 Gist conventions
Deploy Rails 5.0.* to VPS(Ubuntu 14.04.4 LTS). Nginx, Puma, Capistrano3, PostgreSQL, RVM.
<<APP>> change this variables
@arleyhr
arleyhr / setup.md
Last active July 7, 2016 16:20 — forked from oelmekki/doc.md
Rails + Browserify + React + es7

1. Gemfile

gem 'browserify-rails', '1.5.0' # until fix: https://github.com/browserify-rails/browserify-rails/issues/101
gem 'react-rails'

Browserify-rails allows to use browserify within assets pipeline. React-rails is here only to allow to use #react_component (and thus, prerendering).

Note that jquery-rails can be removed from Gemfile, the npm version of jquery and jquery-ujs will be used instead.