简体   繁体   English

我在用铁轨安装每个捆绑包时遇到麻烦。 如何修复

[英]I have trouble every bundle install with my rails. How to fix it

With guide on gorails I set up homebrew, rbenv and rails. 通过gorails上的指南,我设置了自制程序,rbenv和rails。 But then when I work with other project from github and when I do bundle install It doesn't work. 但是然后当我与github上的其他项目一起工作时,以及当我进行捆绑安装时,它不起作用。

Here is the error, I am looking for the answer but still don't find 这是错误,我正在寻找答案,但仍然找不到

/Users/user/.rbenv/versions/2.2.2/bin/rails:23:in `load': cannot load such file -- /Users/user/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rails-4.2.4/bin/rails (LoadError)
    from /Users/user/.rbenv/versions/2.2.2/bin/rails:23:in `<main>'

Thanks 谢谢

Seems like a rehash failure, run: rbenv rehash 好像是rbenv rehash失败,请运行: rbenv rehash

If that works, see here for why. 如果可行, 请在这里查看原因。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我必须将捆绑安装到tmux的每个窗格 - I have to `bundle install` to every pane of tmux 为什么每次将sag sva放入我的游民箱时都必须运行捆绑安装 - Why do I have to run bundle install every time I vagrant ssh into my vagrant box 我想使用EtherPad(或克隆)。 我的网站正在运行Ruby on Rails。 API还是本地安装? - I want to use EtherPad (or a clone). My site is running Ruby on Rails. API or local install? 轨。 宝石捆绑失败 - Rails. Gem bundle failed 我需要从零开始重新安装Rails。 我怎么做? - I need to start over with a fresh, ground zero, install of Rails. How do I do that? 尝试安装滑轨时出现此错误。 如何更改路径? - this error comes up when trying to install rails. How do I change the path? 如何在Rails 5.0.0上修复捆绑安装“ nio4r错误” - How to fix a bundle install “nio4r error” on Rails 5.0.0 无法加载Rails。 出现错误以运行捆绑软件安装,但也无法正常工作 - Can not load Rails. Getting error to run bundle install, but that wont work either 导轨。 Ruby 版本升级 (Windows) 后,“捆绑安装”给出“错误解释器:没有此类文件或目录”错误 - Rails. 'Bundle install' gives the 'bad interpreter: No such file or directory' error after Ruby version upgrade (Windows) Postgres,全新安装的小牛和铁轨。 无法修复此数据库连接问题... - Postgres, a fresh install of Mavericks and rails. Cannot fix this database connection issue…
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM