Setup Commands
gem install compass nvm install 0.10.33 nvm use 0.10.33 npm install npm install -g grunt-cli npm install -g bower bower install
Test Commands
grunt test
gem install compass nvm install 0.10.33 nvm use 0.10.33 npm install npm install -g grunt-cli npm install -g bower bower install
grunt test
Notes around creating a Rails 4.1.8 application on JRuby 1.7.16.1.
Using RVM to manage my rubies.
rvm use jruby-1.7.16.1 gem install rails rails new .
Add the following to the Gemfile.
gem 'activerecord-jdbcpostgresql-adapter'
ruby '1.9.3', :engine => 'jruby', :engine_version => '1.7.16.1'
My Gemfile as it currently stands:
source 'https://rubygems.org' ruby '1.9.3', :engine => 'jruby', :engine_version => '1.7.16.1' gem 'rails', '4.1.8' gem 'activerecord-jdbcpostgresql-adapter' gem 'sass-rails', '~> 4.0.3' gem 'uglifier', '>= 1.3.0' gem 'coffee-rails', '~> 4.0.0' gem 'therubyrhino' gem 'jquery-rails' gem 'turbolinks' gem 'jbuilder', '~> 2.0' gem 'sdoc', '~> 0.4.0', group: :doc gem 'puma'
Set up your databases environments, similar to what I have here:
default: &default adapter: jdbcpostgresql encoding: unicode development: <<: *default host: localhost database: foobar_development username: postgres password: postgres test: <<: *default host: localhost database: foobar_test username: postgres password: postgres production: <<: *default host: localhost database: foobar_production username: postgres password: postgres