`
jxpwyd
  • 浏览: 24388 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

bundle exec

 
阅读更多

执行  rake db:migrate:up VERSION= 报以下错误

 

rake aborted!

You have already activated rake 0.9.2.2, but your Gemfile requires rake 0.9.2. Using bundle exec may solve this. 

 

需要加上  bundle exec rake db:migrate:up VERSION=

分享到:
评论
1 楼 aassdd 2012-11-27  
按照楼主的操作,把问题给解决了
输入:rake db:schema:dump
You have already activated rake 10.0.2, but your Gemfile requires rake 10.0.0. Using bundle exec may solve this.

解决:bundle exec rake db:schema:dump

相关推荐

    bundler-exec:使用“ bundle exec”自动运行Ruby脚本(但仅在适当的时候)

    输入bundler-exec,它将自动在通用Ruby命令的开头加上“ bundle exec”。 安装 将bundler-exec.sh复制到〜/ .bundler-exec.sh。 从〜/ .bashrc文件中获取它。 例如: $ curl -L https://github.com/gma/bund

    rubygems-bundler, 没有 `bundle exec... `.zip

    rubygems-bundler, 没有 `bundle exec... ` > = 2.2.0通常,在 RubyGems> = 2.2.0上不需要这个 gem 。 只需将 RUBYGEMS_GEMDEPS 环境变量设置为你的Gemfile或者 -的路径,以便在父目录中自动发现。但是,还不

    Middleman-AWS-Prismic-CircleCi:用于使用Middleman,Amazon Web Services(AWS),Prismic和CircleCi生成静态站点的开源入门仓库-Source circle

    Rainfactory的快速和交通弹性静态站点设置 :red_heart: 中间人 :red_heart: CircleCi :red_heart: AWS :red_heart: 棱柱形 欢迎来到我们的Middleman-AWS-Prismic-CircleCi开源项目!... bundle exec midd

    standard::glowing_star:Ruby样式指南,带有linter和自动代码修复程序

    标准-Ruby样式指南,lint和格式化程序 这个宝石是的精神移植,旨在通过以下三种方式为您(和其他人!...$ bundle exec standardrb 而且,如果您愿意,Standard可以通过添加--fix标志来自动--fix代码。 St

    地点:12urenloop事件的Nanoc地点

    然后使用bundle exec nanoc或bundle exec nanoc live运行代码。 使用bundle exec nanoc deploy 。 跨版本更新的内容 联系信息 日期和地点 版权页脚 动画片 赞助商 团队 获奖者先前版本(主页)

    paknife:并行运行 Knife-solo

    默认情况下,它在两个线程中运行bundle exec knife solo cook node1等等。 paknife 可以像下面这样使用刀零,但还没有经过很好的测试: $ paknife zero cook node1 node2 刀的原始选项 您可以在节点参数后传递...

    documentation

    bundle exec jekyll serve --incremental --drafts --trace 在localhost:4000上设置本地服务器,以查看页面在提供时的外观。 开始投放时,输出将突出显示渲染/其他问题。 或者,使用docker image jekyll/jekyll...

    项目管理redmine配置

    redmine 项目管理 软件 安装配置

    Cyclid:开源持续集成服务器

    您可以使用WEBrick下开始Cyclid bundle exec rake rackup ,然后开始Sidekiq bundle exec rake sidekiq ,或者您也可以守卫下与运行这两个bundle exec rake guard 。 Cyclid开发服务器将在localhost端口8361(这是...

    digital_stress:Discord机器人

    bundle exec bot.rb 使用: bundle exec repl.rb 安装: https://discordapp.com/oauth2/authorize?&client_id=<CLIENT>&scope=bot&permissions=8 其中是不一致注册的应用程序的client_id 。 部署: bundle ...

    wish_list

    愿望清单项目设置克隆回购bundle install bundle exec rake db:create bundle exec rake db:migrate RAILS_ENV=test bundle exec rake db:migrate bundle exec rspec去做: 有关更多说明的自述文件 眼镜自我注意事项...

    effilab-rails:effilab技术测试

    effilab-rails 将Adwords API集成到Rails 6.1应用程序中要求: Ruby版本2.7.2 系统依赖性PostgreSQL版本13.0 在应用程序的根目录下的配置编辑.env文件数据库创建bundle exec rails db:create 数据库初始化bundle ...

    garage-example:车库的示例博客应用程序

    bundle exec rake db:create db:migrate RAILS_ENV=test bundle exec rake db:create db:migrate bundle exec rspec # All tests should be passed. # Play with local development server. bundle exec rails ...

    ett_de:德国ElevenTable网球排行榜

    % bundle exec rake 如何运行开发控制台: % bundle exec hanami console 如何运行开发服务器: % bundle exec hanami server 如何为development和test环境准备(创建和迁移)数据库: % bundle exec hanami db ...

    jekyll-blog-master.zip

    === 本地运行 一般提交到 github 过个几十秒就可以看到效果,如果你需要对在...bundle exec jekyll serve --watch --host=0.0.0.0 --port=8080 如果是 windows 系统,环境搭建好后可以运行项目下的cli.bat快速启动

    大学生社团信息管理系统

    开发环境启动 bundle exec rails s, 浏览器访问 127.0.0.1:3000 后台地址 127.0.0.1:3000/admin [账号:201430350301 密码:123321] session[:user] 当前登录的用户信息 session[:society_id] 当前用户所在社团 ...

    lti_tool_provider_example:这是一个基本且简单的 LTI 工具提供程序,它使用 [ims-lti](https

    bundle exec rake db:create bundle exec rake db:migrate bundle exec rake db:seed bundle exec rails s 要使用 Docker 运行它,请按照下列步骤操作: docker-compose build docker-compose run --rm app bundle...

    kiris:Phate Radio是有关动漫,游戏和流行音乐的实验性互联网广播

    入门如果尚未安装,请在命令提示符处安装Bundler and Rails: $ gem install bundle --no-document $ gem install rails --no-document...测试 $ bundle exec rake db:test:prepare $ bundle exec rake test笔译我们

    吸引者-Ruby:Ruby的代码复杂性指标可视化和探索工具

    bundle exec attractor report --file_prefix app/models 或更短: bundle exec attractor report -p app/models 注意文件更改: bundle exec attractor report -p app/models --watch 服务于 : bundle exec ...

    cumulonimbusfs

    使用原始密钥重新bundle exec ./bin/pastiefs tmp/ 10326623_kixdlsebnr2oyjltfnkxuw文件系统: bundle exec ./bin/pastiefs tmp/ 10326623_kixdlsebnr2oyjltfnkxuw 使用EncFS层 mkdir tmp encrypted bundle exec ...

Global site tag (gtag.js) - Google Analytics