Displaying 20 results from an estimated 60000 matches similar to: "Environment don''t load in the console"
2006 Apr 10
1
rake throws a lot of warnings
Hi,
Running ''rake'' or ''rake ...'' will throw warnings and then will do the tasks.
I have attached the output of
rake stats 2> /tmp/rake.error.txt
I''m running Gentoo with:
* dev-lang/ruby
Latest version available: 1.8.4-r1
Latest version installed: 1.8.4-r1
Size of downloaded files: 4,417 kB
Homepage:
2006 Apr 15
2
Model isn''t in the scope when running script/console
Hi,
When running the script/console I can''t run the model.
Example:
I have model Probe.
So, running:
Probe.class will not work, because Probe is not loaded.
I tried to build some projects from scratch automatically generated,
but the problem stays.
Any thoughts?
Thanks,
Kfir
2006 Jun 01
1
link_to_remote show then hide
Hi,
I have a link_to_remote and it update a div.
After the first click the div is opened with the information.
Now I want to be able to close hide the div .
How should I do it.
Someone at the IRC told me to use toggle.
But what I want is a bit odd. I want that it will not do again
link_to_remote but toggle.
Tnx
Kfir
2006 Jun 11
2
Javascript include in html - load times
Hi,
If I include a javascript library, will it load when the html load, or
just at the first use?
I have table.js and I have few pages that needs it.
Should I include it just on the pages that needs it, or put it on the
application_layout?
Thanks,
Kfir
2006 Jun 13
2
Bug tracking plugin for ROR?
Hi,
Is there a plugin for ROR for bug tracking.
I need it for lite use.
I thoght using typo or something, but still want to know if there is something.
Thanks,
Kfir
2007 May 21
0
[1021] trunk/wxruby2/rake/rakewx.rb: Memory mgmt: don''t run fixdeleting anymore
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2007 Jul 24
3
mocha tarballs don''t uncompress cleanly
Hi Antonio,
My environment is OS X 10.4.8.
Thanks a lot for looking into the problem. Please let me know if I
can do anything to help.
I have had problems previously with tar including Mac resource fork
files. Could this be what is causing your problem?
James.
On 24 Jul 2007, at 20:42, Antonio Terceiro wrote:
> Hi James,
>
> First of all, thanks for mocha, it''s a really
2010 Aug 16
3
Load dummy data using Factory girl
Hello,
I wanted to know how to load dummy data in the application using Factory
girl.
I had done this using Fixtures.I had made a fixtures folder into the
test folder and run the command "rake test fixtures:load"
Currently i tried using factories in the spec which is working fine.
Wanted to know know regarding loading dummy data.
--
Posted via http://www.ruby-forum.com/.
2010 May 31
0
no such file to load -- /home/path/to/app/config/environment
I looked at the permissions, it is set to username:group - the same
settings which work for another app.
Btw, this is running Rails 2.1.something (Its a friends website
deployed a while back, just helping him out.) Thanks
Full stack msg:
no such file to load -- /home/path/to/app/config/environment
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require''
2007 Dec 08
1
Trouble updating to Rails 2.0
I recently updated my gems and first I got an error with Rails.
Aparently, Rails 2.0 has a dependency on ActiveResource, but the gems
dont install it as a dependency. At least not when upgrading from
1.2.6 to 2.0
Then, when I try to freeze the gems to generate the new documentation,
I get the following error:
gabriel@fenix:~/dummy$ rake rails:freeze:gems --trace
(in /home/gabriel/dummy)
rake
2006 Jul 26
3
Capistrano - freezes & I don''t get prompted for password??
Hi,
Just having a problem trying to get capistrano working to the remote
server. I''ve set things up per the below to links, but when I enter
"cap setup" (or "rake remote:exec ACTION=setup" - I assume they are the
same) then things FREEZE and it never asks me for a password. I have to
kill the "cmd" window.
Is there a way to get some level of trace or
2011 Jun 06
4
ubuntu kernels 2.6.39+ don''t boot as hvm domU
Hi!
I tried booting ubuntu natty/oneiric domUs with 2.6.39 and 3.0rc1
linux-image packages, but they all "just stop" after the kernel is
loaded and the init process should take over.
The problem must be within the linux-image package, since natty domUs
with the standard 2.6.38 kernel boot just fine.
I also have debian and gentoo domUs running 2.6.39 without issues, so
it''s
2008 Jan 17
1
don''t test puppet in you production environment :)
hi,guys
I made a stuped error in my puppet manifest, the result is that all
of my puppet client install a mysql-server and apache2 :p
Be careful !!!!!
--
Huang Mingyou
2006 Mar 14
2
Where i can download docs for offline reference?
I have seen the testing doc or the FAQ on ROR site, but is there a zip
file for it?
2006 Aug 23
4
building wxruby2 from cvs (gentoo)
Hello,
I am a newbie to wx and wxruby, I just built wxruby2 on my gentoo box.
At first it did not work. So I post a little message,it might help others.
At first a cryptic message was shown
SWIG Version 1.3.21
Copyright (c) 1995-1998
University of Utah and the Regents of the University of California
Copyright (c) 1998-2003
University of Chicago
Compiled with i686-pc-linux-gnu-g++
2006 May 27
29
deploying R_o_R to local servers
Hi!
I''m pretty amazed by the features of RoR so far. But, as I come from the
desktop application development, my clients expect to run the magic on
their domain rather on a foreign one. Also I feel uncomfortable giving
away my RoR code to some hosting company, because I''m planning to do a
large application.
As I understand, RoR is designed to run on central web-servers and not
2007 May 16
0
Unknown action, No action responded to world
<http://localhost:3000/hello/world> gives:
"Unknown action
No action responded to world"
I''m following along with <http://wiki.rubyonrails.org/rails/pages/
Tutorial> and what stands out are statements like:
"Now take a look at app/controllers/hello_controller.rb."
Which doesn''t exist for me, I had to create multiple directories. I
2007 Dec 26
2
How to set environment when calling rake task inside another
This is what I have inside a rake task. In this rake task I need to call
another rake task called email:send_messages. However I need to pass the
RAILS_ENV as ''staging''.
Rake::Task["rake:email:send_messages"].invoke
I tried a lot of variations but none of them work.
Rake::Task["rake:email:send_messages"].invoke RAILS_ENV=staging
2006 May 10
6
Migrations don''t really support transactions
I read in various places that although migrations aren''t transactional, all
you need to do is wrap you migration method in "ActiveRecord::
Base.connection.transaction do"
to make the self.up or self.down transactional. In my experience (Rails +
PostgreSQL), this doesn''t work very well. If my migration hits an
exception, any tables that were touched remain modified.
2006 Jun 15
6
Sqlite3 test fails in Rails app
Greetings:
I am using Sqlite3 database with my Rails app. When I try and run "rake
tests" for the app it always fails with the error:
** Invoke default (first_time)
** Invoke test (first_time)
** Execute test
** Invoke test:units (first_time)
** Invoke db:test:prepare (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:test:prepare
** Invoke