Advertisement
Guest User

Untitled

a guest
Jul 26th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. require 'rack/app'
  2.  
  3. Rack::App::Utils.pwd('from','project','root') #> YOUR_PROJECT_ROOT_PATH/from/project/root
  4. Rack::App::Utils.pwd('spec', 'fixtures', 'raw.txt') #> YOUR_PROJECT_ROOT_PATH/spec/fixtures/raw.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement