similar to: Freezing Architecture-Dependent Gems such as Rmagick, Ferret, Unicode

Displaying 20 results from an estimated 3000 matches similar to: "Freezing Architecture-Dependent Gems such as Rmagick, Ferret, Unicode"

2006 Mar 20
9
jEdit Snippets for Ruby on Rails
----------------------------------------------------- Announcing: jEdit Snippets for Ruby on Rails ----------------------------------------------------- I thought I''d "give a little back to the community" and whip up some SuperAbbrev files for ruby and rhtml that mimic all of the Textmate Rails bundle snippets. Note: This was totally inspired by Textmate and the syncPEOPLE
2006 Feb 03
33
[ADV] Rails Recipes Beta Book is now available
I''m delighted to announce that Chad Fowler''s new book, Rails Recipes, is now available as a Beta Book. This is a great title for folks who know Rails, and for folks who want to get the most out of Rails. It contains detailed recipes for doing real-world things with Rails, all illustrated with working code. Some examples are drawn from Rails 1.1, the rest from Rails 1.0.
2006 Jan 24
4
Looking for a Ruby, ROR code sample or info
Hi all, I am looking for a code sample that shows how to execute a host-command using Ruby or ROR and then read the output. Thanks, Onno This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any
2006 Feb 23
11
Need help for simple RoR code.
I try a ''hello world'' demo here,It only show a ''hello word'' on web page you can see all my codes and structure here http://www.smtservers.com/demo/ I want to access the ruby app like this http://www.smtservers.com/demo/say/hello but I get a 404 error. Please let me know what problem the code have I am new for RoR. I am not sure the site structure is ok or
2006 Mar 31
2
Model inheritance is borken in Rails1.1
following is model code in file order_payment.rb class OrderPayment < ActiveRecord::Base belongs_to :order validates_presence_of :amount, :no end class LC < OrderPayment end class LC30 < LC end class LC60 < LC end class LC90 < LC end class LC120 < LC end class TT < OrderPayment end class CAD < OrderPayment end and following is error i''m getting with
2006 Oct 13
6
If I stub do I have to mock as well?
Hi, I''m new to mocha and stubba but eager to learn. I have a rails functional test in which I would like to stub an instance method of particular class to always return true. I tried the following: def test_post_checkout Order.any_instance.stubs(:successful?).returns(true) post :checkout assert_response :redirect assert_equal "Checkout was successful.",
2006 Apr 07
2
Functional testing Pretty Urls
Anyone know how to how to test pretty urls (set through routes.rb)? I want to don''t use get :action, because the routing changes how a certain action is requested. How does one go about testing this? Thanks, Tim Case tim@karmacrash.com -------------- next part -------------- An HTML attachment was scrubbed... URL:
2005 Dec 18
2
EdgeRails with other Gems like RMagick
I am using EdgeRails, and have some of the plugin''s using gems such as Rmagick which are included through a command similar to "require_gems ''rmagick''". Curious how to handle such attempts at inclusion when I am no longer bound to the system gems and am using the code strictly within vendor/rails and such. Is there a way to point require_gems to another
2006 May 30
3
act_as_dom_tree
im thinking about extracting this into a plugin, but it currently relies a couple gems and another rails plugin. is there a dependency management feature with ./script/plugin? i never could get it to check anything out of SVN let alone install dependent stuff... -- Posted via http://www.ruby-forum.com/.
2006 Aug 09
5
HELP!!! New to Ruby
Hi all, I am new to Ruby programming language. I know that require ''gemname'' is used for using some gems in our application. I have a sample application developed in Ruby on Rails which have the following lines of code: require ''zlib'' require ''stringio'' Can you plz help me to know what these gems are used for. It would be very helpful if
2011 Mar 16
19
Uninitialized constant Files::Magick -still around
Hi there, I''m solving the problem about the plugin Magick. In my app in Gemfile I''ve follwoing: require ''rubygems'' require ''mongo'' require ''RMagick'' include Magick and in a model Files: class Files def self.save(upload) ... img = Magick::Image.read(''public/data/nature6.jpg'').first end end
2006 Mar 26
7
MVC Design
Hello I have been using LAMP for the last 6 years and i am now finally making the choice to move over to RoR. This MVC stuff is all very new to me. As i have no trouble understanding ruby code... or any code for that matter.. my challange comes in getting my head around the MVC stuff. Is there any demos articles that you guys have seen that takes a site or a business breif and explains where
2012 Feb 06
3
Bundler - how to re-install all gems after os update?
I had a working Rails setup using RVM on Ubuntu 11.10 with /home on a separate partition. I installed Ubuntu 12.04 (Alpha) on the root partition, leaving the home partition unchanged. I now find that some things don''t work, I think due to the fact that the system has been updated and versions of libraries have changed. For example I get: $ rails c
2010 May 06
0
how to find installed gem is rmagick 2 or rmagick 1?
Dear Friends, I need to install rmagick2. when i give gem install rmagick, rmagick 2.13.1 is installed. But how do i find whether its rmagick 1 or rmagick 2? Is is the series starts with rmagick 2.... belongs to rmagick 2 & series starts with rmagick 1.... belongs to rmagick 1? Thanks in advance Regards, Jose Martin -- Posted via http://www.ruby-forum.com/. -- You received this
2006 Jan 02
5
How can one use GRUFF with locomotive ( I guess there is a wider question here, also)
Hi: I love Locomotive and use it exclusively for my rails projects. I''d like to install GRUFF and give it a try (a graph image creation package). I know I can do sudo gem install gruff from the command line for normal ruby and rails. How do I make gems available to Locomotive? bruce
2006 Mar 20
22
Applicationwide BusinessObject/Hash
Hello, I''m a total newbie, so please forgive my ignorance. I am trying to port an application from java to ruby. In order to do that, I need to put the object containing all the business logic into something like application scope. The nicest solution would be just to have an application wide hash, where I can put all kinds in of objects. Where and how would I instantiate such an
2006 Apr 17
0
RMagick installation error.
Hi everyone, I don''t know if it''s the right place to ask you this question. Anyway, now I''m trying to install RMagick, under Ubuntu Linux, in order to have an image resizing using RubyonRails. I followed the description how to install RMagic: http://rmagick.rubyforge.org/install-linux.html Everything works, as it''s written, but during the last point (Step 3:
2007 Nov 22
0
Problem Installing RMagick with Instant Rails on Windows
I''m running Instant Rails 1.4 on Windows XP with SP2. I have downloaded the Windows binary version of RMagick from the RubyForge page. Specifically, I have downloaded: 1.14.1 binary gem for Ruby 1.8.5 (fixed for RubyGems 0.9.4) RMagick-1.14.1_IM-6.3.0-7-Q8-2.zip I have removed any older versions of RMagick using: gem uninstall RMagick I have updated my version of rubygems. I
2006 Jan 23
2
require rmagick
Hello, I''m trying to use rmagick in a helper script (for auto-generating image sizes) and I''m not sure where I should be calling ''require''. currently I have: require ''RMagick'' at the top of my controller: class FilmsController < ApplicationController require ''RMagick'' but that''s giving me an error:
2006 Aug 05
0
RMagick and FastCGI on Windows
I''m having trouble getting RMagick to work on my Apache/FastCGI setup. If I top Apache and start WEBrick on the exact same app/dirs, it works fine. I installed RMagick following the instructions here: http://rmagick.rubyforge.org/install-faq.html#win That gives me: C:\ruby\lib\ruby\gems\1.8\gems\RMagick-win32-1.9.2-mswin32\lib