rubygems

Google Maps Cluster Not Working With Ym4r_gm

I am attempting to get a Google Maps cluster working with ym4r_gm for Rails. I know the general code works because every point is being displayed on the map. The problem is that every point is being displayed on the map. I only have like 350 points (right now) so its not too bad without clustering, but I would like to have it working ...

Rails3 server and bundler error: uninitialized constant Bundler (NameError)

I just install rails 3 and all gems that it need, but when I try to start server, it says about problem in boot script. [rap-kasta@acerAspire testR3]$ script/rails server /home/rap-kasta/tmp/testR3/config/boot.rb:7:in `rescue in <top (required)>': uninitialized constant Bundler (NameError) from /home/rap-kasta/tmp/testR3/con...

I can't get the ruby development kit working for Windows XP

So, I can't for the life of my get this working properly. My ultimate goal is to get the dbd-odbc gem installed and working, and from multiple things I've read, I need to install the ODBC binding for ruby alongside the dbd-odbc gem. Well, I can get the dbd-odbc gem installed just fine, but when it comes to trying to install the binding i...

RubyGem version error: rack(1.0.0 not ~> 1.0.1)

I was working on a rails project on my laptop and pushing code to github. Now I cloned the project on my desktop. when running: rake db:migrate I get the following error: rake aborted! RubyGem version error: rack(1.0.0 not ~> 1.0.1) (See full trace by running task with --trace) Before this error I had to run the following comma...

"sqlite3 not found" error in ruby on rails

I am very new to RoR... I installed Ruby and installed its gems... then downloaded and installed MySql... created my first directory demo. then started the server using ruby script/server entered the http://localhost:3000 url in the browser and get a "welcome aboard" page..all is well till now... now I create a controller using ruby...

Where does the Rails initializer go in a gem?

I'm trying to extract some functionality from my existing app into a gem. The existing functionality uses an initializer to load up a config file when Rails starts up... config/initalizers/myinitializer.rb Where should this initializer go in the gem? Do I mirror the path structure inside the gem or put it somewhere else? This will be ...

Is it safe to delete the .gem directory for a RubyGem I installed in the wrong place?

Hi, I wanted to install open4 so I typed gem install open4 which gave me the following warnings: WARNING: Installing to ~/.gem since /var/lib/gems/1.8 and /var/lib/gems/1.8/bin aren't both writable. WARNING: You don't have /home/myname/.gem/ruby/1.8/bin in your PATH, gem executables will not run...

Gem list not listing all installed gems

I run a sudo gem list or gem query --local, and it only lists a portion of the gem's installed. For instance ruby-debug is installed, I'm using it to debug stuff...but it doesn't show up in the gem list. I've tried to run gem update —system and it doesn't do anything. Note: if I then run a sudo gem install ruby-debug it installs succe...

First time rails install, help with gems/rake

Hello all, I just did a first time ruby enterprise edition, installed some gems, and now I'm trying to do a ' sudo ./rake gems:install' and getting a: rake aborted! No Rakefile found error. Firstly, what directory should I be doing this from? Here are the steps I've followed: download ruby enterprise from http://www.rubyenter...

get info from wikipedia

Is there anithing for getting the main description of a wikipedia's page? Like in http://en.wikipedia.org/wiki/Radiohead I want obtaing: Radiohead are an English alternative rock band from Abingdon, Oxfordshire, formed in 1985. The band consists of Thom Yorke (lead vocals, rhythm guitar, piano, beats), Jonny Greenwood (lead guitar, ke...

Are there ruby gems out there with SCons type features?

For kicks, I'm setting up the build process of my C++ program using rake. I'd rather not reinvent the wheel, however. Are there any ruby gems that have build features similar to the cool ones in SCons (e.g., C++ dependency detection, md5 difference detection, cross-platform pathing, multi-threading, etc.)? ...

Problem installing gems for the first time

Hello all, I'm playing with rails for the first time and running into errors with gems. If I enter the command, sudo ./gem install rmagick, I get the following: Building native extensions. This could take a while... Successfully installed rmagick-2.12.2 1 gem installed Installing ri documentation for rmagick-2.12.2... Installing RD...

RubyGems - my system can't seem to find any remote gems to install

RubyGems newbie here, trying to install the 'less' gem. I type 'sudo gem install less' as instructed at http://lesscss.org/, and I get the following error: ERROR: While executing gem ... (Gem::GemNotFoundException) Could not find less (> 0) in any repository Alright, so I figure maybe I just need to update RubyGems. Trying 'gem...

Ruby geoip_city on Windows

Is there a way to get geoip_city, the Ruby gem, running on Windows? ...

Rails Question: Sqlite3 dll not found on windows (even the old 1.2.3 version)

I followed the suggestion here: and the gem seemed to install correctly, but when I ran rake:db:migrate from the windows command line, I got a full on pop up saying: "This application has failed to start because sqlite3.dll was not found. Re-installing the application may fix this problem" which is really weird, because normally (when ...

Rails requires RubyGems >= 1.3.2. Please install RubyGems and try again (I have rubygems 1.3.6!)

I'm running rails version 2.3.5 and rubygems version 1.3.6, when I script/server I get this error Rails requires RubyGems >= 1.3.2. Please install RubyGems and try again:http://rubygems.rubyforge.org any ideas how to fix this? ...

jruby rubygems update breaks jgem

Has anyone seen this: ?? No jgem command works at all?? Though jruby -S gem list does work. I'm using jruby 1.3.1 and Sun Java6 jre root@test:/usr/local: jgem --version 1.3.3 root@test:/usr/local: jgem update --system JRuby limited openssl loaded. gem install jruby-openssl for full support. http://wiki.jruby.org/wiki/JRuby_Bui...

Choosing gems to work with AWS

Suppose a service written with RoR starts to use AWS S3 to store some data. What is the best library to use for working with AWS S3? Currently the main two alternatives for me are: RightScale AWS Ruby gems http://github.com/rightscale/right_aws AWS::s3 http://amazon.rubyforge.org/ What are their main advantages and disadvantages? Wha...

Installing dnssd gem on Windows

Has anyone successfully built the dnssd gem on Windows? I get the following error when trying to build the c extension: C:\Users\Charles>gem install dnssd -- --with-dnssd-dir=c:/progra~1/bonjou~1 --with-dnssd-lib=c:/progra~1/bonjou~1/lib/win32 Building native extensions. This could take a while... ERROR: Error installing dnssd: ...

How to use hudson tracker with a Ruby on Rails project?

I am very new to ruby on rails.. working on my first project... am using Ankh SVN for source control... I want to use Hudson tracker also... I tried it on my own but not able to succeed... i have not used any build files at all... but when i hit build now it fails and when i see the console output it says U test\unit\product_t...