Displaying 20 results from an estimated 10000 matches similar to: "tzinfo on dreamhost - help?"
2006 Sep 06
5
admin controller problem
I am reading the agile web development with rails book, and starting to
create the depot. I am getting the below error after setting up the
"ruby script/generate scaffold Product Admin" does anyone know what the
problem is?
NameError in AdminController#index
uninitialized constant Mysql
RAILS_ROOT: ./script/../config/../
Application Trace | Framework Trace | Full Trace
2007 Feb 28
3
require tzinfo on rails 1.2
I''ve just upgraded rails to 1.2 and now everything breaks when accessing
pages that use tzinfo.
I get the following errors:
uninitialized constant FriendController::Timezone
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/dependencies.rb:477:in
`const_missing''
#{RAILS_ROOT}/app/controllers/friend_controller.rb:22:in `index''
Can someone please
2008 Mar 30
0
[CruiseControl] RubyOnRails build 9153 failed
The build failed.
CHANGES
-------
New revision 9153 detected
Revision 9153 committed by gbuesing on 2008-03-30 23:49:52
TZInfo: Removing unneeded TimezoneProxy class
M /trunk/activesupport/CHANGELOG
D /trunk/activesupport/lib/active_support/vendor/tzinfo-0.3.8/tzinfo/timezone_proxy.rb
M /trunk/activesupport/Rakefile
M /trunk/activesupport/lib/active_support/vendor/tzinfo-0.3.8/tzinfo.rb
2007 Aug 16
0
Update from RoR 1.1.6 - 1.2.3 Rake fails
I am getting a message when I update my system from rails 1.1.6 to
1.2.3 running rake.
[]# rake test --trace
(in /var/www/matrix.1.7.15)
** Invoke test (first_time)
** Execute test
** Invoke test:units (first_time)
** Invoke db:test:prepare (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
Expected /var/www/matrix.1.7.15/config/../vendor/plugins/
2009 Mar 13
1
TZInfo included in Rails 2.2.2 vs. version on RubyForge
I downloaded version 0.3.12 of TZInfo from [1], and observed that it
has a very robust set of timezones including, for example, ''America/
Anchorage'':
irb(main):001:0> require ''rubygems''
=> false
irb(main):002:0> require ''tzinfo''
=> true
irb(main):003:0> TZInfo::Timezone.get(''America/Anchorage'')
=>
2007 Apr 09
2
Errno::EACCES in Controller / Permission denied
Hello,
I did a seemingly smooth install of ferret, but when I try to add it to
my model, I get an error.
My info:
My rails site: shelikes (a restaurant review site)
My controller: Display
My model: Review
My only line of code added for ferret is:
class Review < ActiveRecord::Base
acts_as_ferret
...( more stuff not related )...
end
Below is the error information. Any thoughts on how
2006 Aug 15
5
ActiveRecord inheritance
Hello,
I got the following issue and I do not know how to resolve it:
#1. created parent class (AccountExtended) for some my models
(lib/classes_lib.rb):
class AccountExtended < ActiveRecord::Base
def self.findByAccount
end
end
#2. created model Country:
require ''lib/classes_lib''
class Country < AccountExtended
end
#3. and added a test controller what shows
2006 Aug 17
6
NameError in AdminController#index building scaffold
I''m a pretty big newbie with ROR, but when following a tutorial I
encounter an ugly error when building a scaffold. Here is my
environment
Dev system:
- Windows XP
- java version "1.5.0_06"
- MySQL java version "1.5.0_06"
- Ruby 1.8.4
- Ruby Gems 0.9.0
- Gem install mysql
Successfully installed mysql-2.7.1-mswin32
Installing ri documentation for
2006 Nov 27
1
rails environment loaded but one plugin is undefined (using backgroundrb 0.2.0)
Hello all,
I''m using BackgroundRb 0.2.0 (standalone) and in the do_work method of
my worker, I''m working with objects from my Rails application. So in my
config/backgroundrb.yml file, I added this line:
:load_rails: true
I think my worker isn''t doing what I want him to do. So I opened the
console and read these error lines:
# ruby script/backgroundrb console
2009 Sep 23
6
Dreamhost launch issues. What gems are used in my rails app?
Hi guys,
I made a quick app for a family member to be deployed on Dreamhost (low
budget). It''s my first time deploying on DH so I''m not familiar with the
restrictions.
I''m having an issue where I''ve been able to get git on both systems and
used capistrano to deploy the app. However migrations fail. I also tried
exporting my local staging mysql schema and
2006 Apr 30
1
no such file to load -- net/https
Hi,
Came across the substruct project and decided to download and play with
it. Am running rails 1.1.2 with ruby 1.8.4 on Ubuntu.
I start webrick .. went to the admin section of the store. Create a
product. Went to the store section and put this product in my cart and
then clicked on checkout. I fill the form and submit it . I click on
the "Finish Order" button and get the following
2006 May 26
2
Rails app fails to start with LoginGenerator
Hi guys
I was following this: <a
href="http://wiki.rubyonrails.com/rails/pages/LoginGenerator">tutorial</a>
and everything was perfect until I run the script.
I''ve got:
<strong>MissingSourceFile</strong><br />
no such file to load -- user.rb <br />
RAILS_ROOT: script/../config/.. <br />
<pre><code>
2010 Sep 27
3
having some issues with factory_girl and bundler...
Hi All
Need some brilliants minds here :)
I''m using Rails 2.3.8 & ruby 1.8 (I know, I know... )
I''ve move my gems from .gems to Bundler, but I''m having some issues with
Factory_girl when I rake spec
"uninitialized constant Factory"
I''m following the instructions from http://gembundler.com/rails23.html.
Basically:
- grab all config.gem and place
2006 Aug 27
0
problem with mysql gem
Hi. Whenever I use activerecord I get this error NameError:
uninitialized constant Mysql. I installed the mysql 2.7 gem and I''m on
Rails 1.1.6 / Ruby 1.8.4. The gem was built successfully using ''gem
install -- --with-mysql-config=/usr/local/mysql/bin/mysql_config''.
Here''s a sample trace of the error in ''script/console'':
>> User.find 1
2006 Aug 29
2
"Broken pipe" and "no such file to load -- irb"
I just switched my rails app, which I had previously been running on my pc,
to my linux server and have decided to use mongrel. However, since doing so
I get an error when I first access the app saying "no such file to load --
irb". After I refresh this error goes away, but I keep getting the
following errors in my logs, and I''ve noticed that certains things, like
sessions and
2007 Feb 02
0
Error: uninitialized constant LockError
Hey Guys. So, I get this error every so often, and in sneaking at the code,
it seems that it could be an easy fix, where it''s looking for a LockError,
but I think it''s a LockException.
I''m on 0.10.13 with a very large index (about a million docs) that''s staged
on several servers, which are updated daily. (Using rails 1.1.6)
Thanks for all the hard work.
2006 Aug 05
1
"uninitialized constant" error when I go to app base URL???
Hi,
I''m getting the below attached error when I navigate to the root of my
web application on my hosting site (dreamhost.com), however in
development it works fine. Any ideas?
That is I have one controller so the direct URL is
"http://mydomain.com/contacts". This works on dreamhost and locally.
BUT when I go to "http://mydomain.com/" this works locally (on
2006 Aug 17
0
`const_missing'': uninitialized constant
Hi all,
still the same error, when accessing my model childs on the site5 server
....(Person.infogroups.first.infoattributes, (a Person has_many
infogroup which has_many info_attribute))
I double check my config and the server and it is exactly the same
(except for rubygem which is for me 0.8.11).
==>>ERROR
2008 Jun 06
3
LoadError (Expected model.rb to define Model)
Hello,
I''m having an error that occurs in production (on Dreamhost) but does
not occur in development on my local machine. The situation is that
there is a model (Article), and it uses act_as_ferret for search. The
error is as follows (where I say {full server path}, that''s not what
the error says, just my note):
LoadError (Expected {full server path}/article.rb to define
2006 Nov 04
0
ProbleM!!!!!!!!!!!!!!!!!!
Hi,
I trieed umpteen times to connect ruby on rails to MSSQL server using
the standard procedures and I always get the samw error. As I was
previously working with MYSQL I faced no problem .Now at a time critical
situation I need a solution for this...........
Open
OLE error code:800A0E7A in ADODB.Connection
Provider cannot be found. It may not be properly installed.
HRESULT error