Hi there,
I'm trying to install some Gems and need to run the following command:
gem install mongrel mongrel_service mysql ruby-postgres oniguruma
ultraviolet libxml-ruby --no-ri --no-rdoc --platform=mswin32
However, that --platform=mswin32 at the end of it bothers the hell out of me. I mean, my platform is x64 as it's supposed to b...
Should I have to install sqlite on a prod box where I'm using mysql for a rails application? The reason I ask is that phusion is yelling at me with the following error:
Could not find gem 'sqlite3-ruby (>= 0, runtime)' in any of the gem sources. (Bundler::GemNotFound)
My gemfile has the following
group :development, :test do
gem...
Hi there,
when I run gem install rmagick-2.13.1.gem from the directory in which rmagick-2.13.1.gem is I get an Error saying that it failed to build gem native extension, below which it says
c:/Ruby192/bin/ruby.exe extconf.rb
checking for Ruby version >= 1.8.5 ... yes
Unable to get Imagemagick version
***extconf.rb failed***
Could not c...
I'm trying to find the not null elements in a database
@genus_counts = Table.count(:all, :conditions=> {:col1 => params[:gm], :col2 => nil}, :without => {:col3 => nil})
It's not recognising "without" function. I am in doubt to apply it as array value.
@genus_counts = Table.count(:all, :conditions=> {:col1 => params[:gm], :col3 != nil...
When i'm running
ruby script/server webrick -e production
it gives error
=> Booting WEBrick
=> Rails 2.3.5 application starting on http://0.0.0.0:3000
/usr/lib64/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #...
when I run any rails command like rails s I get the following error:
Could not find diff-lcs-1.1.2 in any of the sources
Try running bundle install.
However, I already installed diff-lcs.
bundle show diff-lcs
/opt/local/lib/ruby1.9/gems/1.9.1/gems/diff-lcs-1.1.2
I also see diff-lcs when I do a gem list command
My GEM_HOME is /...
In this project in github, it doesn't have a 'GEMFILE', but it has a .gems file that looks like:
rcov
rails --version 2.1.1
mash --version 0.0.3
haml --version 2.0.3
color --version 1.4.0
ruby-hmac --version 0.3.2
calendar_date_select --version 1.15
fastercsv
oauth --version 0.3.6
oauth-plugin --version 0.3.14
httparty --version 0.4.3
...
Hi All,
Just installed IronRuby 1.1. I'm trying to take a look at rake and albacore. After installing ironruby, I am able to hit a command prompt by typing ir, and I am able to do simple puts, but when I try to run rake, I get the error
undefined method `rake' for main:Object
How do I resolve this? Any ideas?
Thanks,
~ck in San D...
I get the same issue attempting to install tokyocabinet's ruby bindings from source or from a gem:
tokyocabinet.c: In function 'fdb_get_reverse':
tokyocabinet.c:2377: error: 'TCFDB' undeclared (first use in this function)
tokyocabinet.c:2377: error: 'fdb' undeclared (first use in this function)
tokyocabinet.c:2383: error: expected expre...
I need to get many data and performance is an essential requirement. Do you have any suggestions?
Thanks in advance!
...
Ruby version: 3.0.2
Rails: 1.9.2
OS: windows 7
DB: sql server 2008 (r2)
I tried to execute the following command: rails generate model product
The error I get can be seen here: pastebin.ca/1965168
I tried to follow these two sites:
rubyrailsandwindows.blogspot.com/2008/03/rails-2-and-sql-server-2008-on-windows_24.html
www.lostechies....
Hi,
I'm trying to run on my mac os 10.6 a Ruby script that apparently requires libtidy.
I spent an hour trying to find an information on how to get libtidy installed.
'gem install tidy' didn't help
I'm amazed that I was unable to find the answers in google :/
...
I'm using Rails 3.0.1. I installed the native pg gem for postgresql with this command:
$ export ARCHFLAGS='-arch i386'
$ sudo gem install pg -- --with-pg-config=/Library/PostgreSQL/8.4/bin/pg_config
When I run the gem list, I can see that pg 0.9 is installed.
However when I set the postgres database adaptor and re-run the server...
I am setting up a server and decided to install the latest Ruby from source. I downloaded ruby-1.9.2-p0.tar.gz and installed that with no problems.
Next up, was installing Rubygems. Using the 1.3.7 I downloaded from Rubyforge I ran setup.rb and got the error:
./setup.rb: 13: Syntax error: "(" unexpected (expecting "then")
This is all...
I am working on a rails gem that has dependency on the following
gem 'authlogic', :git => 'git://github.com/odorcicd/authlogic.git', :branch => 'rails3'
How can I add this in the gem spec as a dependency? Specifically I need to specifiy the path and branch in the dependency.
...
Both methods put the gem into the project's folder to be a self-contained project. Is there advantage / disadvantage of these methods or one better than the other method?
(the project is a Rails 2.2 project, so can't use Bundler)
...
If installing a gem using
gem install ______
actually install 6 gems, because of the dependencies, then if the gem is installed as plugin by
script/plugin install git://github.com/author/____.git
or
script/plugin install _____
then we to manually install the gem it depends on?
Does it matter if it is the later form, where it d...
It seems that both methods can freeze a gem into the vendor directory, but rake gems:unpack requires the gem to be listed
in config/environment.rb as config.gem '<name of the gem>' before the rake is done.
On the other hand, rake gems:freeze requires installing the gem gemsonrails first, and uses the syntax rake gems:freeze GEM=haml and...
If I run
gem server
and go to localhost:8808, one of the entry is haml and it says it depends on maruku and yard
haml 3.0.22 [rdoc] [www] - depends on maruku, yard.
An elegant, structured XHTML/XML templating engine. Comes with Sass, a similar CSS templating engine.
Executables are css2sass, haml, html2haml, sass, sass-convert.
b...
If for some reason, the project cannot use bundler and gem install, we can use
script/plugin install git://github/<author name>/ ... /foo.git
but what if it is not on github and for sure it is a ruby gem, can script/plugin install install from the rubygems.org which is the official gems place? (that's the one gem install uses, isn't ...