ruby 制作自己的gem包
- 在ruby工程目录下新建一个文件:crowdSystem.gemspec。需要在lib目录下存在同一名称的ruby库文件:crowdSystem.rb
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcAAAAF2CAIAAAB21N9MAAATwUlEQVR4nO3dQZarRhIFUJbmpfXSNPSwB70f98B2HRWZGUQGSAJ07/kDKkkiA2Se0S9V/eV///3zr7/++t9///zff//8z3/+88cffyxn9Xg8Ho/Hp7u4v+R1fp72zS+N6/Bm57rI5w/Qx5NP93Jnhevspfmb6/AGJ73I5w9QgJPKBOjUI0nt2HP9X+UI8Rnd73zhGyWfQMs5eMsAfQys5sQVXtkg8BYvCtB2I3ngtQRtP+8aBW6Qv8AFtAGavNvjZ644QG8TKG2T8YkHBwLXEzyBjm7yzPhsIBYCZTPNuyPt/NH2bAOrExGgcH9HBWg3RIIiwbTZCBttr9Lw7+2fwUMCtN0eBWgb3938Ba4k/jvQ9sYOUnU2QJdE7sS62RcHYjySz7K2yGgjczhwSYcE6PMz3ShZYrVAEaDAJ21+F37zcTKOjG4E58XNdyfXAjS/6NL8r6J7iVY9HHK+wLnkP0ifibNlKy/iY2d1a8aLxiOZFGvjMg7Q7uGyEu7gwM+BdufkDyxkShCgown7A7Rdrvvl5tUYbQOXcfgTaGawVr974IUCtLt0dyZwDfv/DjTeOxW7U1HyeNKOt9ujQ/YEaDA5mZXSEy7sqI8xjXbNZu6FAiV5aquAbo8tPPYCpzAK0OCuHu2aCtBC/VPZ/B9JcDVGu85/1sAvo5+F3zyw+965O23zwGT989hs7NL/bwCyjv1tTOX5r6jwumoAy5L+WfjRdiB+k9sVHz46KvPkK0CB4yW/idRurATpFiRdHLLJyZlxAQocL/4m0iFRGAjqCFDg7I76N5FWabUZuO20VZ39ATo7J9nhzvHZRTdLxdc5vy4w7RUBmtz16D0hxgE6kp85G2Ttl3vGC0tPbY96AF6iG6CZAFrdme2N+nNLd9cdHd5u7DfqbfOoVUKNAnF2fGrp5elKjsKxu51cC6g78B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AHd3Dm/d/28BUFoxmbvYTHJVfdFVtND67RK3+7EV7jP8bCC4RlydAC7o3xs47sPtlZnu2ztRJxUvExZNX4Dl9libX2vH31M+/fG3N/EvG5QnQgvYm7G4nTyq4dafuxmSdfCer8dFJxUclF20v6Wh8qvgb6i+/X+7RZZ8qyGUI0ILujTG6M6eqjYoH27N18p3U1t0c704bXc/9YVSoX1siHp8qyGUI0IL4xl7dmVPVguKb9fN1kp0k62TiI7/oz5eZ8cwSs/Xjyt2Ln7kCyavBxQjQWatbaCpTRqW6NYMi3bt9dVQtaILTGZWN+59dOjivWvFj68dF2pndQ7gPAXq41R3V3pC126m9yfe3t6efs637qfPiqwnQC5ELcC4CFKBIgAIUCVCAIgEKUPN/vR20uC87u14AAAAASUVORK5CYII=" alt="" />
- crowdSystem.gemspec文件。写入以下内容
Gem::Specification.new do |s|
s.name = 'crowdSystem'
s.version = '1.0.0'
s.date = '2016-09-18'
s.summary = "crowdSystem!"
s.description = "crowdSys automated test application"
s.authors = ["shench"]
s.email = 'xxxxxxx@xxxnets.com'
s.files = ["lib/crowdSystem.rb", "lib/crowdSysAction.rb","lib/crowdSysENV.rb","rake/Rakefile","rake/startTest.ini","rake/startTest.rb","testcase/testCase_checkList.txt"]
s.homepage = 'http://172.17.2.44:9527/welcome/index'
s.license = 'MIT'
end
其中name+version为安装gem包后的主目录名:crowdSystem-1.0.0
- 构建gem包。在工程目录下执行gem build crowdSystem.gemspec,将会在当前目录下生成gem包:crowdSystem-1.0.0.gemaaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoIAAABmCAIAAADQ2Gf/AAAI0ElEQVR4nO3dQXbjOA4AUB+tjlZH87KXvegDzaJnMiqTACFKMuXk/5VDkSDAxEL5JXY9/vn7r3/+/uv379+/fv169jx2+nfJ19qXIN3I0XYvg3k+2+3araPxdpdiSgfHo33zuvLk99b1sjBJMs8QgHnbNrw6FwD4YbRhAFhGGwaAZbRhAFhGGwaAZbRhAFhGGwaAZU5/3/CJ7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MAMsc/xSt4VtmoyVH0l4resvyp9RVT3Lv+5u9Hxpgn1M+Rat9HI3k4x8kKvx4aVefTD3D7j81TpwPwJlt+FFuIbtu0Pd8aXVRG7600r2vU9u66m34nt81gNs599Xwy3h0I27Hk/kTnaP9x8HXSHSpHYxqbJck6UXT8jzzS5X5iYmZxS32zn/E35oT6wW4tRP/a4f2thjdK7u313xJPZl8i/y+X1mbzMlPoB6nWNc2YLfGrXyLrij+6fP3Pi7GB/gAF70abq8m40nPmE6me+nZa1fdQrq3+2h+kkCluwxLiM4nyjNXP+GXHYcL5+ZHj8+qF+DWzv3dcPHqy3glyMEG072Ut4FHuQ1Hj/NLxZGkrrm2VO9eLyc/XDg3P3/cnb+rXoBbu1sbjjrT3gaTbLFrfqVVFPOvzJ/bt12SiKa151z58sj8x5+Hc1G9ALd21vuGk0vtnTQfny8miFPMsx1/pL1kV/4TKRXrir6McshLTva9Yn5ey8F6AT6AT9F6Aw2ja3ssjgj4obTh60SvC/niiICfThsGgGW0YQBYRhsGgGW0YQBYRhsGgGW0YQBYRhsGgGW0YQBYRhsGgGW0YQBYRhsGgGW0YQBYRhsGgGW0YQBYRhsGgGW0YQBYRhsGgGW0YQBYRhsGgFX+A/lZgyJvShfoAAAAAElFTkSuQmCC" alt="" />
- 安装gem包。在gem包所在目录执行gem installcrowdSystem-1.0.0.gem
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoAAAAByCAIAAABMavdPAAANKElEQVR4nO2dS3LkuA5FtbRaWi1NwzfsQS+oB/UqgxaBS4AfUbLPGVRISBC4gCTCGZVOH//+87/fv3//+vXrOI7zPM/zPP5yOb68WvNxqA/EcX1q2kX2s0Av9PIG/ZuWkbxeXR06dfxIUZGXAABgiM8APi2y0cTAOKxJ6RlLe3kayevNKi3JTL3I7uXVdWnx2bouC4VIrRAAADop3wEDAADATTCAAQAANsAABgAA2AADGAAAYAMMYAAAgA0wgAEAADbAAAYAANjA3N8DnsgTNJQ8qjkjxMXvLfP+7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/eyPAaDf8v64/qncpc8xv4tndr4rdO6+rX7seyzxpn9SAO9leX9cfDpvp1Vev5ETbZ+4zCQUV/9KdGO5pXUAOOcZ/3/8j+fxufy+xl8WVllwutMtVpye+KZ/WADvIvv+6kv81ZW7CfmjPzqULDVOiybfa53i/G25St3rYLwP+W05MeGWmUmr9dUAWJX9fqdL4VcsbN8mkTYWLq6TrD9GyIl1Ttfdlav0WZTPX1qtPnl7IdGJqxcCQF24P46ey0nYRM/rw0VWB7eHprm4tZs8HT+8tKilsYH6OpHDS77LUtOZ08s5XR2AunB/HD2Xk7CpBFgybXXyUmYshWt+4vSUZJ0TMXavOKyfcv0jOvFEdQDqJj9fPc2YL0nYPPN1pb0n1J3eq2j+tOFIpejuaH438vlLbwG4u/D3H1+Ch/LWpZBDlUWS+ZV1dpd0Yp0T/Uen5y1dVkSLJ5c2bb4yfzxl2gYAD+L7uQCgn++vBoB+9scA0M/+GAD62R8DQD/7YwDoZ38MAP3sjwGgn/0xAPSzPwaAfvbHANDP/hgA+tkfA0A/+2MA6Gd/DAD97I8BoN/n5+d/9hC6Hka0ufgAAAAASUVORK5CYII=" alt="" />
参考文档:http://guides.rubygems.org/make-your-own-gem/
ruby 制作自己的gem包的更多相关文章
- 如何创建自己的ruby gem包
编写一个最简单的例子 1. 建好如下文件夹 注意:lib目录下必须有个和你gem名字一样的rb文件. $ cd hola $ tree . ├── hola.gemspec └── lib └── h ...
- npm包与gem包--在线&离线安装
目录 NPM 在线 离线 GEM 在线 离线 NPM NPM,即为Node的包管理工具,官网为 https://www.npmjs.com/,我们可以在站内搜索所需要的NPM包,了解相关的使用规则 安 ...
- Ruby - 创建自己的GEM
Log 1 创建自己的gem 背景:好奇gem包的用法,首先搞清楚什么是gem包.那我们就先来创建一个自己的gem包. 时间:2014-3-8 环境:Ubuntu + Ruby 1.9.3 记录:Ro ...
- Wix打包系列 (六)制作升级和补丁包
原文:Wix打包系列 (六)制作升级和补丁包 前面我们已经知道怎么制作一个完整安装包了,但我们的软件往往不能一次性就满足客户的需要,当客户需要我们给软件进行升级的时候,我们应该怎么做呢? 在这之前,我 ...
- 如何制作微信动态表情包 GIF制作工具哪个好
表情包已经成为我们生活聊天中必不可少的一部分,但是如何制作微信动态表情包呢?自己制作的表情包更加独有个性,今天小编带大家看一波原创表情包的制作方法吧! 使用工具:电脑 操作方法: 1.首先在手机上也是 ...
- 二十三.Subversion基本操作、使用Subversion协同工作、制作nginx的RPM包
1.Subversion基本操作 web1 1.1 安装Subversion服务器 ]# yum -y install subversion 1.1.1 创建版本库 ]# mkdir /var/svn ...
- C# 批处理制作静默安装程序包
使用批处理+WinRAR制作静默安装程序包 @echo 安装完窗口会自动关闭!!! @echo off start /wait Lync.exe /Install /Silent start /wai ...
- 如何制作自己的R包
如何制作自己的R包? 摘自 方匡南 等编著<R数据分析-方法与案例详解>.电子工业出版社 R包简介 R包提供了一个加载所需代码.数据和文件的集合.R软件自身就包含大约30种不同功能的包,这 ...
- 高级运维(七):Subversion基本操作、使用Subversion协同工作、制作nginx的RPM包
一.Subversion基本操作 目标: 本案例要求先快速搭建好一台Subversion服务器,并测试该版本控制软件: 1> 创建版本库 2> 导入初始化数据 3> 检出 ...
随机推荐
- httpd2.4.6三种工作模式(如何配置),防止占用内存暴增的策略
之前偷懒默认用yum安装了httpd.后来发现服务器内存暴增,一度达到75% 打开一看,好嘛后台休眠进程全是httpd. 重启之后再度访问发现内存还是稳步增长. [root@iz2ze3ayxs2yp ...
- python_70_内置函数2
#hex() 转16进制 oct()转8进制 print(hex(255)) print(oct(10)) #id() 返回内存地址 print(id('a')) ''' isinstance(obj ...
- 如何在python中读写和存储matlab的数据文件(*.mat)
使用sicpy.io即可.sicpy.io提供了两个函数loadmat和savemat,非常方便. 以前也有一些开源的库(pymat和pymat2等)来做这个事, 不过自从有了numpy和scipy以 ...
- oracle安装报错[INS-30131]执行安装程序验证所需的初始设置失败(无法访问临时位置)解决方法!
最近在电脑上安装oracle12c,安装时,在执行检查环境步骤时候报错: [INS-30131]执行安装程序验证所需的初始设置失败(无法访问临时位置) 最后在网上搜索解决方法,特记录下,以防以后再用到 ...
- 在主机端和设备端进行”incrementArray“并对结果进行比较
实验思想: 在主机端将数据初始化后传输到设备端,设备端和主机端进行同样的操作对数据加1,然后将设备端的结果传输到主机,最后核对主机端的计算结果和设备端的计算结果是否一直. // incrementAr ...
- HTTP-点开浏览器输入网址背后发生的那点事
前言 Internet最早来源于美国国防部ARPANet,1969年投入运行,到现在已有很长一段路了,各位想要了解发展史可以百度下,这里就不多说了. 现如今当我们想要获取一些资料,首先是打开某个浏览器 ...
- Thinkphp5中的Validate验证器的使用
更多笔记: http://note.youdao.com/noteshare?id=e97a5df64888f27d912b3e966b9ec297&sub=web1520841813815 ...
- Python的集合与字典练习
集合与字典练习 question1 问题描述:有一个列表,其中包括 10 个元素,例如这个列表是[1,2,3,4,5,6,7,8,9,0],要求将列表中的每个元素一次向前移动一个位置,第一个元素到列表 ...
- python编写定时执行脚本
前几天在抓博客园文章,打算每天抓10条最新的,所以就在脚本中加了定时让它在每天凌晨四点中时执行,但是昨天发现,报错了: 显示是远程主机强制关闭了一个链接, 原因是:mysql数据库默认当连续8小时不对 ...
- Codeforces Round #496 (Div. 3) ABCDE1
//B. Delete from the Left #include <iostream> #include <cstdio> #include <cstring> ...