Created
July 27, 2018 13:37
-
-
Save allomov/4389c642e40911140e960d89c37d1ff9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
allomov:~/Downloads/onliner_analyzer → touch .ruby-version | |
allomov:~/Downloads/onliner_analyzer → touch .ruby-gemset | |
allomov:~/Downloads/onliner_analyzer → subl . | |
allomov:~/Downloads/onliner_analyzer → rvm list | |
rvm rubies | |
jruby-9.1.13.0 [ x86_64 ] | |
ruby-2.1.5 [ x86_64 ] | |
ruby-2.3.0 [ x86_64 ] | |
ruby-2.3.1 [ x86_64 ] | |
=* ruby-2.4.0 [ x86_64 ] | |
ruby-2.4.1 [ x86_64 ] | |
ruby-2.4.2 [ x86_64 ] | |
# => - current | |
# =* - current && default | |
# * - default | |
allomov:~/Downloads/onliner_analyzer → cd . | |
ruby-2.4.2 - #gemset created /Users/allomov/.rvm/gems/ruby-2.4.2@temp | |
ruby-2.4.2 - #generating temp wrappers.......... | |
allomov:~/Downloads/onliner_analyzer → bi | |
bash: bundle: command not found | |
allomov:~/Downloads/onliner_analyzer → gem install bundler | |
Fetching: bundler-1.16.3.gem (100%) | |
Successfully installed bundler-1.16.3 | |
1 gem installed | |
allomov:~/Downloads/onliner_analyzer → bi | |
Fetching gem metadata from https://rubygems.org/......... | |
Using bundler 1.16.3 | |
Fetching mustermann 1.0.2 | |
Installing mustermann 1.0.2 | |
Fetching rack 2.0.5 | |
Installing rack 2.0.5 | |
Fetching rack-protection 2.0.3 | |
Installing rack-protection 2.0.3 | |
Fetching shotgun 0.9.2 | |
Installing shotgun 0.9.2 | |
Fetching tilt 2.0.8 | |
Installing tilt 2.0.8 | |
Fetching sinatra 2.0.3 | |
Installing sinatra 2.0.3 | |
Bundle complete! 2 Gemfile dependencies, 7 gems now installed. | |
Use `bundle info [gemname]` to see where a bundled gem is installed. | |
allomov:~/Downloads/onliner_analyzer → bundle exec ruby config.ru | |
config.ru:6:in `<main>': undefined method `map' for main:Object (NoMethodError) | |
Did you mean? tap | |
allomov:~/Downloads/onliner_analyzer → bundle exec rackup config.ru | |
[2018-07-27 16:35:47] INFO WEBrick 1.3.1 | |
[2018-07-27 16:35:47] INFO ruby 2.4.2 (2017-09-14) [x86_64-darwin16] | |
[2018-07-27 16:35:47] INFO WEBrick::HTTPServer#start: pid=25857 port=9292 | |
::1 - - [27/Jul/2018:16:36:10 +0300] "GET / HTTP/1.1" 404 527 0.0139 | |
::1 - - [27/Jul/2018:16:36:10 +0300] "GET /__sinatra__/404.png HTTP/1.1" 200 18893 0.0051 | |
::1 - - [27/Jul/2018:16:36:11 +0300] "GET /favicon.ico HTTP/1.1" 404 538 0.0010 | |
^C[2018-07-27 16:36:14] INFO going to shutdown ... | |
[2018-07-27 16:36:14] INFO WEBrick::HTTPServer#start done. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment