下载ruby   https://rubyinstaller.org/downloads/ 

            ruby第一次实践    ”hello world“ 

创建 ruby-version 写自己的版本

            ruby第一次实践    ”hello world“ 

写Gemfile  

               source: http://ruby.taobao.org/

               source: https://rubygems.org/

gem install  grape

成功之后   多了一个 frontier  

新建文件

                 ruby第一次实践    ”hello world“

                ruby第一次实践    ”hello world“

                ruby第一次实践    ”hello world“

 

最后的文件如下: 

  ruby第一次实践    ”hello world“

 访问  http://localhost:9292/  就可以得到 hello world

 好神奇!!!!

   

 

 

后续: 安装中如果提示要装dev-kit  先下载再解压 可以参考http://www.bubuko.com/infodetail-822590.html

ruby第一次实践    ”hello world“

 

相关文章:

  • 2021-06-23
  • 2021-09-20
  • 2021-09-16
  • 2021-10-02
  • 2021-06-24
  • 2021-09-15
  • 2021-07-01
  • 2022-12-23
猜你喜欢
  • 2021-11-02
  • 2022-12-23
  • 2022-01-22
  • 2022-12-23
  • 2022-01-26
  • 2022-12-23
  • 2021-06-29
相关资源
相似解决方案