gem

RefineryCMS Engines Error: did not have a valid gemspec

寵の児 提交于 2019-12-22 05:48:15
问题 I can't install any engines. After installing the first event engines from guide, I had an error saying I don't have a valid gem spec. Using refinerycms-events (1.0) from source at vendor/extensions refinerycms-events at /Users/lydia/Desktop/projects/cmsex/vendor/extensions/events did not have a valid gemspec. This prevents bundler from installing bins or native extensions, but that may not affect its functionality. The validation message from Rubygems was: authors may not be empty Now

TypeError: $(…).selectize is not a function

青春壹個敷衍的年華 提交于 2019-12-22 05:41:26
问题 I installed the "selectize-rails" gem into my rails app, and I'm trying to get it to work. I keep getting this error in my web console: TypeError: $(...).selectize is not a function and nothing happens in the browser. Here's the code I have so far, following the "Email Contacts" example from this page: http://brianreavis.github.io/selectize.js/ views/emails/new.html.erb <script type="text/javascript"> $(document).ready(function() { console.log( typeof $.fn.selectize === 'function'); // true

Error running gem install on Windows 7 64 bit

允我心安 提交于 2019-12-22 05:18:24
问题 I just installed ruby 1.9.2-p136 using the installer from rubyinstaller.org and now I am trying to install rails. When I do "gem install rails" I get the following error: C:\Users\Clayton.USA>gem install rails ERROR: While executing gem ... (Errno::EINVAL) Invalid argument - P:/ Here are the ruby and gem versions I'm running: C:\Users\Clayton.USA>ruby -v ruby 1.9.2p136 (2010-12-25) [i386-mingw32] C:\Users\Clayton.USA>gem -v 1.3.7 Update : found the solution here: How to stop the 'gem' utility

Could not find i18n-0.6.0 in any of the sources

天涯浪子 提交于 2019-12-22 05:01:23
问题 I just upgraded from Rails 3.0.3 to 3.2.1. The upgrade went smoothly on my Mac but I'm having trouble getting a 3.2.1 instance of my app running on my Ubuntu production server. The error I'm getting is this: Could not find i18n-0.6.0 in any of the sources (Bundler::GemNotFound) Obviously, other people have had this same problem before. Unfortunately, the solution here doesn't fix it for me. Doing sudo bundle install doesn't seem to make a difference. I also found this post but I don't

Can't use rhc after installation , for openshift

我与影子孤独终老i 提交于 2019-12-22 04:40:56
问题 I'm running into a weird issue after installing rhc and vmc. None of the below seems to be working. For Openshift: https://openshift.redhat.com/app/getting_started For Cloudfoundry: http://docs.cloudfoundry.com/tools/vmc/installing-vmc.html I'm using Ubuntu 10.04 root@bose-Vostro-1540:/home/bose# gem install rhc Successfully installed parseconfig-0.5.2 Successfully installed rhc-0.88.9 2 gems installed Installing ri documentation for parseconfig-0.5.2... Installing ri documentation for rhc-0

LoadError by requiring a gem with :path or :git

╄→гoц情女王★ 提交于 2019-12-22 04:31:50
问题 I've got a really strange problem here. I forked a gem on github to do some modifications, cloned my repo on my local machine, made the changes and changed the Gemfile of another project to fetch the gem from my local repository for testing it. Unfortunately I get a LoadError while requiring that gem in my ruby script. rvm current => ruby-1.9.3-p448 ruby --version => ruby 1.9.3p448 (2013-06-27 revision 41675) [x86_64-linux] bundle --version => Bundler version 1.3.5 Content of my Gemfile:

Ruby Gems with Gitlab no such file to load — rb-inotify

拜拜、爱过 提交于 2019-12-22 03:23:09
问题 I am using Gitlab and I am trying to follow these instructions to upgrade my gitolite v2 to v3: "If this issue occurs in 2.9.x you should reinstall gitolite. 1) backup all repositories. Just copy /home/git/repositories/* elsewhere. 2) Install new gitolite. See https://github.com/gitlabhq/gitlabhq/blob/master/doc/installation.md 3) copy repositories back. 4) sudo -u gitlab -H bundle exec rake gitlab:gitolite:update_keys && sudo -u gitlab -H bundle exec rake gitlab:gitolite:update_repos That's

Installing nokogiri - Failed to build gem native extension

久未见 提交于 2019-12-22 01:30:02
问题 While installing Nokogiri on Ubuntu 12, I got an error: Installing nokogiri (1.4.4) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /usr/bin/ruby1.9.1 extconf.rb extconf.rb:10: Use RbConfig instead of obsolete and deprecated Config. checking for libxml/parser.h... yes checking for libxslt/xslt.h... yes checking for libexslt/exslt.h... yes checking for iconv_open() in iconv.h... yes checking for xmlParseDoc() in -lxml2... yes checking

Why I can't install postgresql with rails 4.0.0.rc1 (ruby 2.0)

吃可爱长大的小学妹 提交于 2019-12-21 21:08:36
问题 first time on forum so i will try to be as specific as one can be, sorry for any possible typos ok? I am relatively new to rails (less than a year), and i want to make a default project to work with it. I have always used sqlite3 in development and pg in production (heroku), but now i want to make things right (i've encountered problems with sqlite3 running ok but pg not) and use both pg in production and devlop. I have spent 2 days searching foruns and all the anwsers are old or other

ruby+gem常用命令

早过忘川 提交于 2019-12-21 19:59:12
ruby -v #查看ruby 版本 ruby -e ''require"watir"; puts Watir::IE::VERSION'' #查看watir版本 gem -v #gem版本 gem update #更新所有包 gem update --system #更新RubyGems软件 gem install rake #安装rake,从本地或远程服务器 gem install rake --remote #安装rake,从远程服务器 gem install watir -v(或者--version) 1.6.2#指定安装版本的 gem uninstall rake #卸载rake包 gem list d #列出本地以d打头的包 gem query -n ''[0-9]'' --local #查找本地含有数字的包 gem search log --both #从本地和远程服务器上查找含有log字符串的包 gem search log --remoter #只从远程服务器上查找含有log字符串的包 gem search -r log #只从远程服务器上查找含有log字符串的包 gem help #提醒式的帮助 gem help install #列出install命令 帮助 gem help examples #列出gem命令使用一些例子 gem build rake