similar to: rubygems installation location

Displaying 20 results from an estimated 80000 matches similar to: "rubygems installation location"

2006 May 09
2
Problem creating new record
Hi I have two tables 1. devices 2. device_categories both associated with each other via foreign key device_category_id in device table. I use scaffold and create a base system. I associate the two models together via belongs_to declaration in device model, and has_many declaration in device_categories model. I also add a device category drop-down box on create page to select
2006 May 12
1
Problem in including javascript files
Hi, I am using this <%= javascript_include_tag ''/editor/xyz.js'' %> to include javascript source to my code. But I am getting this as output <script src="/editor/xyz.js?" type="text/javascript"></script> I just want to know why I am getting a question mark in "/editor/xyz.js?". Thanks for any assistance in advance. Regards
2006 Aug 20
4
Should we require ''rubygems'' in our samples?
Twice now, I have had some frustration trying to get my gem path recognized without having to manually specify -rubygems on the command line. It''s under-documented in Ubuntu[1]. I''m thinking that we should definitely mention this issue in the README. Shouldn''t we also require ''rubygems'' in all our samples, to make it as easy as possible for folks to
2006 Mar 10
3
Problems installing rubygems -No such file to load: rubygems
Hi, I''m a bit of a beginner at this and I''m having some problems with installation, hopefully someone can help. I''m following the guide for setting up under Mac OS X at http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger . I follow the tutorial all the way through without any errors but when it comes to the MySQL Native Bindings step I get an
2006 Jul 31
6
Unable to install Gems with RubyGems on Intel OSX with DarwinPorts
I followed Duncan Davidson''s Sandboxing Rails with Darwin Ports guide and everything went fine up till the part where I had to install gems using gem install. I would get this stacktrace: Attempting local installation of ''rake'' Local gem file not found: rake*.gem Attempting remote installation of ''rake''
2004 Mar 14
3
Re: RubyGems 0.2.0
Hello Chad, I installed and tried out rubygems for one of the win32-utils projects named win32-mmap. This is on Win XP (Home). Here is how I did it but got some errors (see at the end). I must be doing something wrong. Please help ... -- Shashank #------------------------------------------------------------ require ''rubygems'' spec = Gem::Specification.new do |s|
2006 Jun 16
0
rubygems support for rails plugins (patch)
Rails committers, (feedback from others welcome) Would you accept a patch--in principle, obviously the implementation matters--that would: 1. allow Rails to load a plugin from gem 2. permit the plugin script to install them 3. give the plugin generator''s default Rake file the ability to package and publish a gem 4. introduce freeze/unfreeze for plugins Why? - RubyGems''s
2006 Jan 12
2
Can''t install rubygems on Debian 3.1
Hi all, When I try to install rubygems I get this: install security.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems install gem_openssl.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems <--- lib/rubygems <--- lib /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'': no such file to load -- zlib (LoadError) from
2008 Nov 24
14
Problem with RubyGems installation
Hello, I am trying to install RubyGems on Ubuntu and i''m having trouble. I''ve downloaded rubygems 1.3.1 and when i run the sudo ruby setup.rb command I get the problem mentioned below. I''d really appreciate if someone can help me out. Thanks mkdir -p /usr/local/lib/site_ruby/1.8 mkdir -p /usr/bin install -c -m 0644 rbconfig/datadir.rb
2006 May 29
0
Non standard rubygems location
Hi, Page 183 of Programming Ruby, talking about the $: load path variable, states: "You can always add additional directories to this array from within your running program". So why can''t I do this in environment.rb: $:.concat(Dir["/home/jhughes/lib/ruby/site_ruby/1.8"]) # path points at my install of rubygems and then have require ''rubygems''
2006 Jul 15
3
SocketError when trying to install Rails with RubyGems
I downloaded RubyGems 0.9.0 and successfully extracted and built it by running "sudo setup.rb". Then I try to install Rails via this command: "sudo gem install rails --include-dependencies" But I get this error everytime: ERROR: While executing gem ... (SocketError) getaddrinfo: no address associated with nodename Can someone point me in the right direction? Thanks
2007 Dec 04
0
Freezing Rails 1.2.6 & rubygems 0.95 Problems
Freezing to 1.2.6 appears to be broken right now for two reasons. My environment is using rails 1.2.6 and rubygems 0.9.5 Attempting to freeze to 1.2.6 with this will result in this output & error: % rake rails:freeze:edge TAG=rel_1-2-6 ... ** Invoke rails:freeze:edge (first_time) ** Execute rails:freeze:edge A vendor/rails/railties . . . A vendor/rails/activesupport/MIT-LICENSE
2007 Jan 23
0
[1.0.1] rubygems is a bug
heres a summary of the hassles i ran into when upgrading to 1.0.1, in case they occur to anyone else: (first try) gem update mongrel (1) Y (2) y y y (or thereabouts) ..everything appears to go fine. but mongy is giving _weird_ errors like this: Mon Jan 22 21:45:36 -0500 2007: ERROR: undefined method `request_uri'' for #<URI::Generic:0x157000da1da0 URL:/> Mon Jan 22 21:50:11 -0500
2008 Sep 16
8
rspec, Rails 2.1.0, rubygems, Mac OS X Leopard - rubygems does not recognize latest version
I''m trying to run some specs on my Mac OS/Leopard machine (10.5.5) but rubygems won''t allow it: $ spec spec/models/my_spec.rb Rails requires RubyGems >= 0.9.4 (you have 0.9.3). Please `gem update --system` and try again. ...but I already have the latest & greatest installed: $ gem search --local rubygem *** LOCAL GEMS *** rubygems-update (1.2.0, 0.9.5) Tue Sep 16
2006 Mar 31
6
Install rubygems error
I made the mistake of trying to upgrade to 1.8.4 from 1.8.2 and had intended to upgrade to rails 1.1. I have now completely borked my ruby gems installation. After installing ruby I get the following error when trying to execute gem: /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'': no such file to load -- zlib (LoadError) from
2007 Feb 07
2
Ruby hangs when trying to install RubyGems
I''ve just set up a minimal Gentoo install and emerged Ruby 1.8.5 from portage. I then went to emerge rubygems, and found that it hangs. Manually downloading the file and running ''ruby setup.rb'' also hangs. The following are the last few lines I get before nothing happens, and my CPU sits at 100% (from Ruby): Successfully built RubyGem Name: sources Version: 0.0.1 File:
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.
2011 Feb 07
0
Error loading rubygems
Hi, During an operation (rspec related) that required loading rubygems (from config/boot.rb file) I got the following error message: ~/config/boot.rb:1:in `require'': no such file to load -- rubygems (LoadError) ~/config/boot.rb:1 from ~/config/application.rb:1:in `require'' from ~/config/application.rb:1 from ~/config/environment.rb:2:in `require'' from
2011 Apr 18
2
rubygems fail - require hpricot!
Hi guys, I wanted to fetch some info from webpage and use it in my db. I read hpricot is one way to do it. But the problem is I''m unable to use it with my app. For some reason after successfully installing hpricot it fails when I try to use it in the rails console. I''ve been trying to fix this for the last four-five days. I''m stumped ! I tried re-installing everything
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