How does one install and run Thin? According to the official page, I can start it with bundle exec thin start
, but no dice. Instead I get Could not locate Gemfile
. If I restart Terminal and run gem install thin
again, it seems to install it again as if it weren't properly installed the first time.
如何安装和运行Thin?根据官方页面,我可以用bundle exec启动它,但没有骰子。相反,我得到无法找到Gemfile。如果我重新启动终端并再次运行gem install thin,它似乎再次安装它,就像它第一次没有正确安装一样。
1 个解决方案
#1
0
The guide assumes you're using it in a Ruby project. Using bundle ...
requires there to be a Gemfile in the current directory. It'll work if you cd
to a Ruby project and add gem thin
to your Gemfile.
本指南假设您在Ruby项目中使用它。使用bundle ...需要在当前目录中有一个Gemfile。如果你cd到一个Ruby项目并将gem thin添加到你的Gemfile中它会工作。
Here's some info on Gemfiles: http://bundler.io/v1.3/gemfile.html
以下是Gemfiles的一些信息:http://bundler.io/v1.3/gemfile.html
#1
0
The guide assumes you're using it in a Ruby project. Using bundle ...
requires there to be a Gemfile in the current directory. It'll work if you cd
to a Ruby project and add gem thin
to your Gemfile.
本指南假设您在Ruby项目中使用它。使用bundle ...需要在当前目录中有一个Gemfile。如果你cd到一个Ruby项目并将gem thin添加到你的Gemfile中它会工作。
Here's some info on Gemfiles: http://bundler.io/v1.3/gemfile.html
以下是Gemfiles的一些信息:http://bundler.io/v1.3/gemfile.html