释放gem出错
伙计们,我正在使用珠宝商来制作宝石。我已经成功编写了代码并将其推送到 github 并且我的 git 状态是 clean 。现在,当我想释放我的宝石时,我做了“rake release” 它正在创建我的 gem ....但它没有发布到 rubyforge 。我最终遇到以下错误
<代码> 提交 trisulrp.gemspec
将 master 推送到原点
标记 v1.2.2
将 v1.2.2 推送到原点
生成:trisulrp.gemspec
trisulrp.gemspec 有效。
警告:未指定 rubyforge_project
成功构建RubyGem
名称:三磺尔普
版本:1.2.2
文件:trisulrp-1.2.2.gem
耙子中止!
权限被拒绝 - (./trisulrp-1.2.2.gem, ./pkg/trisulrp-1.2.2.gem)
我不知道哪里出了问题......
Guys i am using jeweler to create a gem . I have successfully written my code and pushed it to github and my git status is clean . Now when i want to release my gem i did 'rake release'
it is creating my gem .... but its is not releasing to rubyforge . and i end up in the following error
Committing trisulrp.gemspec
Pushing master to origin
Tagging v1.2.2
Pushing v1.2.2 to origin
Generated: trisulrp.gemspec
trisulrp.gemspec is valid.
WARNING: no rubyforge_project specified
Successfully built RubyGem
Name: trisulrp
Version: 1.2.2
File: trisulrp-1.2.2.gem
rake aborted!
Permission denied - (./trisulrp-1.2.2.gem, ./pkg/trisulrp-1.2.2.gem)
I don kno where am goin wrong .......
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
确保您在运行该命令的目录中具有写入权限。它抱怨无法写入
.gem
文件。Make sure you have write permissions in the directory where you run the command. It complains that it can't write the
.gem
file.尝试在命令前面加上 sudo:
Try preceding the command with sudo: