Displaying 20 results from an estimated 2000 matches similar to: "Rails 3 - Require - Path Not Found"
2011 Nov 16
0
Dicom integration
Hi.,
I integrate dicom in my rails application that purpose i install RMagick
gem then the following errors are came.
C:\Ruby187\bin>gem install RMagick
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing RMagick:
ERROR: Failed to build gem native extension.
C:/Ruby187/bin/ruby.exe extconf.rb
checking
2011 Nov 18
5
Puppet on windows: File resource problem
Anybody knows what this error, bellow, means, the target file,
C:/Splunk/etc/system/local/inputs.conf, does exist.
sometimes, if I delete the file, it does actually create it, but never
update it if it exists and changed...
The resource is defined as:
file { "splunk_inputs": owner => SYSTEM, group
=> SYSTEM, mode => 664, require =>
2012 Feb 29
4
Windows Puppet 2.7.12rc1-7-g281901e hands at end of run
I just installed the latest rc 1.7 to solve another issue I had. It
solved the issue, but I''m getting a different issue.
I''m running it interactively from an administrator command prompt. It
connects to the master puppet server, processes the configuration
items then gives an error. The interesting thing is that it never
returns to the command prompt. It just hangs. I have
2011 Jan 22
1
uninitialized constant ActionView::Helpers::TagHelper::ERB (NameError)
I am a new to ruby and rails and am trying to refactor some code with
rspec and have run into a problem that has stumped me for a few days and
I have searched google and ruby/rails forums to no avail so I really
hope somebody can help me out with this problem which I think may be
caused by a rails config problem. Anyway, I used ''rails new myapp'' to
make a new rails project and
2010 Dec 15
5
Having trouble testing :( "superclass mismatch" and can't load "test_helper"
I''m having trouble testing my Rails 3 application. Unit testing
doesn''t work. If I try ruby article_test.rb directly, I get a "no
such file to load" error, and if I try rake test:units or ruby unit/
article_test.rb I get this odd "superclass mismatch for class
ArticlesController" error!
I''m hoping I can get this settled...
My test files were
2010 Jun 13
5
script/server vs mongrel_rails start issue
I am having different results between when I start mongrel with script/
server and with mongrel_rails start.
When I run script/server to boot mongrel everything runs fine, no
errors.
When I run mongrel_rails start I get the following errors - verified
the problem on a fresh app and on two different environments (mac and
yes, windows server 2008). The actual line of fault changes but the
problem
2009 Oct 01
2
Installing RMagick on UBUNTU 9.04
I installed ImageMagick 6.5.6 and all seems to be installed ok.
I downloaded ImageMagick 6.5.6
I entered
$ ./configure
and everything seems OK. When I enter
$ identify -version
I get
Version: ImageMagick 6.5.6-6 2009-09-30 Q8 OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
I then enter
$ sudo gem install rmagick
I get
Building native extensions.
2010 Nov 25
1
Can't run tests...illegal switch in RUBYOPT: -F (RuntimeError)
Does anyone have any insight into why this is happening?
C:\Users\Family\workspace\myapp>rake test
(in C:/Users/Family/workspace/myapp)
C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F
(RuntimeError)
C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F
(RuntimeError)
C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F
(RuntimeError)
Errors
2011 May 25
1
can't load hpricot gem in rails 3
This is in windows ..
So from irb, I can load hpricot ok. (ruby 1.8.7)
C:\Users\Laurence\rails-play\plug-test>irb
irb(main):001:0> require ''hpricot''
LoadError: no such file to load -- hpricot
from (irb):1:in `require''
from (irb):1
irb(main):002:0> require ''rubygems''
=> true
irb(main):003:0> require
2010 Feb 03
7
could not find rmagick locally or in a repository
I unzipped simple captcha in vendor/plugins
Then I did
>rake simple_captcha:setup
Gave error:
rake aborted!
no such file to load -- RMagick2.so
SO I thought Rmagick has to be installed.
So downloaded
2.12.0 binary gem for Ruby 1.8.6 DT 2009-10-04 16:05
RMagick-2.12.0-ImageMagick-6.5.6-8-Q8.zip
Unzipped the file
Ran ImageMagick-6.5.6-8-Q8-windows-dll.exe
It installed the program in
2010 Dec 08
1
Help on install act_as_ferret on windows XP
Hi There!
Im trying to install act_as ferret on win xp, with this
environment:
winXP
ruby : 1.8.7
rails: 2.3.8
gem list:
abstract (1.0.0)
actionmailer (3.0.1, 2.3.8, 1.3.3)
actionpack (3.0.1, 2.3.8, 2.3.2, 1.13.6, 1.13.3)
actionwebservice (1.2.6, 1.2.3)
activemodel (3.0.1)
activerecord (3.0.1, 2.3.8, 2.3.2, 1.15.6, 1.15.3)
activeresource (3.0.1, 2.3.8)
activesupport (3.0.1, 2.3.8, 2.3.2, 1.4.4,
2011 Dec 09
1
Issue installing rjb, could not create MakeFile
Hello,
I''m having some problems when try to install rjb i get this message
C:\Users\PC1090\Documents\RJB\rjb-1.3.8>ruby setup.rb config
---> bin
<--- bin
---> lib
<--- lib
---> ext
C:/Ruby187/Ruby1.8.7/bin/ruby
"C:/Users/PC1090/Documents/RJB/rjb-1.3.8/ext/extconf.rb"
checking for jni.h... no
*** C:/Users/PC1090/Documents/RJB/rjb-1.3.8/ext/extconf.rb failed
2007 Nov 22
7
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:
2011 Aug 24
3
How to connect Ruby with MySQL (XAMPP)?
*Dear All:*
I need your help on following points.
1. Can I connect Ruby with MySQL in XAMPP server?
2. Could someone tell me that how to connect MySQL with Ruby? I have XAMPP
server installed and want to connect with ruby.
I am using Ruby1.8.7.
I tried following code:
require ''rubygems''
require ''mysql''
begin
# connect to the MySQL server
2006 Jun 30
3
gem Rmagick install problem on Linux
I get the following error when I try to install Rmagic (via gem) on
Linux. Do I need to install anyting before installing rmagic? This
worked seamlessly on windows. What the best way to install it on Linux.
I am on RedHat ES 3. /thanks
-thila
Attempting local installation of ''rmagick''
Local gem file not found: rmagick*.gem
Attempting remote installation of
2006 Dec 23
11
Frustrating "require" problems with RMagick
I am using RMagick in my app and am having problems in deployment. The
deployment machine (Fedora Core 5) can''t find RMagick unless I change
the "require" syntax from that used on the dev machine (OS X). And the
dev machine doesn''t like the syntax that works on the deployment server!
To wit:
[OS X]
$ script/console
Loading development environment.
>> require_gem
2011 Aug 22
2
Pure Ruby TCP Daemon
Hi all,
I created a "pure" branch on github that uses the code Heesob posted a while
back:
http://rubyforge.org/pipermail/win32utils-devel/2008-November/001274.html
However, I couldn''t make it work on my Vista laptop.
c:\Users\djberge\Repositories\win32-service\examples>ruby demo_daemon_ctl.rb
start
VERSION: 0.8.0
2010 Oct 13
1
Installation of rmagick --version '>= 2.13.1' on CENTOS
I have successfully installed the following components in my centos
server:
Ruby 1.8.7
Rails 2.3.8
Gem 1.3.7
paperclip --version ''>= 2.3.3''
will_paginate --version ''>= 2.3.15''
tlsmail --version ''>= 0.0.1''
but facing problem at the time of installation of
rmagick --version ''>= 2.13.1''
When I go for
2011 Dec 29
1
rmagick and imagemagick
I am having issues loading imagemagick and rmagick on webfaction.
I have installed a rails app called balder that organizes images.
my main problem is that i can''t seem to upoload the image sthrough balder.
balder uses imagemagick and rmagick
when i use the console and do this:
irb(main):003:0> require ''RMagick''
=> nil
I don''t think rmagick is