Displaying 20 results from an estimated 10000 matches similar to: "gem install rails locally without Internet?"
2006 Mar 03
2
newbie scaffold question
I''ve got a database with several tables. I''d like to create scaffolding
for separate CRUD interfaces for several of these tables. I''m hoping
that the scaffold generator can create the CRUD code for all these
tables in ONE controller, but I don''t know how to tell it to do that, if
it can.
Can anyone verify if this is possible?
Thanks,
David
--
Posted via
2006 Mar 21
4
Broken config/lighttpd.conf? (in EdgeRails)
I''m using Mac OS X, I installed Ruby/Rails/lighttpd/etc via the
instructions from hivelogic. I think I''ve found a bug with
EdgeRails, but I''m not sure how to submit it (and maybe I''m doing
something wrong and someone can just point me in the right
direction). Anyway I thought I''d report it just in case it is a bug.
I''ve downloaded
2011 Mar 16
19
Uninitialized constant Files::Magick -still around
Hi there,
I''m solving the problem about the plugin Magick. In my app in Gemfile
I''ve follwoing:
require ''rubygems''
require ''mongo''
require ''RMagick''
include Magick
and in a model Files:
class Files
def self.save(upload)
...
img = Magick::Image.read(''public/data/nature6.jpg'').first
end
end
2006 Feb 24
6
Changes to Class File Not Being Recognized by Webrick
Newbie, having good luck with Dave Thomas'' book ''Depot'' application
until I discovered that changes to one of my .rb class files are not
being recognized until I bounce the webrick server.
Any ideas on this? Thanks.
--
Posted via http://www.ruby-forum.com/.
2006 Mar 13
3
HABTM: two habtm''s between the same two tables
Imagine I want to track people, and the clubs that they belong to.
table people with columns person_id, person_name
table clubs with columns club_id, club_name
And I have the association table:
table clubs_people with columns person_id, club_id
Now I know how to do this habtm between the two, in order to associate
people with clubs that they belong to.
However my application also needs a
2009 Nov 17
3
gem install rails - errors MAC OSX (snow leopard)
This produced quite a mouthful of text.
I''m stuck on the error messages and wondering if I messed something
up. Any advice would be very appreciated. Thank you.
dust:~ Lex$ gem install rails
WARNING: Installing to ~/.gem since /Library/Ruby/Gems/1.8 and
/usr/bin aren''t both writable.
WARNING: You don''t have /Users/Lex/.gem/ruby/1.8/bin in your PATH,
gem executables
2012 Feb 14
6
cannot load such file -- openssl (again)
This problem has been discussed a number of times, but none of the given
solutions seems to work for me.
Problem:
Trying to generate the infrastructure for testing with Cucumber gives
the following error
~/.../OTK-register$ rails generate cucumber:install
/home/tpollak/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in
2006 Apr 04
4
Freezing Architecture-Dependent Gems such as Rmagick, Ferret, Unicode
A lot has been made recently about the need to freeze your gems for
production deployment on a shared server so your application can depend on
it''s own gem version instead of being subjected to whatever gem is installed
on the server, but does this rule of thumb come with an exception?
Architecture dependent gems such as RMagick, Ferret and Unicode have
dependencies that cannot be
2010 Jan 05
6
thin server claims I don't have correct rails gem installed
Hi everyone, I need some insight into a problem I just started having.
I''m running ruby 1.8.6 on an ubuntu box with the following gems
installed:
$ sudo gem list --local
*** LOCAL GEMS ***
actionmailer (2.3.5, 2.3.4, 2.3.2, 2.2.2)
actionpack (2.3.5, 2.3.4, 2.3.2, 2.2.2)
activerecord (2.3.5, 2.3.4, 2.3.2, 2.2.2)
activeresource (2.3.5, 2.3.4, 2.3.2, 2.2.2)
activesupport (2.3.5, 2.3.4,
2012 Jun 27
6
Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type ruby::gemInstall at myFile.pp:82
I have a module located at /etc/puppet/environments/test/modules/ruby.
I
n this I have a manifests folder with two .pp files - init.pp and
gemInstall.pp.
In one of my node def files I have:
include ruby
ruby::gemInstall { ''someGem-version.gem'':
path => ''/path/to/agent/local/gem/repo'',
}
ruby::gemInstall is a define, and it has some logic to get around
2009 Jul 28
6
how to set smpt server for our rails applicaion
hi i am using technoweenie-restful-authentication plug-in for
authentication in my application. i want to send a activation link to
the user''s mail-id.
for that i need to set the smpt server for our rails application, for
that i added the follwing code in config/environment.rb file
ActionMailer::Base.delivery_method:smpt
ActionMailer::Base.smpt_settings = {
:address =>
2006 Apr 16
5
ActionMailer
Is there a way to connect to a SMTP server that requires TLS since
ActionMailer doesn''t support it?
Thanks,
Lantis.
--
Posted via http://www.ruby-forum.com/.
2006 Aug 09
5
HELP!!! New to Ruby
Hi all,
I am new to Ruby programming language. I know that require ''gemname'' is
used for using some gems in our application. I have a sample application
developed in Ruby on Rails which have the following lines of code:
require ''zlib''
require ''stringio''
Can you plz help me to know what these gems are used for. It would be
very helpful if
2005 Mar 02
2
Problems installing gems using rails
Hello
I''m trying to use rubyonrails, but had some troubles:
First, there was an issue with gems (it did not finished the installation):
# gem install rails
Config file /root/.gemrc does not exist
Attempting local installation of ''rails''
Local gem file not found: rails*.gem
Attempting remote installation of ''rails''
Updating Gem source index for:
2005 Mar 22
9
am i the only one with this problem?
(clean install)
>gem install rails
Attempting local installation of ''rails''
Local gem file not found: rails*.gem
Attempting remote installation of ''rails''
Install required dependency activesupport? [Yn] y
Install required dependency activerecord? [Yn] y
Install required dependency actionpack? [Yn] y
Install required dependency actionmailer? [Yn] y
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
2005 Dec 02
8
UserEngine: stack level too deep
Hi,
I''m trying to get the UserEngine running.
I have installed the LoginEngine, added the essential lines to
environment.rb / application.rb and application_helper.rb.
Worked fine.
Then I did the same with the UserEngine and when trying to set up the
db:
rake engine_migrate ENGINE=user
I get:
Migrating engine ''user_engine''
rake aborted!
stack level too deep
But...
2009 May 19
1
logging with the daemons gem
I am trying to leverage the daemons gem but I am confused about the
proper way to set up logging. I am able pass options which configure
stdout to go to a log file but it seems like all calls to Rails.logger
are disabled as I see the following message in my output:
usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
active_support/buffered_logger.rb:99:in `write'': closed
2007 Dec 07
7
activerecord 2.0.1 gem
I have tried to install activerecord 2.0.1 both through gem update and
by manually downloading it and doing gem install. They both fail with
MANUAL:
C:\DRC\ruby>gem install activerecord-2.0.1
ERROR: Error installing gem activerecord-2.0.1[.gem]: buffer error
REMOTE:
R:\workzone\dwell-aware\trunk>gem update --source
http://gems.rubyonrails.com
Updating installed gems...
Attempting remote
2009 Jun 10
5
uninitialized constant ActiveSupport::Cache (NameError)
Hi
After having updated some GEMS I get `load_missing_constant'':
uninitialized constant ActiveSupport::Cache (NameError) on starting
the server of a freshly generated rails project.
Before, I already had Rails 2.3.2 projects succesfully running, now
all of them generate this error.
These are my GEMS:
actionmailer (2.3.2, 2.2.2, 2.1.2, 2.1.1, 2.1.0)
actionpack (2.3.2, 2.2.2, 2.1.2,