gem

Simple Rails 3 CMS Gem/Plugin?

Can anyone recommend a simple, lightweight CMS gem or plugin for Rails 3 that can easily be embedded into an existing app? ...

How does JRuby resolve gem paths in a jar file?

I've packaged a custom gem into a jar file which is being referenced by a JRuby script. I'm getting the following error: org.jruby.rack.RackInitializationException: JAR entry gems/sinatra-linkedin-auth-0.0.1-java/lib/sinatra/linkedin-auth.rb not found in /Users/bhaidri/code/nextgen-ui/dist/darwin-war/exploded-war/WEB-INF/lib/linkedin-g...

Converting non-Latin characters (bulgarian) to ASCII with Stringex

It looks like converting Cyrillic is specifically suited for the Russian language, however in a Bulgarian context it sounds funny. For example: "голем проблем" is converted to "goliem-probliem" :) Can I change how some of the characters are converted? ...

ruby difference engine

Looking for a Ruby differencing engine. So you can do some of the same things meld viewer does. For example you have this first set of code per line: String1 String2 String3 2nd set: String1 String3 String4 The diff would come out to show lines 2 and 3 are different. I already am using this one: http://github.com/pvande/differ...

Rails gem - geoipcity is not being included in the application

Hi, I installed the geoip_city gem, and i tested the gem in irb... Now when I am using the gem in the application I get an error uninitialized constant ApplicationController::GeoIPCity I guessed it is because I did not add the line require geoip_city So I tried adding the line to the function I used the code in, but then I got the er...

Bundler: forcing it to load from two different directories

Because of IT requirements at my company any gems that require compilation have to be installed by IT engineers, and any pure ruby gems are installed into a subfolder of the project. To satisfy these needs, we seperated out our gems into various groups: source 'http://rubygems.org' gem 'rails', '3.0.0' gem 'activerecord-oracle_enhanced-...

Bundler and gems on github

So when you have bundler install a gem from github, it doesn't actually get installed, does it? gem list won't list those gems. Which brings me to my conundrum: I'm working on a script that wants to use one of these gems that don't actually get installed. Now what? I could check out the github repo manually and build/install the gem, b...

What is up with my gems?

ok so i installed a gem and then ran script/server and for some reason its still telling me the gem is not installed sudo gem install paypal_adaptive Successfully installed paypal_adaptive-0.1.0 1 gem installed matt@macBookPro ~/Sites/somesite[master (Time to Commit)]$ script/server => Booting WEBrick => Rails 2.3.8 application startin...

installing gems using rvm

When trying to install gems using rvm i get this error $ rvm gem install sproutcore ERROR: While executing gem ... (Errno::EACCES) Permission denied - /home/tee/.gem/specs but it says on the rvm site that you should not use sudo so I'm not sure whats wrong with my setup when i type $GEM_HOME it shows that the directory is pointing t...

Why i cannot see the icons from a metamodel instance at eclipse with GEMS

I have created an eclipse plugin for my metamodel throught the emf+gmf = gems eclipse framework.When i am testing the metamodel and what i mean is to create an instance of my model with eclipse palette etc everything works fine.The way that i am testing it is throught the "Overview" tab of the plugig.xml file (PDE) , i clicked on "launch...

How can I get control of gem installation locations?

Lots of confusion and difficulty related to gem installation. My gem environment: RubyGems Environment: - RUBYGEMS VERSION: 1.3.7 - RUBY VERSION: 1.8.7 (2010-08-16 patchlevel 302) [i686-darwin10] - INSTALLATION DIRECTORY: /opt/local/lib/ruby/gems/1.8 - RUBY EXECUTABLE: /opt/local/bin/ruby - EXECUTABLE DIRECTORY: /opt/local/bin...

Gem installation ERROR: Failed to build gem native extension.

I have latest Xcode Tools 3.2.4 installed. Just whenever I try to install any gem, for example, the MySQL gem, such error occurs: VNMB:rails2app ABC$ sudo env ARCHFLAGS="-arch i386" gem install mysql -- \ --with-mysql-dir=/usr/local/mysql --with-mysql-lib=/usr/local/mysql/lib \ --with-mysql-include=/usr/local/mysql/include Pas...

Getting "uninitialized constant Zookeeper (NameError)" while trying to use zookeeper gem

I'm trying to use zookeeper gem and example code from README fails: require 'rubygems' require 'zookeeper' z = Zookeeper.new("localhost:2181") z.get_children(:path => "/") causes error: ./zookeeper.rb:3: uninitialized constant Zookeeper (NameError) from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from...

ImageScience for Windows on Ruby 1.9

Has anyone have any success installing ImageScience on Ruby 1.9 for Windows? Unfortunately, I am currently using Ruby 1.8 Windows for my development. I want to upgrade to Ruby 1.9 for the performance improvement. I was able to install almost all of the gems, but I haven't had any luck with ImageScience. Rob Anderton had put in useful i...

Windows Gem Installation

Hi all, I'm a newbie to Ruby on Rails. I had a quick question about installing gems. I'm using a windows 7 64 bit machine with Ruby 1.9.2 and Rails 3.0 and I'm trying to install the gravatar_image_tag gem. gem install gravatar_image_tag After I run that it says its succcessful. But when I try to do this: gravatar_image_tag -v ...

gem server: How to update gems with missing rdoc?

I really like gem server command which bootstraps the webserver with local RubyGems Documentation Index. The only problem I have: some gems don't have rdoc files. How can I add missing rdoc(all gems are mainstream gems, not my own)? Installed via Bundler; Rails 2.3.5 ...

How to install .gem files in Ubuntu 9.04

Hi, I am new to rails . i am trying to install gems from the source . I AM HAVING ClothRed-0.4.1.gem file . How can i install this gem manually . This .gem file had data.tar.gz and metadata.gz file .. ...

Rails application runs from terminal but not from Netbeans - missing gem error

Hello! Been trying to get my project up and running on an Ubuntu Virtual Box machine. Everything works fine from the terminal, but when I try to run my application from Netbeans I get the following error: => Booting WEBrick => Rails 2.3.5 application starting on http://0.0.0.0:3000 /home/soroush/.gem/ruby/1.8/gems/rails-2.3.5/lib/rails...

reset my gem enviorment

I am currently unable to install any gems because I keep getting the follwiing error message ERROR: While executing gem ... (Errno::E045) Operation not supported - /home/rocker I am using sudo command. I believe the issue is in my gen env has info that is no longer correct RubyGems Environment: RUBYGEMS VERSION: 1.3.7 RUBY VERS...

Installing Ruby on Ubuntu 10.10 using RVM, problem with gem

I've decided to start fresh with ubuntu 10.10. I started with installing git and then installing rvm from the git repo. everything worked fine and I compiled and install ruby 1.8.7 and ruby 1.9.2 the gem is also installed and I run gem -v but when run gem list or gem install rake I get the following error ERROR: Loading command: li...