Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

Minmum jruby grape project ( can be used for technical tests )

Notifications You must be signed in to change notification settings

Colisweb/minimum-jruby-grape-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installer Jruby / RVM

  1. Install AdoptOpenJDK11 ( if you don't already have a compatible java version on your machine )

    brew tap AdoptOpenJDK/openjdk && brew cask install adoptopenjdk11

  2. Install RVM

    gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB && \curl -sSL https://get.rvm.io | bash -s stable --auto-dotfiles

  3. Install JRuby

    rvm install jruby-9.2.7.0 (or newest version. See Gemfile to see which version to install)

    Sur OSX, si problème de certificats SSL (symptômes : url shortener de google ne fonctionnant pas), réinstaller ruby en forçant sa compilation (flag --disable-binary) see : rvm/rvm#3923

  4. Use your jruby version with RVM

    rvm use jruby-9.2.7.0 (or newest version. See Gemfile to see which version to install)

  5. Prepare your bundle setup

JARS_LOCK=skip gem update --system
JARS_LOCK=skip gem install bundler jar-dependencies ruby-maven # install the `lock_jars` command
JARS_LOCK=skip bundle # install Ruby dependencies. See `Gemfile`
  1. Make sure that rspec tests pass and rails s works fine.

DB initialization

Make sure to run rake db:create db:migrate once if you have to use the database.

About

Minmum jruby grape project ( can be used for technical tests )

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published