What's the difference between Selenium and selenium gems?
A newbie question on Selenium for Ruby. What's the difference between "gem install selenium" and "gem install Selenium"? I'm trying to figure out which one I should install. ...
A newbie question on Selenium for Ruby. What's the difference between "gem install selenium" and "gem install Selenium"? I'm trying to figure out which one I should install. ...
I have a plugin that must be loaded before resource_controller. The reason is that Resourcecontroller tries to load ApplicationController and it depends on the said plugin (and will fail to load if plugin's init.rb was not loaded yet). The problem is that ResourceController comes from a gem and not a plugin. Is there a way to load plug...
I am attempting to deploy a RoR app using Passenger onto my DreamHost hosting account, but am having trouble getting it up and running. My application requires two custom gems 'amazon-ecs' and 'nokogiri.' As per the instructions on the DreamHost wiki (http://wiki.dreamhost.com/Freezing%5FGems) I froze the gems to vendors by coding them ...
I have been trying, quite unsuccessfully, to run henrik's fork of the jekyll static blog generator on ubuntu 64 bit. I just can't seem to figure this out and I've tried a bunch of different things. Thanks!! The base stats of my machine: Ubuntu 9.04, 64 bit, ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux], rubygems 1.3.1. When I ...
My Rails app uses the TMail plugin, but it requires a modification to Attachment.rb. The modification is recognized and loaded by Rails on my development machine, but in the production environment on my hosting provider (Rails Playground), the system version of TMail is loaded and not our custom version. Online document about the best ...
I've found the whenever gem quite useful for working with cron from Ruby. Does anyone know of a similar project for at/batch? ...
According to this post, requiring rubygems is an antipattern. require 'rubygems' The argument seems to boil down to this: When I use your library, deploy your app, or run your tests I may not want to use rubygems. When you require 'rubygems' in your code, you remove my ability to make that decision. I cannot unrequire ru...
New to rails...so bare with me. I successfully installed and set it up searchlogic for basic (keyword) searching. I have the following problem: @search = Proposal.search(params[:search]) @proposals = @search.all The above code works properly if I type in a keyword such as "red". It will bring up everything with red keyword. Or if I t...
Greetings everyone: I would love to get some infomation from a huge collection of Google Search Result pages. The only thing I need is the urls inside a bunch of html tags. I cannot get a solution in any other proper way to handle this problem so now I am moving to ruby. This is so far what I have written: require 'net/http' require...
Running Snow Leopard. Tried uninstalling, and re-installing. Still getting the same error whenever I run a rake task. mbpro:redmine shereef$ ruby -v ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10.0.0] mbpro:redmine shereef$ rails -v Rails 2.3.4 mbpro:redmine shereef$ which rails /usr/local/bin/rails mbpro:redmine shereef$ gem...
I've recently run into an issue with mod_passenger and gems. I have a couple of gems install and I can find them in my /opt/ruby-enterprise/lib/ruby/gems/1.8/gems directory. One is will_paginate and the other is rmagick. For some reason, when my rails app starts up, it finds will_paginate just fine, but says it can't find rmagick. I...
I just ran a git add -A on my first git project. I got back about a thousand responses: "warning: LF will be replaced by CRLF" as it went through each file (Ruby files, some are gems). I deleted my .git directory and tried to disable this default setting by typing this command: git config core.autocrlf false Then I tried ...
Hi guys, Basically what I need is to install rubygems 1.3.5 on a machine (Debian) with 1.2.0 installed and having no root access. What I've done so far: installed rubygems into $HOME/rubygems and set up GEM_HOME + added bin to the path. So running "which gem" shows me the new binary, not the old one. Also when I gem install something, ...
I'm having trouble getting a working rails console, and I'm not sure why. I've tried to distil my issue and the console output below sums it up : capistrano@dev:/webapps/cts/current$ ./script/console Loading development environment (Rails 2.3.4) Rails requires RubyGems >= 1.3.2 (you have 1.3.0). Please 'gem update --system' and try...
I already removed all environment variables and ruby/ironruby directories and reinstalled it from scratch. And then I installed mocha through igem. Here are my outputs. $ ir IronRuby 0.9.1.0 on .NET 2.0.50727.3082 Copyright (c) Microsoft Corporation. All rights reserved. >>> require 'mocha' :0:in `require': no such file to load -- moch...
I have text input I get from a variety of sources which is not HTML but is simple text. I've tried using Redcloth to fit this with HTML tags to that it integrates nicely into my site, but it doesn't get bullet points or paragraphs... I checked around an found some text helpers built in, but those also didn't do the job. http://api.ru...
I already installed the following: imagemagick libmagickwand-dev but still i get this error. ====================================================================== Mon 05Oct09 19:36:06 This installation of RMagick 2.12.0 is configured for Ruby 1.8.7 (i486-linux) and ImageMagick 6.4.5 Q16 ============================================...
When trying to install the mysql gem from cPanel on my website, I get an error saying that the gem requires Ruby >= 1.8.6. This is a shared server and the version of Ruby is 1.8.5 and can't be upgraded. I do not have shell access and it seems the only way for me to install a gem is through the list of gems within cPanel. How can I get m...
I have installed a GEM called "Ziya" using the terminal in Mac OSx. However, when I open the application using the Netbeans, it says that the GEM cannot be found. If I install Ziya using the GEM manager, I get the following error and the GEM doesn't get installed, WARNING: Installing to ~/.gem since /Library/Ruby/Gems/1.8 and ...
I'm having trouble getting rubygems to work in my Rails app. Specifically, I'm trying to use the json gem, documented here: http://flori.github.com/json/ I can successfully use JSON.parse() in IRB and script/console but not in my rails app. I know it's some combination of config.gem 'json' in environment.rb and other things, but can't...