Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'rack/app'
- Rack::App::Utils.pwd('from','project','root') #> YOUR_PROJECT_ROOT_PATH/from/project/root
- 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