大橙子网站建设,新征程启航
为企业提供网站建设、域名注册、服务器等服务
这篇文章主要为大家展示了“workflow engine Ruote如何安装”,内容简而易懂,条理清晰,希望能够帮助大家解决疑惑,下面让小编带领大家一起研究并学习一下“workflow engine Ruote如何安装”这篇文章吧。
创新互联建站是一家专业提供高坪企业网站建设,专注与网站建设、成都网站设计、H5建站、小程序制作等业务。10年已为高坪众多企业、政府机构等服务。创新互联专业网站建设公司优惠进行中。
在安装gem安装Ruote的过程中遇到问题,改用bundle安装:
1 steven@steven-Latitude-D630:/usr$ sudo mkdir bundel 2 [sudo] password for steven: 3 Sorry, try again. 4 [sudo] password for steven: 5 steven@steven-Latitude-D630:/usr$ cd bundel/ 6 steven@steven-Latitude-D630:/usr/bundel$ vi Gemfile 7 steven@steven-Latitude-D630:/usr/bundel$ sudo vi Gemfile 8 steven@steven-Latitude-D630:/usr/bundel$ bun 9 bundle bunzip2 10 steven@steven-Latitude-D630:/usr/bundel$ bundle install 11 The source :rubygems is deprecated because HTTP requests are insecure. 12 Please change your source to 'https://rubygems.org' if possible, or 'http://rubygems.org' if not. 13 Fetching gem metadata from http://rubygems.org/......... 14 Resolving dependencies... 15 Using atomic (1.1.14) 16 Installing blankslate (2.1.2.4) 17 Installing tins (0.13.1) 18 Installing file-tail (1.0.12) 19 Installing parslet (1.4.0) 20 Installing sexp_processor (3.2.0) 21 Installing ruby_parser (2.3.1) 22 Installing ruby2ruby (1.3.1) 23 Installing rufus-json (1.0.6) 24 Installing rufus-cloche (1.0.4) 25 Installing rufus-dollar (1.0.4) 26 Installing rufus-mnemo (1.2.3) 27 Using thread_safe (0.1.3) 28 Installing tzinfo (1.1.0) 29 Installing rufus-scheduler (3.0.2) 30 Installing rufus-treechecker (1.0.8) 31 Installing sourcify (0.5.0) 32 Using ruote (2.3.1) from source at .. 33 Errno::EACCES: Permission denied - ruote-2.3.1.gem 34 An error occurred while installing ruote (2.3.1), and Bundler cannot continue. 35 Make sure that `gem install ruote -v '2.3.1'` succeeds before bundling. 36 steven@steven-Latitude-D630:/usr/bundel$ gem install ruote -v '2.3.1' 37 ERROR: Could not find a valid gem 'ruote' (= 2.3.1) in any repository 38 ^CERROR: Interrupted 39 steven@steven-Latitude-D630:/usr/bundel$ gem install ruote -v '2.3.0' 40 Fetching: ruote-2.3.0.gem (100%) 41 Successfully installed ruote-2.3.0 42 Parsing documentation for ruote-2.3.0 43 Installing ri documentation for ruote-2.3.0 44 1 gem installed 45 steven@steven-Latitude-D630:/usr/bundel$
其中在Gemfile中写的加入的内容是:
1 source :rubygems 2 3 gem 'yajl-ruby', '1.1.0', :require => 'yajl' 4 5 #gem 'ruote', '>= 2.3.0' 6 #gem 'ruote', :git => 'git://github.com/jmettraux/ruote.git' 7 gem 'ruote', :path => '..'
1 steven@ubuntu:~/ruote/quickstart$ ruby -v 2 ruby 2.0.0p247 (2013-06-27 revision 41674) [i686-linux]
1 steven@ubuntu:~/ruote/quickstart$ gem -v 2 2.1.11
以上是“workflow engine Ruote如何安装”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注创新互联行业资讯频道!