Displaying 20 results from an estimated 12000 matches similar to: "Could not find [GEM] locally or in a repository"
2009 Nov 03
1
Installing Feedzirra (and Curl/Curb) on Windows Vista
I''m trying to use Feedzirra within my rails app and am having a
mountain of trouble trying to get the gem installed.
Running "gem install pauldix-feedzirra" gives me the following output.
ERROR: Error installing pauldix-feedzirra:
ERROR: Failed to build gem native extension.
"C:/Program Files/Ruby/186-26/bin/ruby.exe" extconf.rb
checking for curl-config...
2009 Sep 04
12
Changing cursor while waiting for remote function response?
Hello,
Google and the search function didn''t help me this time. Is it possible
to change the mouse cursor while waiting for a response of a remote
function call?
--
Posted via http://www.ruby-forum.com/.
2009 Mar 28
10
Use fixtures within fixtures?
Heya,
I''m using globalize2 and have following problem with my fixtures:
categories.yml:
one:
parent_id: two
color: #ff00aa
two:
color: #00ff11
three:
parent_id: two
color: #ab00ab
category_translations.yml
one-en:
id: one
locale: en
name: Cars
one-es:
id: one
locale: es
name: Coches
two-en:
id: two
locale: en
name: Start
two-es:
id: two
locale: es
2009 Mar 25
6
Hash with key and value from ActiveRecord?
Heya,
I think I have thinking barrier. I just want a simple hash out of an
ActiveRecord.
@attributes = Attribute.find_all_by_character_id(@character).hash {
|u| [u.name, u.value] }
and I would like to access it like
@attributes[:health]
but it doesn''t work. Anyone can help me out with that?
--
Posted via http://www.ruby-forum.com/.
2011 Oct 30
2
Could not find rails (>= 0) amongst [bundler-1.0.21]
Hello, I''m new to Ruby and unix/linux development (although been
building .net apps for years).
I''ve almost completed my trek to install Rails ... looks like I have one
final hurdle. After installing rails I try the ''rails -v'' command and
it fails. Any help here would be deeply appreciated.
Here''s the output from my bash session:
bash-3.2$ ruby
2010 Apr 23
3
rails-3.0.0.beta3 install error on ri 'lib' ENOENT
Hi,
I was getting an odd error installing rails-3.0.0.beta3 on a fresh
Ubuntu 10.04 install. The same exact error was occurring on my Ubuntu
9.10 install, so I''m sure it isn''t something specific to the Ubuntu
version (nor beta for that matter).
This is the error:
mike@ubuntu:~/rubygems-1.3.6$ sudo gem1.9.1 install rails --pre
Successfully installed activesupport-3.0.0.beta3
2010 Aug 22
7
Rails 3: Error saving an object with no useful information
Hey,
I''m kinda desperate cause I''m getting an error and have no idea how to
fix this since it doesn''t give me any information hinting where the
problem is:
irb(main):054:0> reload!;User.last.save!
Reloading...
NameError: undefined local variable or method `to_ary'' for
#<User:0x4ed5d20>
from
2010 Jan 30
12
Best way to connect various applications?
Good evening,
I''ve got three different self-programmed Rails application I need to
connect and manage with a 4th "supervisor" application.
There''s a wiki application, there''s a shop application and there''s a
business directory application all with seperate user database etc.
What I want now is one single user table so it can be all controlled by
one
2009 Nov 17
3
gem install rails - errors MAC OSX (snow leopard)
This produced quite a mouthful of text.
I''m stuck on the error messages and wondering if I messed something
up. Any advice would be very appreciated. Thank you.
dust:~ Lex$ gem install rails
WARNING: Installing to ~/.gem since /Library/Ruby/Gems/1.8 and
/usr/bin aren''t both writable.
WARNING: You don''t have /Users/Lex/.gem/ruby/1.8/bin in your PATH,
gem executables
2007 Jan 20
0
actionrecord gem update produces Zlib::BufError
OS = MS-WinXPproSP2 with hotfixes up to date
Dialogue:
--->
C:\>gem update
Updating installed gems...
Bulk updating Gem source index for: http://gems.rubyforge.org
Attempting remote update of actionmailer
Install required dependency actionpack? [Yn] y
Successfully installed actionmailer-1.3.1
Successfully installed actionpack-1.13.1
Installing ri documentation for actionmailer-1.3.1...
2008 Jun 25
4
Error with mongrel_rails start
When I make an empty Rails web application, and go through the steps
to create/include a database, and scaffold, mongrel_rails start (or
ruby script/server) works just fine. However, I attempted this with a
pre-existing web app and I got some errors.
First, I gathered the app''s folder (checked the contents, it has all
the folders plus one extra: components) and placed it under ruby/
2006 Jan 27
2
Getting gem rdoc via ri?
Guys,
I''m working with the new RadRails release (0.5.3), which has a very
nifty inclusion of ri courtesy of RDT.
Problem is, although I''ve generated rdoc for all installed gems with
"gem rdoc --all", it''s not accessible through ri. I see some posts here
and there about rimport...is this still the necessary way to incorporate
the rails rdoc into ri?
2011 Sep 07
6
FactoryGirl doesnt produce unique names?!
Hey,
I got following very simple test case:
require ''spec_helper''
describe Country do
it "should create a new instance given valid attributes" do
Factory(:country)
end
end
Factory looks like:
Factory.sequence :country_name do |n|
"Country #{n}"
end
Factory.define :country do |c|
c.name Factory.next(:country_name)
c.nationality "Foo
2006 Jul 09
5
Tip: searchable Rails api docs from within RadRails!
Just a tip for those of you using RadRails. If you install the new
rubygems 0.9.0, you can type "gem rdoc --all --ri" at the command line.
Then, open up RadRails, go to Window->Preferences->Ruby->Ri/rdoc and
change your ri path to the path to gemri (which gemri). Finally, open up
your RI Eclipse view and voila...indexed, searchable rails api docs at
your finger tips!
This
2010 Sep 12
11
Rails 3: finding a record by name in multilingual app
Hello,
I upgraded my application from Rails 2 to Rails 3 and ran into a
problem. In rails 2 I could use the english name of the record to find
it like:
Page.find_by_name("Welcome")
even though the user chose German as the language (which of course
showed the German welcome page.
Eversince I switched to Rails 3 (default_locale still :en) I can''t find
anything by giving the
2008 Nov 01
2
query FXRuby by ri
Hi Don,
Thanks for the tips.
But it works on an old XP computer but NOT on the new Vista.
I also notice that I can browse the classes from Fxruby when I use fxri or ri on the old computer. I see nothing about FxRuby''s stuff when I use fxri or ri on the new Vista. But I can use gem server to see the Rdoc about FxRuby''s classes on both computers. It looks Ruby doesn''t
2009 Dec 20
3
Noob Install Failed 0.0.0.0:3000
Happy Holidays,
I am new to RoR and have just run through the install, which well
seemed to be vaquely documented as some ''Do this'' type of thing on
the http://rubyonrails.org/download page.
download gem
setup.rb
gem install rails
rails path/to/your/new/application
cd path/to/your/new/application
ruby script/server
and then ( drumroll ) ....
Follow the instructions on
2008 Oct 24
2
Rails problem
What wrong?
# gem install rails -s http://gems.rubyonrails.org -v 2.2.0
Successfully installed activesupport-2.2.0
Successfully installed activerecord-2.2.0
Successfully installed actionpack-2.2.0
Successfully installed actionmailer-2.2.0
Successfully installed activeresource-2.2.0
Successfully installed rails-2.2.0
6 gems installed
Installing ri documentation for activesupport-2.2.0...
2007 Feb 07
1
Auto-installing Gems via boot.rb causes errors under Mongrel
Hi,
I''m trying to make my Rails app auto-install my required gems, by
invoking the gem installation in boot.rb. I''ll use the ActionMailer
gem as an example:
...
system "sudo gem install actionmailer --version=1.2.5 -y"
...
Problem is that this fails on the first invocation of Mongrel - it
can''t find the gem. However, if I kill and restart mongrel (with the
2007 Feb 09
0
mongrel, gem & cgi_multipart_eof_fix updates
This might just have affected my particular setup but thought it might
be worth noting for others.
>gem -v
0.9.2
>gem list --local
cgi_multipart_eof_fix (1.0.0)
Fix an exploitable bug in CGI multipart parsing which affects Ruby
<= 1.8.5.
mongrel (1.0.1, 1.0, 0.3.20, 0.3.18, 0.3.13.4)
A small fast HTTP library and server that runs Rails, Camping, Nitro
and Iowa apps.