Displaying 20 results from an estimated 10000 matches similar to: "how to install ruby on rail without gem"
2006 Feb 02
4
rails-1.0.0 gem rdoc problem
Just got a brand new install of ruby-1.8.4 and new gems downloaded,
specifically rails-1.0.0. Seems rails does not generated rdoc for gem_server.
Looking into the problem, it seems that there is an error when doing ''rake rdoc''
for rails-1.0.0.
% rake rdoc
(in /opt/local/ruby-1.8.4/lib/ruby/gems/1.8/gems/rails-1.0.0)
rm -r doc
unrecognized option `--line-numbers --inline-source
2009 Oct 28
2
What's the simplest way to use ActiveResource in ruby (without rails)?
I would like to use this class in a standalone project, but I have
been unsuccessful thus far.
Also, how does this class exactly communicate with the web server?
Thank you.
class Person < ActiveResource::Base
self.site = "http://localhost:3000/"
end
2008 Mar 08
9
Validation error handling on related models
I have 2 models, entity and client. Entity has_one client and client
belongs_to entity.
Entity has attributes name and legal_name. Entity also has an unique
index on (lower(name)). The pKey for both is the conventional Rails id.
Client has a fKey constraint on entity_id and is indexed in entity_id.
In controllers/clients_controller.rb I have:
# GET /clients/new
# GET /clients/new.xml
2008 Nov 11
4
Very weird rake message...
When I try and run rake db:migrate, I get this error:
rake aborted!
uninitialized constant CreateUsers
/Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active_support/
dependencies.rb:266:in `load_missing_constant''
/Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active_support/
dependencies.rb:453:in `const_missing''
2007 Oct 30
8
Comments on commit 1406 (rakefile changes)
Alex,
The changes to the rakefiles are causing me some problems building on
OS X. I am getting the following:
rake aborted!
undefined method `+'' for nil:NilClass
/Users/sean/Archive/Programming/wxRuby_Dev/wxruby2/rakefile:109
I will now go test on Windows
Sean
2007 Aug 10
3
[ win32utils-Bugs-12979 ] Error while trying to update my gem collection
Bugs item #12979, was opened at 2007-08-10 15:29
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=12979&group_id=85
Category: windows-pr
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: Error while trying to update my gem collection
Initial Comment:
C:\ruby>gem update
Updating
2012 Mar 19
3
Installation steps for Ruby on Rails?
The current project that I''m currently worked on has a requirement for
Ruby on Rails and the migration facility provided by it to keep
databases in sync. And, I''m completely new to this technology.
Here''s my scene :
1) Ruby 1.8.7 patch level 302
2) Rails 2.3.8
3) MYSql (dnt know version)
4) OS : Windows 7
I installed the 1st via the online ruby installer; and, the next
2008 Jan 18
15
scaffold :product missing in Rails 2.0.2 version of depot tutorial?
I am getting an error when I try to run the code for the depot
application (page 67 in the Agile Web Development on Rails book, 2nd
edition). I built the complete depot app with Rails 1.2.6, and all
worked well. I then updated to Gem 1.0.1 and RoR 2.0.2, and attempted
to repeat the tutorial, and got this strange behavior.
I used "rails depot --database=mysql" because I have not
2010 Sep 05
13
undefined method `path' for Gem:Module (NoMethodError)
Hi,
when running - ''ruby setup.rb'' I get the following error message:
C:\rubygems-1.3.7>ruby setup.rb
C:/rubygems-1.3.7/lib/rubygems/source_index.rb:68:in
installed_spec_directories'': undefined method `path'' for Gem:Module
(NoMethodError)
Ruby version is ruby-1.9.2-p0.
Any idea ?
Thanks.
Dani
--
Posted via http://www.ruby-forum.com/.
--
You received
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
2010 Mar 24
3
How to include a ruby gem environment.rb file?
I''m doing a Web Service Based on a page I found
(http://blog.complitech.net/web-services-basics-ruby-on-rails/) using
the rails version 2.3.4, the web service is already working, but when
working on a version Previous:
RAILS_GEM_VERSION = ''2 .0.2 ''unless defined? RAILS_GEM_VERSION
I can not run the service.
On the previous page, there''s a part that says:
3)
2008 May 22
2
gem install of mongrel v 1.1.5 broken in jruby
Can''t install the latest mongrel (1.1.5) in JRuby (jruby revisions
ranging from 6600 to 6750[trunk] checked) -- the platform is not
being identified and it''s trying to do native compilation.
I''m not sure it''s actually a problem with Mongrel or JRuby however --
perhaps there isn''t a mongrel-1.1.5-java.gem on rubyforge?
Some investigation below:
$
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
2008 Feb 27
2
problem installing webOrb => Plugin not found: "http://themidnightcoders.net:8089/svn/weborb"
I''m trying to install weborb in my applications but it is not working
as you can see:
C:\RoR\mijnapplication>ruby script/plugin install http://themidnightcoders.net:8
089/svn/weborb --force to reinstall
+ ./README
+ ./Rakefile
+ ./init.rb
+ ./install.rb
+ ./lib/AC_OETags.js
+ ./lib/InfoService.rb
+ ./lib/data-management-config.xml
+ ./lib/example.html
+ ./lib/example.mxml
+
2006 Jan 31
4
broadvoice??
Does anyone have any useful contact information for Broadvoice? I've
been unable to call Argentina from my Broadvoice line for almost a
month now. Their techs keep telling me they're "looking into it" but
I get no real information. I've had several other tickets open for
almost 8 months now.
I called their PR company this morning and apparently they dropped
Broadvoice
2008 Mar 07
6
creating a model registry
Hi all,
This is a problem I''ve approached so many times and always worked
around, that now I want to solve it once and for all. Say I have
something like this:
---
class X < ActiveRecord::Base
acts_as_wacky
end
module Wackinator
class ControlAllWackos
@@wackos = []
def self.kill_wackos
@@wackos.each(&:kill)
end
end
def acts_as_wacky
2009 Sep 29
1
Using speex for gsm-efr coding
Hello,
I would like to know please whether I can use Speex for Gsm-Efr coding?
Best Regards,
Ilan Borenshtein
RT embedded engineer
ASOCS Ltd
E: ilan at asocstech.com
T: +972 (0)3 9012090 Ext. 214
M: +972 (0)50 5745100
F: +972 (0)3 9032112
www.asocstech.com <http://www.asocstech.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2008 Jun 09
2
cruisecontrol integration
Hi everyone.
Backgroundrb is doing some really sweet stuff for my project. Thanks!
I am trying to integrate backgroundrb with cruisecontrol.rb. I started
off by creating a simple Rakefile:::::
desc ''task for starting up backgroundrb''
task :cruise do
template = <<-EOF
:backgroundrb:
:ip: 0.0.0.0
:port: 11006
:development:
:backgroundrb:
:log: foreground
2008 Mar 04
3
remote_form_for does not work with method = :get
It seems that remote_form_for does not work with method = :get since
it does not change the prototype call. Is this a bug?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe
2008 Feb 23
3
Attachment_fu: how to remove images?
I just used attachment_fu for the first time, and it works quite well.
I have a user-model, and each of them has_one :image (and the images
belongs_to :user). I have a question on this though: how can i remove
images? Whenever i set a new image for a user (a user who already has
an image), then the table with images gets updated correctly, with the
user_id column of the old image set to null, and