First  |  Prev |  Next  |  Last
Pages: 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155
gems and custom_require problem for ruby(1.9.2dev)/rubygems(1.3.6)installed in $HOME
I installed ruby 1.9.2dev (2010-03-17 trunk 26961) [i686-linux] in my $HOME dir using configure --prefix=$HOME && make install also i set PATH=$HOME/bin:$PATH Then, I tried to run rake test on edge rails version, having required gems installed via "bundle install" gem list shows them installed But, "rake t... 17 Mar 2010 13:36
rubygem
> After I installed ruby 1.9.1, I run gem -v, it prints out gem 1.3.1 even though I haven't installed rubygem yet. Is this correct? Yes, ruby 1.9.1 comes pre-packaged with gem 1.3.1. What should I do if I need different version of gem? To update to the newest version, just use: gem update --system -... 17 Mar 2010 13:36
gems and custom_require problem forruby(1.9.2dev)/rubygems(1.3.6) installed in $HOME
Here is another oddity, and I could not trace source of it: irb(main):001:0> Gem::ConfigMap => {:EXEEXT=>"", :RUBY_SO_NAME=>"ruby", :arch=>"i686-linux", :bindir=>"/home/nlugovoi/lib/ruby/bin", :libdir=>"/home/nlugovoi/lib/ruby/lib", :ruby_install_name=>"ruby", :ruby_version=>"1.9.1", :rubylibprefix=>"/home/nlug... 17 Mar 2010 13:36
Uninstalling the rubygems application
I have installed the rubygem application (version 1.3.6) on a Debian system by downloading the rubygems tar.gz archive and running the setup.rb command. What is the best way to _uninstall_ this application? ... 17 Mar 2010 17:22
compile ruby 1.9.1 with openssl
Hi I want to istall ruby 1.9.1-p378 with openssl support. Here is the command I used /configure --with-openssl-dir=/usr/local/ssl But it returns something like "unrecognized --with-openssl-dir" How to make it work? Thanks! -- Posted via http://www.ruby-forum.com/. ... 17 Mar 2010 17:22
Question about the evaluation of x = 'foo' if false
Hello, I am kind of lost with the nil result while I am expecting a false: irb(main):001:0> x = 'foo' if false => nil irb(main):002:0> x => nil irb(main):003:0> x = 'foo' if true => "foo" irb(main):004:0> x => "foo" Thanks in advance for sharing your knowledge, -- Anìbal Rojas ... 17 Mar 2010 12:28
gecode/r troubles with constraints definition in a CSP
Hi, i'm trying the Gecoder-with-gecode library, to solve some CSP problems. The problem is: given a int_matrix (with domain 0..1), sched = int_var_matrix(3, 15,0..1) place 0 and 1's in order to respect the following constraints: 1) the sum of each column's value must be 1: sched.column_siz... 16 Mar 2010 15:04
array.each
[Note: parts of this message were removed to make it a legal post.] I want to take an array of strings and convert each member to an integer. array.to_i obviously doesn't work. I tried array.each { |x| x = x.to_i } and that doesn't work either. aray.each_index { |x| array[x] = array[x].to_i } works fine. I'm fi... 17 Mar 2010 14:45
Recommended way to install Rubygems
[Note: parts of this message were removed to make it a legal post.] Hi! I am trying to install Ruby1.9.1 under Ubuntu 9.10 - with gems. I can "apt-get install ruby1.9.1", but I have often had trouble mixing package managers and installing rubygems using apt-get so I usually download it. I also see warnings on... 21 Mar 2010 15:03
ruby 1.9.1, rubygems, rvm. trouble getting sqlite3 to work.
i am trying to setup a slicehost server for rails development. i chose to use the ubuntu 9.10 karmic image. rvm looks really useful so i am attempting to use it. i am running into trying to use sqlite3 with ruby 1.9.1. here is what i have setup http://gist.github.com/333205. everything seems to work great up t... 15 Mar 2010 16:58
First  |  Prev |  Next  |  Last
Pages: 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155