similar to: Embedding Rails

Displaying 20 results from an estimated 200000 matches similar to: "Embedding Rails"

2006 Feb 26
1
rails/lighttpd on os x
I''m trying to set up my Rails development app for public access on OS X. I''m using the bundled lighttpd server. The first thing i tried to do is simply start lighttpd on port 80. When i set "server.port = 80" in lighttpd.conf i get the following error message after running ruby script/server: (network.c.265) can''t bind to port 80 Permission denied i
2006 Apr 05
4
distributing rails apps for localhost usage
Has anyone come across any interesting ways to make rails apps easily distributable to run on a local machine. I''d love to be able to "bundle" my rails app into a single file that would contain a simple webserver, database and my rails app which a non-experienced user could then download install on their machine, go to a web browser and run the app locally. I envision it
2006 Mar 02
4
Instance variables in Javascript param
How can I make this work ? <a href="#" onclick="new Effect.Fade(@div_id)"></a> @div_id is an instance variable ? TIA -- Posted via http://www.ruby-forum.com/.
2008 Jul 17
2
[LLVMdev] Embedding LLVM
I am evaluating LLVM for my project to drive an embedded language. Does anybody have any pointers on where to start? Most notably: 1) How to interface to it? 2) How submit a program for an execution? 3) How to plug in a GC, or use an existing one? I am pretty sure that these topics were thoroughly discussed and documented, but I cannot find anything on the net. Any relevant links are
2008 Jul 17
0
[LLVMdev] Embedding LLVM
On Jul 17, 2008, at 3:28 PM, Eugene Lazutkin wrote: > I am evaluating LLVM for my project to drive an embedded language. > Does > anybody have any pointers on where to start? Most notably: > > 1) How to interface to it? > 2) How submit a program for an execution? > 3) How to plug in a GC, or use an existing one? > > I am pretty sure that these topics were thoroughly
2004 Sep 10
3
[Flac-users] Embedding the decoder... Sample code?
I'm looking for sample code for using flac in my program. I want to be able to decode a flac file to PCM. Something like: bool decodeFile( const char* pathNameOfFile, voud** data ); How would I complete the above function? TIA
2006 Apr 06
0
embedding mysql or other DB into rails apps
Is it possible to embed mysql directly into a rails app? mysql can be compiled with the --with-embedded-server flag which produces a libmysqld library that can be linked into an appliaction. This is probably not possible with rails, right? The reason I would want to do such a thing is that many hosting providers provide rails support *but* they provide older versions of mysql. It would be
2006 Mar 24
0
Embedding swf files in emails to be sent via Action Mailer
Hi, Is there anybody who can tell me if its possible to send swf files in an HTML email via Action Mailer. I gained success in sending basic HTML mail but couldnt send embedded swf files. Instead, the mail client at the recipient end shows a blank mail when I send the swf file with <object> and <embed> tags. Any help would be appreciated. Thanks prasad, Email to me at:
2006 Jun 04
5
Embedding link_to''s within text fetched from database.
Hi, I have the following problem that I can''t seem to figure out. I want to able to fetch some text from my database record in my controller, and then add two links within the text and then send that back to the view to get rendered so that the two links appear as links and when clicked on, they''d basically call the corresponding action for the link. Would anybody know how to
2006 Mar 31
0
comments for joel about rails in software discussion
Is it the first to this community or already the discussion started. sorry if posted it again. This is for people who has not seen this... ------------------------------------------------------------------ Rails'' Ridiculous Restrictions, a Rant I recently finished using Ruby on Rails to write a simple bug tracking application. I thought I''d take this new RAD environment for a
2011 Sep 18
0
Two Separate Issues: rails generate
Hi folks. I am just starting rails and have two current issues. I have installed everything, I think, and (first) I''m having permissions feedback upon rails generate: > $ rails generate > /Library/Ruby/Gems/1.8/gems/railties-3.1.0/lib/rails/script_rails_loader.rb:11: warning: Insecure world writable dir /Library/WebServer/Documents in PATH, mode 040777 >
2006 Mar 03
3
embedding a forum inside a rails app
what is the best way to embed a forum (phpbb is currently installed under /public/forums/) inside my layout ? I dont want the foum to be its own page i would like it to appear inside the main part of the page with navigation and border in tact. is this possible with the current way it is installed ? thanks adam -------------- next part -------------- An HTML attachment was scrubbed... URL:
2012 Feb 28
1
Conditional execution of javascript / embedding Cappuccino files into Rails
I have a Cappuccino app that I am integrating with a Rails backend. A key feature of the app is authentication which is managed entirely by rails. The way I set it up is that the cappuccino js conditionally executes if the user is logged in, like this: <% if signed_in? %> <div id="cappuccino-body"> <script type="text/javascript"> document.write("Hello
2006 Jul 17
6
Rails+Mongrel+Lighthttpd: Ruby-Sendfile Problem
Hello, I have a working mongrel cluster and want to use Lighty as the frontend webserver. I want ligthttpd to deliver the static content. So I did gem install sendfile --remote Everything installed. But if I run the tests like gem check sendfile --test --debug i get the following error message: Exception `Errno::ENOSYS'' at ./test/test_sendfile.rb:75 - Function not implemented -
2005 Jun 26
0
running icecast and a webserver on same port
Care to shed some light on this? I have about 10 IPs that are at my disposal and 3 I've been keeping for spares and whatnot. Though binding them is a little beyond me. TIA Justin On 6/22/05, Klaas Jan Wierenga <k.j.wierenga@home.nl> wrote: > > Hi, > > You can if your machine is assigned two IP addresses. Then you can bind the > webserver to port 80 on the first
2006 Nov 21
4
Embedding Rails in a Cocoa app.
Hi, Has anyone tried to embed rails into a Cocoa app? I have got this working to a very primitive point using RubyCocoa. After about half an hour of playing I was able to get WEBrick to serve the rails starter page inside of a Cocoa app, but that is as far as I have got. I have an idea for a client/server app where the server is a Cocoa application that embeds WEBrick (or another server solution
2008 Mar 07
1
How to deploy Rails apps on Servage.net
Okay, so I''ve had quite a bit of struggle with the tech support before the app deployed. So I''ll post my experiences here if anyone''s looking for info about deploying Rails apps on Servage. First off, Servage has great service, but the tech support staff is utterly inexperienced as far as Rails goes. Also, you don''t have ssh access so you won''t be able
2005 Jun 26
1
running icecast and a webserver on same port
I'm curious about why you would want to run Icecast on port 80. Geoff Justin Bot wrote: >Care to shed some light on this? I have about 10 IPs that are at my >disposal and 3 I've been keeping for spares and whatnot. Though >binding them is a little beyond me. > >TIA > >Justin > >On 6/22/05, Klaas Jan Wierenga <k.j.wierenga@home.nl> wrote: > >
2011 Feb 12
3
Using files .call or AMI
Hi! I have a script to generate calls from a database using .call files and giving a message. If works great! but now I need to do the same but instead of play a recorded message I need transfer this call to live person in a specfic extension. This is the scenarioI have a webpage with information about a customer so in this page the agent click a phone number and asterisk do the call and transfer
2005 Nov 16
1
Rails app exception "can't activate active support"
I have gotten several rails apps running under Apache. However today when I tried to run them I get exceptions like this in the http error_log: sh-2.05b$ tail /var/log/httpd/error_log /usr/lib/ruby/site_ruby/1.8/rubygems.rb:144:in `activate'': can''t activate active support (= 1.1.1), already activated activesupport-1.2.3] (Gem::Exception) from