Displaying 18 results from an estimated 18 matches for "gemnam".
Did you mean:
gemname
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...
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
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
...gent/local/gem/repo'',
}
ruby::gemInstall is a define, and it has some logic to get around some
problems I had when trying to install gems via a package resource, the
source is below.
define ruby::gemInstall (
gem = $title,
path = hiera(''v_rubygem_path'')
) {
$gemName = regsubst($gem, ''([^-]+)-.*\.gem'', ''\1'')
exec {"/usr/local/bin/gem install ${gem}":
cwd => $path,
unless => "gem list -i ${gemName}",
require => Package[''rubygems''];
}
}
But when I try to app...
2006 Jan 02
5
How can one use GRUFF with locomotive ( I guess there is a wider question here, also)
Hi:
I love Locomotive and use it exclusively for my rails projects. I''d
like to install GRUFF and give it a try (a graph image creation
package). I know I can do sudo gem install gruff from the command
line for normal ruby and rails. How do I make gems available to
Locomotive?
bruce
2010 Jan 24
2
Rails server error when rails starts
Hi guys,
i am having a little problem. I have installed ruby 1.9.1 and rails
2.3.5. Ruby is working just fine. The rails applications is being
created fine. But when i run the command ruby script/server i get an
error that says "The program can''t start because msvcrt-ruby18.dll is
missing".
I googled this message and is pointed to this page:
2006 Jun 15
5
gem install rails locally without Internet?
I''ve got a machine that cannot be connected to the Internet (think
security precautions in a bank) and am thus trying to install rails
using
gem install rails-1.1.2.gem
thinking this would work. It does not. I get errors about
ActiveSupport module missing. It makes it sound like I have to get
separate gems for ActiveSupport, ActiveRecord, etc., and install them
all one at a
2011 Dec 13
1
Trouble setting up Rails with a JS runtime environment
Hi all,
I''m using Ubuntu 11.10 and the terminal to install and run Rails. Here
is the process I''ve taken so far to setup Rails:
> download and install Ruby 1.9.2 and Rails 3.1.0
-- I did this using ''sudo apt-get ruby1.9.1'' and ''sudo gem install
rails''
> I made a new rails app using ''rails new path/to/app''
> I went
2012 Feb 06
3
Bundler - how to re-install all gems after os update?
I had a working Rails setup using RVM on Ubuntu 11.10 with /home on a
separate partition. I installed Ubuntu 12.04 (Alpha) on the root
partition, leaving the home partition unchanged. I now find that some
things don''t work, I think due to the fact that the system has been
updated and versions of libraries have changed. For example I get:
$ rails c
2012 Feb 14
6
cannot load such file -- openssl (again)
..._cleaner (0.7.1)
Using mysql2 (0.3.11)
Using rails (3.2.1)
Using rspec-core (2.8.0)
Using rspec-expectations (2.8.0)
Using rspec-mocks (2.8.0)
Using rspec (2.8.0)
Using rspec-rails (2.8.1)
Using sass (3.1.15)
Using sass-rails (3.2.4)
Using uglifier (1.2.3)
Your bundle is complete! Use `bundle show [gemname]` to see where a
bundled gem is installed.
and
~$ ls /*/*/*/*/openssl* | grep openssl
/usr/bin/X11/X11/openssl
/usr/lib/i386-linux-gnu/pkgconfig/openssl.pc
/usr/lib/ruby/1.8/openssl.rb
/usr/lib/ruby/1.9.1/openssl.rb
/usr/share/doc/openssl/openssl_button.gif
/usr/share/doc/openssl/openssl_button...
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
2010 Dec 08
1
NoMethodError: `bytesize' for 200:Fixnum (with Rails-3.0.3)
...ommands.rb:27:in `tap''
/opt/local/lib/ruby/gems/1.8/gems/railties-3.0.3/lib/rails/
commands.rb:27
./script/rails:6:in `require''
./script/rails:6
===========
Installed gems:
===========
$ bundle install | sort
Your bundle is complete! Use `bundle show [gemname]` to see where a
bundled gem is installed.
Using abstract (1.0.0)
Using actionmailer (3.0.3)
Using actionpack (3.0.3)
Using activemodel (3.0.3)
Using activerecord (3.0.3)
Using activeresource (3.0.3)
Using activesupport (3.0.3)
Using arel (2.0.4)
Using builder (2.1.2)
Using bundler (1.0.5)
Using...
2013 Apr 23
4
Examples of long AND WELL-WRITTEN Ruby scripts
I''m looking for examples of Ruby scripts that are long AND well-written.
I have a Ruby script for scraping information on stock ETFs and mutual
funds and storing the data in a Postgres database at
https://github.com/jhsu802701/bsf-scrape/blob/master/scrape.rb . While I
need to make some minor changes to it (like providing external options to
choose between the long and short
2010 Nov 20
4
How to get rspec running?
...Using faker (0.3.1)
Installing nokogiri (1.4.4)
Using rspec-core (2.0.1)
Using rspec-expectations (2.0.1)
Using rspec-mocks (2.0.1)
Using rspec (2.0.1)
Using rspec-rails (2.0.1)
Using sqlite3-ruby (1.3.2)
Using webrat (0.7.1)
Using will_paginate (3.0.pre2)
Your bundle is complete! Use `bundle show [gemname]` to see where a
bundled gem is installed.
U:\railsprojects\rim2011>rspec spec/
C:/Ruby192/lib/ruby/gems/1.9.1/gems/nokogiri-1.4.4-x86-mingw32/lib/nokogiri/nokogiri.rb:1:in
`require'': 127: Die angegebene Prozedur wurde nicht gefunden. -
Init_nokogiri (LoadError)
C:/Ruby192/lib/ruby/...
2006 Apr 25
12
Newb Gem Install Help!
This seems newbish, but I can''t seem to get this gem to install no
matter what I do. The gem in question is login_generator, and no matter
what folder I put the .gem file in, it can''t read locally - am I missing
something?
Remote install hangs at updating the source.
--
Posted via http://www.ruby-forum.com/.
2012 May 16
7
Rails 3.1.0 cannot connect to sqlite database on Mac Lion
I''m running Rails 3.2.3 on Mac Lion with sqlite 3.7.7 and ruby 1.9.3p125. I need to back down rails to 3.1.0 for a project but when I do that a simple index page give me a
ActiveRecord::ConnectionNotEstablished
error.
Rails 3.2.3 works, 3.1.0 not. Any ideas?
Just to show you it''s nothing fancy....
Gem file is only:
source ''https://rubygems.org''
gem
2011 Mar 14
7
Rails server not works - yesterday worked fine
Hello there,
I''ve a big problem -- I come now PC and started rails server and I got
this huge report of errors. The rails server is not running, I''ve any
idea, what is wrong. Yesterday everything worked yet...
The statement after command "rails server" is here:
=> Booting Mongrel
=> Rails 3.0.5 application starting in development on
http://0.0.0.0:3000
=>
2012 Jan 21
16
Installing rails on Ubuntu
Hello, I''m trying to install the rails on ubuntu 11.10, but when I put
the command
felipe@Felipe:~/Downloads/rubygems-1.8.15$ sudo gem install rails
--no-r1 --no-rdoc
ERROR: Loading command: install (LoadError)
no such file to load -- zlib
ERROR: While executing gem ... (NameError)
uninitialized constant Gem::Commands::InstallCommand
felipe@Felipe:~/Downloads/rubygems-1.8.15$
2009 Jul 31
43
Error: uninitialized constant MysqlCompat::MysqlRes
Hi,
I installed the "kwatch-mysql-ruby" gem on my Debian server but when I
try to run the "db:migrate" task I get the following error:
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
rake aborted!
uninitialized constant MysqlCompat::MysqlRes