Displaying 20 results from an estimated 700 matches similar to: "How to completely reinstall my rails environment on Mac Lion?"
2006 Aug 16
3
(no subject)
Hi everybody,
We are developing several applications on a single server and I''m
looking for a way to use mongrel with each of them. Right now,
http://testapp.com/ is being served on that machine through apache
and mongrel. Here''s what a part of my apache config looks like:
<Proxy balancer balancer://testappcluster>
BalancerMember http://127.0.0.1:8000
2007 Feb 20
1
"Text is not a module"
Hello all,
After upgrading to Rails 1.2.2, I''m getting a strange error when one of my
workers is invoked. The worker is responsible for monitoring a folder
(using directory_watcher) and emailing a specific user when a file is
dropped there, but it''s bombing immediately upon instantiation (or maybe
when trying to instantiate ActionMailer?) with the error "Text is not a
2007 Nov 09
9
fixture_file_upload and edge rspec?
Hi all,
I had some specs that were using fixture_file_upload that were
passing just fine. Then I froze edge rails to get some 2.0
functionality, then a I upgraded to trunk rspec to deal with
uninitialized constant ActionView::Helpers::JavaScriptMacrosHelper
After a couple other of tribulations, I have now gotten down to just
a couple of not passing specs, all using the fixture_file_upload.
2009 Aug 31
3
NameError: undefined local variable or method `testapp' for main:Object
Hi,
I am new to Ruby on Rails. Recently, I downloaded and installed the
InstantRails in the D:\ drive of my system. Now I wanted to try some
small examples in ''irb'', so I created a file "testapp.rb" and in that
pasted a code like this:
========================
class sample_class
def sample_method
puts "sample program"
end
2006 Feb 01
3
apache2 / fcgi / RoR - no connection
Hi,
I''ve generated a new Rails app and dummy controller "foo" with method
"hello". I am trying to run it under Apache/2.0.53 with fastcgi, and
getting the index.html page when I hit http://localhost/foo/hello, or
for any other request (http://localhost/kdjfslkfjs). Also, there is
nothing in the rails logs, and no errors in the apache logs.
Relevant bit of
2014 Dec 10
4
PJSIP configuration question
Not sure why, but Vitelity changed the settings to IP based authentication on me. Here's the new sip.conf settings they sent me.
type=friend
dtmfmode=auto
host=64.2.142.93
allow=all
nat=yes
canreinvite=no
trustrpid=yes
sendrpid=yes
When I use these settings to originate calls using the sip.conf they sent me, everything works.
Action: Originate
ActionID: S8
Channel:
2006 Dec 16
5
trying to add another app
hey all,
I have an app working great with apache2 and mongrel_cluster.
However, I''m trying to run another application and now when I go to
app1.comit falls to
app2.com and the opposite. That''s probably because I messed up somewhere
with the cluster.
this is the content of my conf.d/app1.proxy_cluster.conf:
<Proxy balancer://mongrel_cluster>
BalancerMember
2006 Jun 05
3
Help installing Rails app on server
Hello,
I''ve been creating Rails apps on Mac OS X just fine, and I just got a
hosting account with webmasters.com, which offers Rails.
I uploaded an empty app, just to see if I can get the "Welcome Aboard"
page. I did get that page, but when I click on "About your
application''s environment", I get "Not Found - Sorry, the requested URL
2008 Jun 06
1
Unexpected NameError when invoking task on worker
Hi, I''m brand new to BackgrounDRb and trying to figure out the setup.
I cloned the git repository today as listed on the BackgrounDRb website.
Starting out with a very basic worker, but BackgroundDRb is crashing
on a NameError. Any help to resolve this issue would be greatly
appreciated! Thank you in advance!!
I am also attaching a text file with the output below since it might
be
2006 Aug 15
5
Problems getting WEBrick server up and running (new to ruby)
Hello,
I installed ruby and rails on Monday as I have been hearing great things
about both the ruby language and rails framework.
Installation went smoothly but I am having problems launching a WEBrick
server so see what my newly created rails app is doing!
My ruby/ rails installation:
1) Installed ruby directly by compiling the source code.
2) Working on a windows pc, using cygwin to run /
2006 Mar 15
5
Apache (both 1.3 & 2) not calling dispatch.fcgi on Debian
We''re trying to run Ruby on Rails on Debian with Apache and FastCGI, but
can''t get it to work. As far as we can tell, it seems to go wrong in the
final stages; Apache appears not to be doing anything with
dispatch.fcgi, even though FastCGI looks to be set up correctly. We''ve
followed several "how to"s, but we don''t get any other results.
What
2006 May 24
7
OCI8::Cursor (Name Error) in HP-UX 11.11 error
Hi
I have looked at google about this error as well as in ruby on rails
forums, but I can not specifically locate the exact problem and the
solution for it.
Basically, I successfully installed ruby 1.8.4 on HP-UX 11.11 with rails
gem.
But unfortunately whenever I try to create a test application by using
"rails testapp", I am getting the follwing errror:
$ rails testapp
2007 Feb 15
2
Multiple Processes Spawned from mongrel_rails start ?
Hello,
I have mongrel 1.0.1, rails 1.2.2 ruby 1.8.5 running on Centos 4.4.
When I execute the mongrel_rails start -d I see that 3 processes are spawned. See below:
[root at ccc aaa]# mongrel_rails start -d
[root at ccc aaa]# ps -def |grep mong
root 2743 1 9 07:14 ? 00:00:01 /usr/bin/ruby /usr/bin/mongrel_rails start -d
root 2744 2743 0 07:14 ? 00:00:00
2005 Jul 29
10
Rails Wiki down
Howdy -
Someone''s probably already reported this, but anyhow, going here:
http://wiki.rubyonrails.com/rails/show/RailsOnFedora
results in:
====================
> Bad Gateway
> The proxy server received an invalid response from an upstream server.
>
====================
Yours,
Tom
2012 Feb 25
1
Seems I'm missing some kind of library?
When I run "rake db:create --trace" in my rails directory, or if I
attempt a "bundle install" I get the same error around missing
"rubygems/format". I am new, but I am really hoping there is some way
that I can discover which package this "rubygems/format" belongs in.
I did a locate on "format" | grep gem and I didn''t find any
2014 Dec 16
2
PJSIP configuration question
On Mon, Dec 15, 2014 at 7:34 PM, Dan Cropp <dan at amtelco.com> wrote:
>
> I am not sure if I entered the correct settings for the transport
> information.
>
> For the local_net, I entered my local ip address, but no mask. I will
> check with the network admin so he can verify the settings I entered.
>
>
>
You need the network and mask. For example if the ip
2006 May 30
6
Getting /etc/mongrel_cluster and startup script to work?
Hi,
I''m trying to setup my mongrel clusters to start on boot. I have
followed the instructions under the "On Boot Initialization Setup"
section at http://mongrel.rubyforge.org/docs/mongrel_cluster.html.
When I try to start it up, I get the following error:
me at mybox.com: sudo /etc/init.d/mongrel_cluster start
Starting all mongrel_clusters...
!!! Path to log file not
2007 Aug 31
3
Bootstrapping from SVN
Is there a simple way to bootstrap merb directly from the Subversion
repository, rather than first installing it as a gem?
I can do the following if I already have an old gem lying around:
merb -g testapp # using an old gem
cd testapp
rake merb:freeze_from_svn
Unfortunately, that means I''m using an old version of the generator. So for
example, when I just tried this,
2014 Dec 16
3
PJSIP configuration question
Ok Dan, try this... I was able to get this to work behind a NAT and with
ip address authentication.
[global]
type = global
debug = yes
[transport1]
type = transport
bind = 0.0.0.0
protocol = udp
*local_net=<yourlocalnet I.E. 10.10.10.10/24
<http://10.10.10.10/24>>external_media_address=<your public ip
address>external_signaling_address=<your public address>*
2006 Aug 16
3
New subscriber, new question
Hi all,
I?m new to the list. I''ve working with mongrel for the last week and
have some quetion about mongrel cluster:
Is this (being executed from the application folder):
# mongrel_rails start -d -p 3001 -e production
# mongrel_rails start -d -p 3002 -e production
# mongrel_rails start -d -p 3003 -e production
the same as:
# mongrel_rails cluster::configure -e production -p 3001 -N 3