Displaying 20 results from an estimated 2000 matches similar to: "offline copy of the api site ?"
2005 Oct 22
2
problem with "gem update mysql"
Hi,
I have activated scaffold in my first rails application ( following
http://manuals.rubyonrails.com/read/chapter/38 ) and now I get the
next error
''Packets out of order'' error was received from the database. Please
update your mysql bindings (gem update mysql) and read
http://dev.mysql.com/doc/mysql/en/password-hashing.html for more
information.
if I run the "gem
2007 Dec 22
12
error when installing on jruby (fastthread dependency)
I''m running jruby trunk which has integrated rubygems 1.0.0 and when
I try and install mongrel with gem it blows up when the fastthread
dependency tries to do a native compilation.
I couldn''t find a copy of the gemspec in the svn checkout but looking
at the one installed when gem installing mongrel didn''t show any
platform differentiation. There is platform
2004 Nov 04
4
Attempt to build a gemspec
Hi all,
I''m trying to build a gemspec for win32-ipc, using a precompiled binary.
Here''s my gemspec file:
#win32-ipc.gemspec
require "rubygems"
spec = Gem::Specification.new do |s|
s.name = "win32-ipc"
s.version = "0.3.1"
s.platform = Gem::Platform::WIN32
s.summary = "A base class for Win32 synchronization
objects."
2012 Jan 20
2
Build a ruby gem and conditionally specify dependencies
I am working on a gem that has needs to set dependencies conditionally
when the gem is installed. I''ve done some digging around
and it looks like i''m not alone in this need.
http://stackoverflow.com/questions/4596606/rubygems-how-do-i-add-platform-specific-dependency
# this is a long thread
http://www.ruby-forum.com/topic/957999
The only way I can see to add dependencies to
2008 Jun 03
9
Build rspec-rails as a gem?
I can''t figure out how to build rspec-rails as a gem when just cloned
from github... there isn''t any .gemspec file or rake task that does
this. Any help?
--
Posted via http://www.ruby-forum.com/.
2008 Aug 24
5
uninitialized constant "Console"
I just upgraded webgen, and it broke. Here''s what I get when I run webgen:
chadmac:thewoolleyweb.com woolley$ webgen --version
An error has occurred: uninitialized constant Console
chadmac:thewoolleyweb.com woolley$ gem list webgen
*** LOCAL GEMS ***
webgen (0.5.2, 0.4.7)
2004 Mar 14
3
Re: RubyGems 0.2.0
Hello Chad,
I installed and tried out rubygems for one of the win32-utils
projects named win32-mmap. This is on Win XP (Home).
Here is how I did it but got some errors (see at the end).
I must be doing something wrong.
Please help ...
-- Shashank
#------------------------------------------------------------
require ''rubygems''
spec = Gem::Specification.new do |s|
2005 Jun 26
2
wxruby gems
Hi
Following on from some talk last year of creating gems for wxruby, I''ve
attached a first try at them (for 0.6.0, not wxruby-swig). I mainly made
them because I want to ease installation of Weft QDA by adding wxruby
(and sqlite) as gem dependencies, but hopefully they will be generally
useful.
A couple of queries:
1) Who should be listed as author?
2) It doesn''t include
2008 Jun 26
3
Freeze and dependence problems?
Hello
I have a server using Rails 1.1.6
So I developed my application on my computer, with Rails 2.1
After that I did a rake rails:freeze:gems. That sent Rail gems was sent
to /vendor/rails
I sent my application to server, configured, and everything was working
fine, using Rails 2.1 Freezed Version.
Now I need to install a plugin (will_paginate).
But when I try to ''require''
2006 May 08
2
Documentation for rails
I''m trying to convince a co-founder of the startup I''m working on that rails
is the new black, or possibly the next sliced bread. Does rails ship with
doc, or the API? I can''t even figure out how to download it from
api.rubyonrails.com, or if that''s possible. When I look in
C:\ruby\lib\ruby\gems\1.8\gems\rails-1.1.2\doc I see nothing of use. I
have to admit
2006 Feb 22
3
ri docs for Rails?
I cant find ri docs for any of the Rails classes. Do I have to generate them?
I do see RDoc files.
john
2006 Apr 19
3
Custom Form Buttons
Is there a way to deliver options for a custom form button to the submit
function?
As in:
<input type="image" name="submit" src="image.jpg" width="126"
height="18">
--
Posted via http://www.ruby-forum.com/.
2009 Oct 05
4
Friendly_id and Rake problem.
Hello there,
The plugin friendly_id (http://github.com/norman/friendly_id) has rake
tasks that you can call.
I''m using this plugin as a gem.
I''m trying this: rake friendly_id:make_slugs MODEL=Post
and it is rising this error: Don''t know how to build task
''friendly_id:make_slugs''
So the question is: how do I call a gem''s rake task?
David
2009 Jun 10
3
Problems 4.2 installing on Windows?
I keep an old Windows machine around for making sure that RedCloth
Win32 binary gems install. When I try gem update RedCloth, it just
installs 4.1.9. Did I do something wrong in the gemspec? Would
someone else with a windows machine try it and let me know how it goes?
Jason
2006 Apr 15
6
view code regular expression
I''m lost on regular expressions to begin with...
I''m trying to fix a value to one of 4 radio buttons as there will be
value of either 1,2,3 or 4 in @roles_users...
<TD><input type="radio" id="roles"
name="case_managers[case_manager_name]"
value="Case Manager Admin"
<% if =~ @roles_users /1/ checked =
2006 Aug 07
5
Documentation for downloading and reading offline
Is there anywhere that I can download the Ruby/Rails documentation &
APIs so I can peruse it offline at leisure? I only have a dialup
connection at home and going online all the time to access important
documentation like that is a bit of a pain.
--
Posted via http://www.ruby-forum.com/.
2011 Oct 03
4
gem update --system issue
I run the command
$gem update --system
after all time while installing gems and even
$rails -v
command also giving below error
Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/
json-1.6.1.gemspec]: invalid date format in specification: "2011-09-18
00:00:00.000000000Z"
Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/
json-1.6.0.gemspec]: invalid
2007 Jan 27
7
Getting elements from a web page
I am new to Mechanize and was wondering if there was a built-in method
to get the elements that are on the page that are not part of a form.
A couple of examples would be my banking site lists my entries and I
want them to go into an array so that I can handle them.
Or another site I use, does some categorization for me and I would like
to manipulate it and present it differently to a user.
2006 Jul 17
1
RDoc
Newbie question:
In the Rails documentation it often reads something like
> See the RDoc on ActionController::AutoComplete to learn more about
> this.
How do I generate/view this documentation? (I''m on Mac OS X)
Thanks in advance
Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2004 Nov 03
4
rdoc, ri and gems
Hi all,
I''ve been going over the chapters on RDOC and gems lately. I think we
should probably work on making the code in Win32Utils "rdoc" friendly.
I''ve started doing this with ''win32-ipc'' as an experiment.
This probably means some directory reorganization, because I think gems
looks for extensions in an ''ext'' directory, whereas