我没有错误,当我做git推送heroku大师。但是在heroku打开时,我得到了应用程序错误。所以我查看了heroku的日志,唯一值得注意的是:
2013-04-03T08:03:52+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/
activesupport-3.2.11/lib/active_support/dependencies.rb:317:in
`rescue in depend_on': No such file to load -- spec_helper (LoadError)
所以我猜这就是问题所在。这是
我是ruby on rails的新手。我已经在Ubuntu 14.04上成功地安装了ruby on rails 4.2并创建了一个新的应用程序,但是当我启动服务器查看它是否正常工作时,可以这样写:
rails server
我收到这个错误消息:
Could not find gem 'sass-rails (~> 5.0) ruby' in the gems available on this machine.
Run `bundle install` to install missing gems.
当我开始安装捆绑包时,我得到了需要在捆绑包之前安装的其他包。
bund
刚开始ROR Lynda教程,尝试在终端中执行rails服务器时出错。
ROR新手。严格遵循教程,并安装所有必要的gem和文件。创建一个简单的CMS。然而,我遇到了下面的错误。
$ rails server
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /Library/Ruby/Gems/1.8/gems/bundler-1.0.10/lib/bundler/shared_helpe
我在Rails3之前的一个应用程序上安装了Bundler,并且正在尝试使用它来安装gem。我的Gemfile包含以下行:
source :rubygems
[...]
gem "RubyInline", "3.8.1"
然而,当我运行bundle install时,我得到了这个错误:
Fetching source index for http://rubygems.org/
Could not find gem 'RubyInline', required by 'memcache-client (= 1.6.3)', in a
从我的rails应用程序根目录运行rubocop,并将rubocop配置为使用inherit_gem属性,会给出错误;
Unable to find gem gem_name; is the gem installed? Gem::MissingSpecError
但是gem我确认了gem是用bundler安装的,并且在Gemfile中。
我遗漏了什么?
我在生产服务器上有一个奇怪的行为:我通过Capistrano将我的Rails3应用程序部署到生产服务器上。Capistrano脚本在部署结束时重新启动passenger。当我打开应用程序时,我看到一条passenger错误消息:
Could not find autotest-fsevent-0.2.4 in any of the sources
(Bundler::GemNotFound)
当然,autotest-fsevent没有安装在我的生产环境中(甚至不能安装在Ubuntu上…)
环境是在apache的虚拟主机中设置的:
<VirtualHost *>
Passenge
我目前正在探索如何将Spree Commerce引擎集成到现有的rails应用程序中。没有问题将标准安装,但尝试使用现有的devise用户模型失败,并出现此错误。也许这种方法是错误的。我有一个带有bootstrap/devise/cancun等的应用程序。我想使用现有的应用程序和用户模型将spree挂载为/store。一切都保持不变,但/store都很狂欢
Would you like to install the default gateways? (Recommended) (yes/no) [yes] yes
Would you like to install the default a
使用windows 7旗舰版并以管理员身份运行cmd。
我最近开始使用ruby on rails,在我的新rails应用程序中,我试图安装postgres(pg) gem,然后我得到了一个权限被拒绝的错误,如下所示:
C:\wamp\www\RailsApp>bundle install
DL is deprecated, please use Fiddle
Fetching gem metadata from https://rubygems.org/...........
Using rake 10.4.2
Using i18n 0.7.0
Using json 1.8.2
Usin
我删除了我的Gemfile.lock,将我的gem 'rails', '5.2'更改为gem 'rails', '6.0',然后进行捆绑安装。 我得到了很多依赖错误。但是我不能理解他们,因为他们看起来还不错。 我收到的错误如下: Bundler could not find compatible versions for gem "pry":
In Gemfile:
guard-rspec (~> 4.7.0) was resolved to 4.7.3, which depends on
我正在尝试安装devise_token_auth。指令告诉我要将gem 'devise_token_auth'添加到我的Gemfile中,然后运行bundle install。我创建了一个全新的仅限API的Rails应用程序,按照说明操作,并获得了以下内容: Bundler could not find compatible versions for gem "rails":
In Gemfile:
rails (~> 6.1.1) x86_64-darwin-20
devise_token_auth x86_64-darwin-2