What's the point of freezing your Rails version/gems?
What does that mean? In the instructions for a project, it said to "freeze the Rails gems". Is that different from freezing the Rails version? What's freezing about? ...
What does that mean? In the instructions for a project, it said to "freeze the Rails gems". Is that different from freezing the Rails version? What's freezing about? ...
I have an older Rails app that I need to run. But I have the latest version of Rails. When I try to run this older app it says: Missing the Rails 1.99.0 gem. Please gem install -v=1.99.0 rails But when I run the command: gem install -v=1.99.0 rails ERROR: could not find gem rails locally or in a repository Not sure what...
I'm new to Ruby on Rails, and I'm in the process of setting it up on my OS X system. Most guides seem to recommend using MacPorts to install Ruby and RubyGems, then using RubyGems from there on to install gems. I've noticed that MacPorts also offers many gems (though they're missing some and others seem a few releases behind), and I'm wo...
I'm a newbie who is creating a lightweight photo showcase site written on the cake php framework with RoR.i plan to use effects from the scriptalicious library, as well as jquery for photo display & transition effects. As the site will be very photo-rich, what programming steps can i take to ensure that all photos and other pages load q...
How do you figure out what the older versions are for a particular Ruby Gem? I need to revert to an older version of the rack gem but I'm not sure which versions are available. ...
Is there a web site that indicates which gems work on rubinius (or other implementations of ruby), like isitruby19.com indicates which gems work on ruby 1.9? (I'm curious about heckle working with rubinius in particular) ...
I'm trying to get the mysql gem working on OSX 10.5.6, and feeling stymied. % gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config Building native extensions. This could take a while... Successfully installed mysql-2.7 1 gem installed % irb -rubygems -rmysql irb> Mysql.init dyld: lazy symbol binding failed: Symbol...
I am relatively new to ruby, and I've been amazed with some of the Gems available. Sinatra comes to mind (one of the simplest ways to create working RESTful interfaces I've ever seen). So I was wondering, what are some of the coolest or most amazing Gems my fellow programmers have found, that a newbie Ruby guy should look at. Im not l...
A lot of questions have been asked about gem support in Shoes, but none have answered where to put them. I've got Shoes Raisins 1134 on Windows XP, and I've downloaded dbi-0.4.1.gem and am trying to get the following to work: Shoes.setup do gem 'dbi' end require 'dbi' Shoes.app ... end When I run this, I get the dialog that sa...
I have seen two commonly used techniques for adding the directory of the file currently being executed to the $LOAD_PATH (or $:). I see the advantages of doing this in case you're not working with a gem. One seems more verbose than the other, obviously, but is there a reason to go with one over the other? The first, verbose method (coul...
In my Ruby program, I'm trying to lazy-load a library (crack for the curious). If I do this: require 'rubygems' require 'crack' Everything is working fine. However, when I try this: require 'rubygems' autoload :Crack, 'crack' A LoadError is raised. (no such file to load -- crack) Why is this error being raised? Is it because 'cra...
When I run gem install <somegem> command the gem utility tries to access my home directory. It contains some non-latin characters and installation fails because of that. For example: E:\ruby\bin>gem install <somegem> ERROR: While executing gem ... (Errno::ENOENT) No such file or directory - C:\Documents and Settings\<user> I...
In the Compass screencast at 23:08 Chris Eppstein starts editing a file called config.rb, in his pure Compass project. Chris uses this file to configure relative path names in his images using the *img_url()* function (which must be undocumented as I can't find anything about it, in the mailing list or on the website.). I'm working on ...
I get this error when trying ruby script/console "Rails requires RubyGems >= . Please install RubyGems and try again:" I expect this has something to do with the $PATH, however, I don't know what to do? I'm running ruby 1.8.6 and rails 2.3.2. I'd appreciate any help, thanks! ...
I am beginner of Ruby on Rails and use Windows for development. I do the following steps: 1. Download Ruby v.1.9.1 ftp://ftp.ruby-lang.org/pub/ruby/binaries/mswin32/ruby-1.9.1-p0-i386-mswin32.zip Extract it and put it into C:\ruby 2. Download the latest Aptana and install it 3. Install the RadRail plugin in Aptana. 4. Set the ruby path ...
Same as Title said: What is the benefit for freeze gems in Ruby on Rails? ...
Possible Duplicate: What are the "Must Have" Ruby Gems There are a load of great Rubygems out there that do some amazing things. In fact, I sometimes wonder what I'd do without Rubygems - they certainly give a load of appeal to Ruby and Rails. What are you favorites, and what would you recommend to install? ...
For any gem that has dependencies, I get the following (with the names changed as applicable): Attempt 1: sudo gem install mojombo-jekyll -s http://gems.github.com/ ERROR: Error installing mojombo-jekyll: mojombo-jekyll requires RedCloth (= 4.1.0, runtime) Attempt 2: sudo gem install mojombo-jekyll -s http://gems.github.com...
I have a custom Ruby library directory that I'd like to have automatically added to Ruby's load path whenever Ruby is executed. I know I can use the -I option to Ruby, but I'm wondering if there is something like an environment variable that I can set that will globally determine Ruby's load path. As an aside, my high level task is to ...
I have not found a tab-completion script for RubyGem in Bash/Zsh. Where can you get the tab-completion script for RubyGem in Bahs/Zsh? ...