Displaying 20 results from an estimated 600 matches similar to: "Eruby.import -> "uninitialized constant" error"
2006 Jun 04
4
eRuby & Rails: Not Compatible
I''m new to Ruby, Rails, and this list. I''ve tried searching for an
answer but it all seems to be over my head. I have all the books but
again they seem to leave me on my own to figure out the stuff that
really matters. Where is the best place to find out the details?
Exactly what are these much celebrated "naming conventions"; i.e. where
do I find an exhaustive
2008 Sep 04
1
actionmailer sends from commandline but not from web
Hello all,
I''m having trouble with this simple email class I made for postbacks.
When I run this from the command line an email is sent, however when I
access this .rb file through a browser nothing happens.
-------------------------
#!/usr/bin/ruby
require "rubygems"
require "action_mailer"
ActionMailer::Base.delivery_method = :smtp
2005 Apr 08
0
switch mod_ruby to fastcgi but still use eruby?
Hello there list-
I have a question I hope someone can answer. I have a Debian server
that currently has mod_ruby and eruby installed and working great for
the last year or so. I also have one rails app working great on this
box. My question is this: I want to switch to fastcgi so i can have
more than one rails app, but there are already many scripts using eruby
with no framework at all just
2007 Sep 28
2
RoR uses something rather than erb or eRuby?
it seems that RoR doesn''t use erb or eRuby to generate its output for
rhtml?
the program erb and the description of eRuby at
http://www.eruby.info
both said that
<% print "foo bar" %> or <% puts "hello" %>
will be placed into the output...
but currently for RoR, it won''t...
only <%= expr %> is doing it and it cannot be print or
2006 Jun 22
2
eRuby/erb
Hello. Prospective Mongrel user here.
Can Mongrel act as a server for eruby or erb files?
Example:
<html>
<body>
<p>The time is <%= Time.now %></p>
</body>
</html>
Pistos
2007 Oct 01
1
Getting started on win32 - without Rails.
Hi,
I''m trying to get started developing my first ruby-powered web-app. I wont
be using Rails for this, at least I don''t see any reason why I should.
However, the "getting started" sections in the documentation only shows
you how to start a Rails application.
My mindset comes from PHP/JSP-type languages where you embed code into
HTML. It seems the way to do this with
2005 Dec 14
14
Install problems: R-o-R on Debian with mod_ruby
Hello,
I have tried to setup Ruby-on-rails on my debian Linux machine and can
not get it to run. Maybe someone can help.
The following was installed already:
- apache2 2.0.54 (and PHP5)
- Postgresql 8.1
Now, having the ''unstable'' branch in my /etc/apt/sources.list I did:
apt-get install libapache2-mod-ruby
and Apache reports a "mod_ruby/1.2.4 Ruby/1.8.4"
2010 Nov 20
0
Enabling preprocessing in Erubis makes views much faster
I wrote a 5 line hack that you can drop into your initializers
directory to enable preprocessing in Erubis. This will run code in <
%=== %> brackets at compile time making views considerably faster for
rails helpers that only need to be evaluated once instead of on each
render (the Erubis docs mention 20-40% speed increase but obviously it
depends on the amount you precompile).
For example:
2013 Oct 21
2
help with opus_demo
Hi
I used opus_demo to clarify how opus works, I try this command:
opus_demo -e" audio 8000 1 8000 -cbr /somedirectory/pcm_mono_ochomil.raw
/somedirectory/test.opus
And I get the file test.opus, then comes the first problem, this file
hasn't header so i can't reproduce it using an external tool, how can i add
a header to this file
Then when i trie to run
opus_demo -d 8000 1
2016 Nov 30
0
slow directory access, convert_string_internal: Conversion error: Incomplete multibyte sequence
On Tue, Nov 29, 2016 at 06:36:02PM -0500, Gaiseric Vandal via samba wrote:
> Mail file is server is a member server is Samba 3.6.26 on Solaris
> 11. It had been a BDC but a few week ago a switched it back to a
> member server. The 2 current DC's had been running Samba 3.6.25 but
> switched to Samba 4.4.7. This is a classic domain.
>
>
>
> Some Windows users
2005 Oct 12
2
Vanished Files issue/enhancement
Hi Rsync/Samba team,
First of all, cudos on rsync 2.6.6! It is running exceptionally well.
I'm using a script executed by cron to keep warm-backup servers in sync
with the primary server. The execution is set to run every 5 minutes.
Like any good programmer, this process is *very* paranoid and uses
'wall' to notify the users if any error occurs during the transmissions.
This is
2006 May 18
1
rails & mysql
so for relational associations, do i need to actually be using an rdbms like
innodb or bdb? or can i get away with myisam and assume that telling ruby
how i want the tables related will be good enough (ie, has_one, has many,
etc)?
2008 Oct 11
5
Rails + Apache2 + Balancer Manager - PHP doesn't work
Hi
I have a Debian Server and I managed that Ruby works with Apache2 and
the Balancer Manager that listen to the Mongrel server.
The Problem is that PHP files don''t work anymore.
How do I have to configurate the Balance Manager that PHP is working
again like without the Balance Manager?
Greetings Andi
--
Posted via http://www.ruby-forum.com/.
2016 Nov 30
2
slow directory access, convert_string_internal: Conversion error: Incomplete multibyte sequence
There are definitely some files with some weird names- in an ssh session they don't even have regular characters.
e.g
-rw-rw---- 1 xxx xxx 114985112 Oct 31 14:39 ▒^t
Not sure if that is related to problems though.
The top command shows
Memory: 12G phys mem, 343M free mem, 2048M total swap, 2048M free swap
This is in the evening so should not be much load but I think
2006 Feb 13
1
Is this same or different
Hi,
Is eruby & ruby on rails are same or diffrent.
If not same,then what is the diffrence?
Please.
--
Posted via http://www.ruby-forum.com/.
2005 Jan 07
2
Secondary group problem in include statement
Hi,
Scenario :-
User A belongs primarily to GroupA and secondary to GroupB.
Somedirectory contains GroupA.conf and GroupB.conf
Have anyone got
"include = /somedirectory/%g.conf" in smb.conf
to work such that scripts in groupA.conf and groupb.conf will be executed when UserA logins?
Am I using the correct syntax? If not, what is the correct syntax?
I am on Debian with 3.0.10
2016 Nov 29
2
slow directory access, convert_string_internal: Conversion error: Incomplete multibyte sequence
Mail file is server is a member server is Samba 3.6.26 on Solaris 11.
It had been a BDC but a few week ago a switched it back to a member
server. The 2 current DC's had been running Samba 3.6.25 but switched
to Samba 4.4.7. This is a classic domain.
Some Windows users reported that browsing folders shared from the member
server have become very slow over the last few weeks. Which
2006 Jan 03
2
Rails is slow on Apache !!!
Hi ,
I have rails running on my development machine. I have installed mod_ruby
and set up the httpd.conf file to add handlers for .rb files. But the speed
I get is still slow compared to webrick which is blazingly fast.
I have 2 questions
1. How do I determine if mod_ruby is loaded and is being used to run my ruby
scripts ?
2. Which of these fcgi /mod_ruby is faster ?
Thanks
vivek
--------------
2007 Aug 29
11
Non-Erubis Templates
Trunk Issue: Because of the use of ''autoload'', template handlers other
than Erubis are not loaded automatically (Haml, XMLBuilder). Either
this should be fixed, or the documentation should be updated to
instruct people how to use non-Erb template engines.
Apparently the solution is to do something like this in merb_init.rb:
::Merb::AbstractController.register_engine
2013 Oct 21
0
help with opus_demo
On 2013-10-21 5:08 AM, Antonio Juan wrote:
> I used opus_demo to clarify how opus works, I try this command:
>
> opus_demo -e" audio 8000 1 8000 -cbr
> /somedirectory/pcm_mono_ochomil.raw /somedirectory/test.opus
opus_demo doesn't support .opus files. It uses a special raw format just
for testing. You want opusenc and opusdec from the opus-tools package.
-r