Displaying 20 results from an estimated 80000 matches similar to: "rubygams"
2008 Sep 16
8
rspec, Rails 2.1.0, rubygems, Mac OS X Leopard - rubygems does not recognize latest version
I''m trying to run some specs on my Mac OS/Leopard machine (10.5.5) but
rubygems won''t allow it:
$ spec spec/models/my_spec.rb
Rails requires RubyGems >= 0.9.4 (you have 0.9.3). Please `gem update
--system` and try again.
...but I already have the latest & greatest installed:
$ gem search --local rubygem
*** LOCAL GEMS ***
rubygems-update (1.2.0, 0.9.5)
Tue Sep 16
2008 May 09
2
Getting an error when trying to create a new application..
I''m new to Ruby/Ruby on Rails. I''m trying to create an application and
am getting this error:
C:\InstantRails\rails_apps>rails demo
C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:379:in
`report_activate_
error'': RubyGem version error: activesupport(2.0.2 not = 2.0.2.9216)
(Gem::LoadE
rror)
from
2008 Apr 04
2
can't install rails. gem zlib crc error
hi all
i''m trying to install ruby on rails on my debian server. i didn''t use
apt-get. i installed everything from source. i used this tutorial
(without PD-Admin): http://railswiki.de/Ruby_on_Rails_auf_einem_Debian_Server_installieren
now i can''t install rails over gem, i''m getting this zlib crc error:
root@co2:~# gem install rails --include-dependencies
2007 Apr 23
3
Troubles with using gems in Rails
Hi!
I''m observing some problems using gem inside Rails. My understanding is
that after following sequence in irb:
$ irb
irb(main):001:0> require ''rubygems''
=> true
irb(main):002:0> require ''active_record''
=> true
irb(main):003:0> gem ''acts_as_taggable''
=> true
I should have access to acts_as_tagable mixins, like:
2007 Nov 21
3
Cannot freeze gems
Running rake rails:freeze:gems I got the following error:
[root@WiNN-Mesh web_interface]# /usr/local/bin/rake rails:freeze:gems
--trace
(in /usr/sbin/web_interface)
** Invoke rails:freeze:gems (first_time)
** Execute rails:freeze:gems
Freezing to the gems for Rails 1.2.5
rm -rf vendor/rails
mkdir -p vendor/rails
cd vendor/rails
rake aborted!
uninitialized constant Gem::GemRunner
2008 Apr 26
1
gem fetching error
I am trying to install some application using gem, but I keep on getting
the error. I tried with ''gem clean'' and ''gem update''. The latter gives
the following error (the same error is replicable when I try any ruby
applications):
# gem update --debug
Exception `Errno::ENOENT'' at
/usr/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:51 - No such file or
2008 Jun 23
12
From Instant Rails 2.0 to Rails 2.1.0
hi,
I have installed Instant Rails 2.0 on my machine which comes with
Rails 2.0.2. Now I want to update my Rails to version 2.1.0. So I do
gem update rails and It seems to be fine. But when I check the version
of my Rails I get the following message:
>rails -v
C:/RoR/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:578:in
`report_activate_error'': RubyGem version error: activesupport(2.0.2
not
2008 Nov 07
11
Rails requires RubyGems >= 1.1.1 : problem
Hello,
On my local machine (Mac OS X 10.5.5), I get the following error when I try
to run script/server start :
"Rails requires RubyGems >= 1.1.1 (you have 1.0.1). Please `gem update
--system` and try again."
The Rails app was a former 1.2.6 upgraded to 2.1, and it worked fine.
I''ve run the rake rails:update command.
If I create a new Rails app, it starts with the command
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
2007 Apr 11
1
error about "gem install mysql -r "?
ruby 1.8.6 (2007-03-13 patchlevel 0) [i486-linux]
Rails 1.2.3
-------------------------------------------------------
debian:/home/ror# gem list -l
*** LOCAL GEMS ***
Service layer for easy email delivery and testing.
actionpack (1.13.3)
Web-flow and rendering framework putting the VC in MVC.
actionwebservice (1.2.3)
Web service support for Action Pack.
activerecord (1.15.3)
2007 Feb 05
4
rubgems in user directory - HELP!
I''m trying to install ruby on rails to a host server that I don''t have
root access to. The server already has ruby.
I''ve followed the info on these two pages for installing rubygems in a
non-root user directory:
http://rubygems.org/read/chapter/3
http://wiki.rubyonrails.com/rails/pages/HowToUseMultipleGemRepositories
rubygems appears to be installed correctly but when
2008 Nov 03
2
Unable to install sqlite3
I am new to Ruby. Try out a web application, but when I tried to access
the page, it has the following error (see ERROR 1 below).
So I thought I may have not installed "sqlite3" and tried downloading
"sqlite_3-6-4.zip" and "sqlitedll_3-6-4.zip", unzipped it and place it
in ruby''s bin directory. Then I run the command:
gem install sqlite3-ruby
But found
2008 Jun 22
6
Installing Rails
Having a god-awful time installing Rails. I started with the
instructions found on this page:
http://articles.slicehost.com/2007/11/23/ubuntu-gutsy-mysql-and-ror
I get the following error:
vbfischer@ubuntu:~$ sudo gem install rails
[sudo] password for vbfischer:
Bulk updating Gem source index for: http://gems.rubyforge.org/
Updating metadata for 13 gems from http://gems.rubyonrails.org/
2007 Nov 18
2
ActiveACL and "already initialized constant OPTIONS"
Hi,
I''ve been trying to get ActiveACL to work with my new project, and as
the title suggest I''m stuck. I get the following error:
/var/lib/gems/1.8/gems/rails-1.2.5/lib/commands/servers/mongrel.rb:15:
warning: already initialized constant OPTIONS
/var/lib/gems/1.8/gems/rails-1.2.5/lib/commands/servers/mongrel.rb:18:
undefined method `options'' for []:Array
2008 Apr 01
12
undefined method `time_zone=' on Rails 2.0.2.9129 on Mac OS X
I just did a gem update and it broke my rails application. I had to
go back to 2.0.2, because 2.0.2.9129 produces this error on Mac OS X
Leopard:
/Users/nicholas/RubyDev/dummy/config/environment.rb:38: undefined
method `time_zone='' for #<Rails::Configuration:0x12c9f24>
(NoMethodError)
from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/initializer.rb:47:in
`run''
from
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...
2009 Jan 01
1
gem_original_require no such file to load -- /var/www/vhosts/gophotoswap.com/httpdocs/current/config/environment ( LoadError )
** Daemonized, any open files are closed. Look at /var/www/vhosts/
gophotoswap.com/httpdocs/shared/pids/mongrel.8000.pid and /var/www/
vhosts/gophotoswap.com/httpdocs/shared/log/mongrel.8000.log for info.
** Starting Mongrel listening at 127.0.0.1:8000
** Initiating groups for "mongrel":"mongrel".
** Changing group to "mongrel".
** Changing user to
2008 Jan 18
15
scaffold :product missing in Rails 2.0.2 version of depot tutorial?
I am getting an error when I try to run the code for the depot
application (page 67 in the Agile Web Development on Rails book, 2nd
edition). I built the complete depot app with Rails 1.2.6, and all
worked well. I then updated to Gem 1.0.1 and RoR 2.0.2, and attempted
to repeat the tutorial, and got this strange behavior.
I used "rails depot --database=mysql" because I have not
2009 Jan 21
5
Runner suddenly fails...
I have some jobs running through cron jobs and runner that suddenly
starts failing.
This is how it looks:
from
/usr/local/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/commands/runner.rb:47
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require''
from
2009 Feb 03
1
"uninitialized constant Gem::Etc (NameError)" when starting server
I keep getting this when I try to start the server:
[Macintosh:rails/work/demo] jslicari% script/server
/Library/Ruby/Site/1.8/rubygems.rb:723:in `set_paths'': uninitialized
constant Gem::Etc (NameError)
from /Library/Ruby/Site/1.8/rubygems.rb:719:in `each''
from /Library/Ruby/Site/1.8/rubygems.rb:719:in `set_paths''
from /Library/Ruby/Site/1.8/rubygems.rb:526:in