我运行的是rails 4.2.1,并且卸载了一个特定的gem,该gem冻结了我的资产管道编译,因此不允许我更新html、css或javascript。尽管我卸载了gem,但当我尝试运行服务器时,我得到了一条错误消息,指出Could not find rails_serve_static_assets-0.0.4 in any of the sources。我不再希望这个宝石在我的堆栈中的任何地方。你知道如何永远摆脱这个特殊的gem和它的所有依赖吗?
提前谢谢你。
如何告诉resque-web使用rack、sinatra和vegas的正确gem版本?当我访问resque- `process_route时,我正在尝试解决未定义的方法web错误
如果我运行bundle,我会得到
Using rack (1.4.1)
Using sinatra (1.3.3)
Using vegas (0.1.11)
Using resque (1.23.0)
Using rufus-scheduler (2.0.17)
Using resque-scheduler (2.0.0) from https://github.com/bvandenbos/resque-
升级到macOS赛拉(10.12)后,Jekyll出现了各种各样的问题。运行jekyll build失败,并显示以下错误(我早就遇到过这种错误):/Library/Ruby/Gems/2.0.0/gems/bundler1.12.5/lib/bundler/runtime.rb:35:in block in setup: You have already activated colorator 1.1.0, but your Gemfile requires colorator 0.1. Prependingbundle execto your command may solve this.
我目前正在尝试在执行bundle install之后启动我的rails服务器。但是,当我尝试执行rails s时,弹出以下错误
Could not find gem 'byebug (= 9.0.6)' in any of the gem sources listed in your Gemfile. Run bundle install to install missing gems.
然后我运行bundle install,但同样的错误弹出。我也尝试过在gemfile中去掉byebug,但它只是给出了相同的错误,但使用的是不同的gem。我尝试使用gem install by
当我在CentOS5.5上为我的Rails 3项目运行bundle install时,它失败了,并显示一个错误:
Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3
read server certificate B: certificate verify failed
(https://bb-m.rubygems.org/gems/multi_json-1.3.2.gem)
An error occured while installing multi_json (1.3.2), and B
刚开始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
我是RoR的新手。我必须打开一个已经创建的项目。该文件夹不包含bin文件夹,我将bin文件夹的内容从其他项目(已运行并通过以下创建)复制到当前文件夹。现在当我转到path/to/bin/并给出rails server时,它给出了,在任何源代码中都找不到somegem name。尝试捆绑包安装。
如果我使用gem install gemname -v=versionnumber安装gem,它可以正确安装。但是如果我给出命令bundle install,它会给出错误
could not find email_spec-1.0.0 in any of the sources
我知道复制文件不是正确的
我的应用程序在混血儿(本地)中运行良好,但突然apache和passenger给我带来了麻烦。它工作得很好,但现在我得到了这个错误,我还没有设法解决:
Could not find multi_json-1.1.0 in any of the sources (Bundler::GemNotFound)
我的Gemfile:
source 'http://rubygems.org'
gem 'rails'
gem 'mysql2'
gem 'tzinfo'
gem 'jquery-rails'
gem '
使用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
我正在努力学习Ruby on Rails。目前正在试用Rails框架。我已经安装好了。在MyBlog文件夹中创建新项目,但当我尝试运行:
rails server
我得到了一个错误:
Could not find gem 'rails (= 4.2.5) x86-mingw32' in any of the gem sources listed in your Gemfile or available on this machine. Run `bundle install` to install missing gems.
我已经按照建议安装了bundle。安装它也没有什么问
每当我运行spork时,我都会得到以下错误:
You have already activated spork 0.9.0.rc8, but your Gemfile requires spork 0.8.5. Consider using bundle exec. (Gem::LoadError)
我的gemfile:
group :development, :test do
gem "rspec"
gem "rspec-rails"
gem "factory_girl_rails"
gem 'spork
我使用的是ruby 1.9.3p194和bundler 1.1.4
在我的Gemfile中,我有以下内容:
group :production do
gem 'thin', '1.4.1'
end
当我运行$ rails s时,bundler一直在抱怨:
Could not find gem 'thin (>= 1.4.1) ruby' in the gems available on this machine.
Run `bundle install` to install missing gems.
我是在开发环境下运行的,所以它
我在rails (4.2.3)和ruby (2.2.0)中使用spree 3.0.4。
现在,我想为它添加扩展。所以我添加了gem
gem 'spree_simple_sales',:path => '../spree_simple_sales'
在我的应用程序中,但当我捆绑它时,它会给出如下错误:
Could not find gem 'spree_simple_sales (>= 0) ruby' in source at ../spree_simple_sales.
Source does not contain any ver
在Ruby和通过远程工具部署应用程序的术语中,我是相当新的。我尝试将我的应用程序部署到免费的openshift帐户上。我不运行应用程序。
当我运行应用程序时,我会得到以下错误:
You have already activated rack 1.5.2, but your Gemfile requires rack 1.6.0.
Using bundle exec may solve this. (Gem::LoadError)
所以我试着运行bundle exec,但是我发现了另一个错误:
Gemfile syntax error:
/var/lib/openshift/xxxxxxxxxx
在OS X 10.11.1的Ruby 2.3.0环境中使用rbenv时,我无法在使用'bundle‘时安装therubyracer。
这是成功的:
> gem install therubyracer
Building native extensions. This could take a while...
Successfully installed therubyracer-0.12.2
Parsing documentation for therubyracer-0.12.2
Done installing documentation for therubyracer
在我的ruby on rails应用程序中运行bundle install后,我得到了一个错误消息,错误消息是:
Your Gemfile.lock contains merge conflicts.
Run `git checkout HEAD -- Gemfile.lock` first to get a clean lock.
因此,我在同一个终端上尝试了git checkout HEAD -- Gemfile.lock,但是,它没有改变任何事情。当我尝试捆绑时,Gemfile.lock包含合并冲突错误仍然显示。
我还尝试了git checkout Gemfile.lock,它返回了“U
我尝试运行服务器,但结果总是出现在我面前
could not find compatible versions for gem "multi_json":
In Gemfile:
rails (= 3.2.6) ruby depends on
multi_json (~> 1.0) ruby
我使用的是rails 3.2.6,我尝试使用包更新,但结果相同
我想在发布模式下测试我的应用程序,所以我更改了方案,然后当它显示为"A valid provisioning profile for this executable was not found"时尝试在我的设备上运行它
然后我将文件归档,代码对其进行签名,然后导出一个用于Enterprise and Ad-Hoc testing的.ipa文件,以便在我的设备上运行。我试着用iPhone Configuration Utility安装它,但即使这样,它也给了我同样的错误。我做错了什么?