similar to: Use your own Rails library

Displaying 20 results from an estimated 100000 matches similar to: "Use your own Rails library"

2008 Jan 05
7
Error! Ruby on Rails based on FastCGI, Hello world !
Hey, I try to do my first steps in Ruby, and designed an "Hello World!" Application. Now I want to install this Application on an Apache server. I copied it to the "/public_html/" Directory here: (the application is called "rubyapp") http://sn00p.profusehost.net/rubyapp/ I ran http://sn00p.profusehost.net/rubyapp/public/dispatch.fcgi and get an Error. So I looked
2007 Sep 27
2
TeX in Ruby on Rails
Hello, I''m new to ruby on rails, but I''m looking for a possibility to integrate TeX documents in my blog! I thought it might be possible to convert a TeX document to Xml and then sent the file to the webpage. On the server there should be a function that looks for new files and automatically integrate them on the webpage, by just adding them depending on the date and category
2007 Feb 07
3
Gem problem with ActiveRecord/Oracle (without rails)
I have written the small script below. I have the ruby-oci adapter installed, the newest version of gems and the newest version of ActiveRecord. When I run the code I''m getting the follow error following my code. It seems to be an issue with gems as far as I can tell. Any help? Thanks, Drew Code: require ''ruby_gems'' require ''active_record''
2008 Feb 22
2
Connecting to Oracle from Rails 2.0.2
Long afternoon, but finally got it. Hope this spares you some pain: Installation instructions mainly based on: http://ruby.about.com/od/enterprise/ss/ruby_oracle.htm Install Oracle Instant Client: mkdir C:\oracle cd c:\oracle Get the following files from here: http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html and unzip them into the c:\oracle\ unzip
2008 Jun 10
7
ActionMailer undefined method `parameters' - Rails 2.1
Hello Rubyists, I''m currently trying to get email hooked up via ActionMailer, and while I''ve gotten it to work in the past on Rails 1.2.x, I''m seeing an error that I''m unfamiliar with. Right now, I''m just trying to send email from my dev box via the SMTP server at work. My development.rb file: #...snip config.action_mailer.delivery_method = :smtp
2012 Jun 21
0
rails - postgres error: Reason: Incompatible library version: libpq.5.dylib requires version 1.0.0 o
Hi, I am stuck with the setup of Ruby (1.9.3), Rails and Postgres (9.0.8) on my Mac (10.6.8). Everytime when I run rails console I get the following error: /Users/dc/.rvm/gems/ruby-1.9.3-head@global/gems/pg-0.13.2/lib/pg.rb:4:in `require'': dlopen(/Users/dc/.rvm/gems/ruby-1.9.3-head@global/gems/pg-0.13.2/lib/pg_ext.bundle, 9): Library not loaded: @loader_path/../lib/libssl.dylib
2007 Mar 05
6
Using ms access 97 as local db backend for rails on windows 2000
Hi, I am on a windows 2000 machine and want to use an ms access 97 database (*.mdb) as db backend. I did a clean install: ruby, gems, rails, odbc-rails. A test rails application connecting to a local mysql server is doing fine. I can also locally connect to the odbc connection "local_odbc_name" with the aqua data studio client. But now with rails. As soon as I change the adapter to
2008 Oct 24
2
Rails problem
What wrong? # gem install rails -s http://gems.rubyonrails.org -v 2.2.0 Successfully installed activesupport-2.2.0 Successfully installed activerecord-2.2.0 Successfully installed actionpack-2.2.0 Successfully installed actionmailer-2.2.0 Successfully installed activeresource-2.2.0 Successfully installed rails-2.2.0 6 gems installed Installing ri documentation for activesupport-2.2.0...
2009 Apr 05
3
Error reverting back to a previous version of rails
I want to revert back to a previous version of rails (1.2.3) but the project I want to work on was created in 2.0.2. I have uninstalled 2.0.2 and gem installed 1.2.3 but when I run script\server I get the following error. (I''m guessing its to do with my environment file but I''m pretty new to Rails so Im not sure.)
2007 Apr 23
3
Troubles with using gems in Rails
Hi! I''m observing some problems using gem inside Rails. My understanding is that after following sequence in irb: $ irb irb(main):001:0> require ''rubygems'' => true irb(main):002:0> require ''active_record'' => true irb(main):003:0> gem ''acts_as_taggable'' => true I should have access to acts_as_tagable mixins, like:
2008 Nov 05
3
Rails 2.1.2, complex find involving complex include, bug?
So I''m upgrading my app from Rails 1.2.6 to Rails 2.1.2. I have a complex find statement that worked in 1.2.6 and isn''t working in 2.1.2. I think maybe this is a bug, although maybe there''s something else I could be doing to work-around it? My find statement involves: * Models in a module for namespace purposes * a join clause with raw SQL * an includes clause with
2006 Dec 04
7
I need help to connect Postgres and Ruby on Rails Please.
Hello to everyone, I have a problem that is giving me a headache, and trying to do a project in Ruby on Rails and I need to connect with a Data Base that is en Postgres, the truth is that I didn’t think that it was so hard to connect a DB with postgres because I was working with Msyql and everything was easy. This are the thinks that I have install in my computer. 1. Debian GNU/Linux, kernel
2009 Feb 20
6
rails 2.2.2 does not work with ruby 1.9.1
Hi everyone! I''ve installed new Ruby 1.9.1 from sources (http://www.ruby-lang.org/en/), then "gem install rails", everything was ok during installation, all tests ("make test") were ok too. After all, i wanted to create my new RoR project, but I could not start it. Plz help me Here is my terminal: [renat@localhost rails]$ rails mysite create create
2009 Oct 20
6
Rails & OpenSSL: `require_frameworks': no such file to load
I have Ruby 1.8.7, Gems 1.3.5, Rails 2.3.4, OpenSSL 0.9.8k installed on a Solaris machine. I have tried using the extconf.rb in ruby/ext/opennsl, but I get this: checking for openssl/ssl.h... no Any help would be appreciated. -------------------- # ruby script/server => Booting WEBrick => Rails 2.3.4 application starting on http://0.0.0.0:3000
2006 Nov 30
1
Uninitialized Constant Using New S3 Library
I am trying to use the new S3 library (thanks Marcel!) but I am getting an Uninitialized Constant message: >> Service.buckets NameError: uninitialized constant Service from /opt/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/ lib/active_support/dependencies.rb:100:in `const_missing_not_from_s3_library'' from
2008 Nov 03
0
acts_as_rateable in rails 2.2.0
Hi all, I have a problem with acts_as_rateable in rails 2.2.0. [code=]ActionView::TemplateError (uninitialized constant <#object>::Rating) on line #10 of app/views/blah/blah.html.erb: /Library/Ruby/Gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:102:in `const_missing'' /Library/Ruby/Gems/1.8/gems/activerecord-2.2.0/lib/active_record/base.rb:2042:in
2008 Apr 04
2
can't install rails. gem zlib crc error
hi all i''m trying to install ruby on rails on my debian server. i didn''t use apt-get. i installed everything from source. i used this tutorial (without PD-Admin): http://railswiki.de/Ruby_on_Rails_auf_einem_Debian_Server_installieren now i can''t install rails over gem, i''m getting this zlib crc error: root@co2:~# gem install rails --include-dependencies
2007 Jan 24
0
problems with themes in rails 1.2.1 -> named_route
i saw someone mentioned this somewhere else (1), but i wanted to make sure that this wasn''t something that was going to cause me alot of grief later.. i have been using the theme plugin (2) on several projects.. i updated to 1.2.1 today, and upgraded my mongrel to the latest one.. when i try running mongrel after updating my project, i get the following error:
2007 May 31
1
Rails version.
Hi I have a rails version installed that was obtained from executing "apt-get install rails". (New installation of Ubuntu 7.0.x) I had problems configuring and using gems to install it. The ./configure script throw errors with missing ''zlib'' even though I made sure all the required libraries were installed. Anyway ''apt-get'' worked, but now I
2008 Jan 21
4
Rails app cannot connect to Ferret server
I have installet the Ferret gem v. 0.11.6 and the latest acts_as_ferret plugin from svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret I''ve followed the instructions here http://projects.jkraemer.net/acts_as_ferret/wiki/DrbServer to set up the server, and put acts_as_ferret :remote => true on one of my models (Ad) I can also start the ferret_server, but when