similar to: how to write a gem package

Displaying 20 results from an estimated 100000 matches similar to: "how to write a gem package"

2006 Aug 16
10
all I wanted was a class reference...
And I got this lousy LatexParser. Ah well... A new cut of the automatic WxRuby documentation is now viewable online at http://www.pressure.to/wxruby/. There''s also a pdf version http://www.pressure.to/wxruby/wxruby.pdf [3MB, 751 pages!] and a tarball http://www.pressure.to/wxruby/wxruby2.tar.gz [1.3MB] In terms of output, it''s no advance on what Sean has already done.
2011 Jul 08
2
Downgrading RubyGems using Package provider => gem
Hey everyone, I''m experiencing an issue resulting from the way RubyGems works when dealing with multiple gem versions. When managing a gem through the Package provider, setting ensure to a version lower than a currently installed version will result in Puppet installing the older version, however RubyGems will also keep the newer version, and this newer version will remain the default.
2006 Mar 15
13
usage of constants
I would like to define some constants that I can use across models and views and I cannot figure out how to do that. Googling hasn''t turned up anything useful and I''m looking at the PickAxe book, and I get the impression that a constant must belong to a class. If I just want a constant like... CompanyPhoneNo = "(602) 999-9999" and be able to use it in any view
2007 Feb 05
4
rubgems in user directory - HELP!
I''m trying to install ruby on rails to a host server that I don''t have root access to. The server already has ruby. I''ve followed the info on these two pages for installing rubygems in a non-root user directory: http://rubygems.org/read/chapter/3 http://wiki.rubyonrails.com/rails/pages/HowToUseMultipleGemRepositories rubygems appears to be installed correctly but when
2005 Mar 08
3
Chapter Numbering in Hieraki
I''m using Hieraki to do some documentation for RubyGems. So far I''m lovin'' it. But I have a question. I currently have three books on the site. It seems that the chapter numbers continue from one book to the next. For example, the first book has 7 chapters (numbered 1-7). The second book has three chapters, but they are numbered (8-10) rather than the (1-3) I
2007 Aug 28
5
ERROR: While executing gem ... (Gem::Installer::ExtensionBu
Hi all, Sorry if this is answered somewhere -- I am new to ruby and to linux, and can''t figure it out: When I try to install ferret (see below), I get ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError). Same thing happens for any version I pick from th list. I am using: gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4) ruby 1.8.5 (2006-08-25) [i486-linux] gem 0.9.4 No idea
2006 May 25
2
How to install Ruby on Rails from Stand alone package?
I need to instal RoR on server which is not connected to internet and which can''t be connected to internet coz of security reason. There is no other ways to connect server to internet. I know every tutorial say run gem install rails, but in this case I need to install rails from stand alone package. So, my problem is where to install files which I downloaded from
2008 Apr 26
1
gem fetching error
I am trying to install some application using gem, but I keep on getting the error. I tried with ''gem clean'' and ''gem update''. The latter gives the following error (the same error is replicable when I try any ruby applications): # gem update --debug Exception `Errno::ENOENT'' at /usr/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:51 - No such file or
2008 Nov 20
1
running tests on gem
Is there a way to run he tests with cjust the gem installed? I wanted to run the tests on the gem and tried: $ jruby -S gem list RedCloth *** LOCAL GEMS *** RedCloth (4.1.1) $ jruby --version jruby 1.1.5 (ruby 1.8.6 patchlevel 114) (2008-11-14 rev 6586) [i386-java] [jruby.git (master)]$ jruby -S gem check -test RedCloth ERROR: While executing gem ... (OptionParser::InvalidOption)
2005 Jul 20
6
Wxruby2 gemspec
Hi A gemspec for installation of wxuby-swig via rubygems. It assumes the end-users will compile the pre-swigged .cpp files & that that the main require file will be wx.rb (as per Kevin''s suggestion). runrake.rb is just a helper script that runs rake correctly within the rubygems installation process. # to build the gem gem build wxruby2.gemspec # to build & install the
2007 Mar 16
5
Bad ActiveSupport gem in gem repository?
All, I''m attempting to update my gems to 1.2 and I get the following: Install required dependency activesupport? [Yn] Y ERROR: While executing gem ... (Gem::InstallError) invalid gem format for c:/ruby/lib/ruby/gems/1.8/cache/activesupport-1.4.2.g em Anyone else seeing this? Anyone willing to try it to see what''s up? Thanks, Wes -- Posted via
2006 Aug 04
2
MacOS + darwinport + rubygems
Hi, Installing ruby (following wiki recommandations) with darwinport, I have the following error when I want to install rails gem: /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'': no such file to load -- sources (LoadError) from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in `require'' from
2006 Jun 30
2
Installing products through gem on ubuntu
I''m trying to install mongrel and sqlite3 through the gem command on ubuntu. I''m have in the same problem with both. If I try to do sudo gem install sqlite3, it says GemNotFoundException. If I run the same command without sudo, I don''t have permission to some directory: pbarry@pbarry-laptop:~/downloads/rubygems-0.9.0$ sudo gem install sqlite3-ruby ERROR: While
2007 Nov 29
3
gem provider non-interactive
Hi, I was wondering if there is any of getting the gem package provider to run non-interactively? When upgrading mongrel it fails because it gets prompted for which version to install: Attempting remote update of mongrel Select which gem to install for your platform (x86_64-linux) 1. mongrel 1.1.1 (ruby) 2. mongrel 1.1.1 (jruby) 3. mongrel 1.1.1 (mswin32) 4. mongrel 1.1 (mswin32) 5.
2011 Apr 06
16
Unable to install Rails using Gem
I am new to Ruby on Rails. I was trying to get Ruby on Rails installed. I am on Windows XP with access to internet through a proxy. I installed Ruby and then Gem. I downloaded both as standalone packages and unzipped them. But when i tried installing Rails through Gem , I got the below error " C:\Program Files\rubygems-1.7.2>gem install rails --version 3.0.1 ERROR: While executing gem
2006 Feb 17
3
Migration Errors?
Hi there, I just bought the Rails Recipes and PDF preview of the book. So far it''s excellent. I decided to try Chapter 8 of the book regarding tagging. I''ve done migrations before, and I feel comfortable with them, however this error stumps me. -------------------------------------------------- antrover:~/RubyProjects/rlog dhoefler$ ruby script/generate migration
2009 Feb 03
1
"uninitialized constant Gem::Etc (NameError)" when starting server
I keep getting this when I try to start the server: [Macintosh:rails/work/demo] jslicari% script/server /Library/Ruby/Site/1.8/rubygems.rb:723:in `set_paths'': uninitialized constant Gem::Etc (NameError) from /Library/Ruby/Site/1.8/rubygems.rb:719:in `each'' from /Library/Ruby/Site/1.8/rubygems.rb:719:in `set_paths'' from /Library/Ruby/Site/1.8/rubygems.rb:526:in
2005 Mar 26
2
Problem with GEM
I try the following command: gem cleanup and I get this: C:\Ruby\bin>"c:\Ruby\bin\ruby.exe" "c:\Ruby\bin\gem" cleanup ERROR: While executing gem ... (RuntimeError) Unknown command cleanup Even if I try: gem cleanup rails I get the same thing. Anyone know what I am doing wrong? Thanks, Chad
2007 Apr 11
1
error about "gem install mysql -r "?
ruby 1.8.6 (2007-03-13 patchlevel 0) [i486-linux] Rails 1.2.3 ------------------------------------------------------- debian:/home/ror# gem list -l *** LOCAL GEMS *** Service layer for easy email delivery and testing. actionpack (1.13.3) Web-flow and rendering framework putting the VC in MVC. actionwebservice (1.2.3) Web service support for Action Pack. activerecord (1.15.3)
2007 Nov 26
2
Rails 1.2.6 gem freeze fails with gem 0.9.5 system
Freezing to the gems for Rails 1.2.6 rake aborted! uninitialized constant Gem::GemRunner tracing gives: no such file to load -- /Users/nathany/Sites/boat/oat/config/../vendor/ rails/railties/lib/initializer /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' ... which seems like it may be trying to load the frozen gems before they are there? It