similar to: Getting gem rdoc via ri?

Displaying 20 results from an estimated 300 matches similar to: "Getting gem rdoc via ri?"

2005 Dec 23
3
Getting ri to include rdoc for my rails gems
I''ve installed Ruby 1.8.2 and Rails 1.0 on Windows XP and it''s working great. However, ri, doesn''t seem to know about any of the rdocs for the rails classes. For example if I run "ri --classes" none of the ActiveRecord classes are listed. What''s the correct way to get ri to include rails classes? Thanks, Todd -- Posted via
2009 Mar 22
6
"file not found" [detailed]
Wine 1.1.15 trying to run Flat Assembler 1.67.36 which was moved in /home/.wine/drive_c beforehand. error when trying to compile/run a file: "file not found".
2006 May 01
4
efficiency in merging two data frames
I have two data sets about lots of companies' stock and fiscal data. One is monthly data with about 144,000 lines, and the other is quaterly with about 56,000. Each data set takes different company code. I need to merge these two together. I read both ask cvs. And the other file with corresponding firm code. Now I have three data sets. return$PERMNO, account$GVKEY. id is the data frames
2010 Apr 23
3
rails-3.0.0.beta3 install error on ri 'lib' ENOENT
Hi, I was getting an odd error installing rails-3.0.0.beta3 on a fresh Ubuntu 10.04 install. The same exact error was occurring on my Ubuntu 9.10 install, so I''m sure it isn''t something specific to the Ubuntu version (nor beta for that matter). This is the error: mike@ubuntu:~/rubygems-1.3.6$ sudo gem1.9.1 install rails --pre Successfully installed activesupport-3.0.0.beta3
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
2006 Feb 15
6
Problem creating appdoc documentation
Hello, can anyone help me. After a few weeks I returned to the rails to play with it. But I recognize that I''m now not abble to build appdoc. The same thing that few weeks ago worked without an problem now give me an error: unrecognized option `--line-numbers --inline-source'' $ rake --trace --verbose reappdoc (in /home/radek/src/firma/giga-net/ncc/work) ** Invoke reappdoc
2006 Dec 14
1
Patch: make rdoc of lib/mocha/object.rb instead of lib/stubba/object.rb
Index: Rakefile =================================================================== --- Rakefile (revision 73) +++ Rakefile (working copy) @@ -23,7 +23,7 @@ task.rdoc_dir = ''doc'' task.template = "html_with_google_analytics" task.options << "--line-numbers" << "--inline-source" -
2006 May 06
3
Extending Rails plugins?
Gents, I''m using the acts_as_taggable rails plugin (not gem), and would like to add some additional methods to it. For example, the find_tagged_with methods essentially does a find tag in a list (effectively an OR), while I''d like to implement a find_tagged_with_all method that would implement an AND (so if I specified 4 tags, it would only return items that were
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
2006 Apr 24
1
Upgrading Rails to 1.1.2 exception thrown ...
Hi, I was able to successfully upgrade my ruby version to 1.8.4 After that i issued this: sudo gem install rails --include-dependencies The output of which is this: Attempting local installation of ''rails'' Local gem file not found: rails*.gem Attempting remote installation of ''rails'' Updating Gem source index for: http://gems.rubyforge.org Successfully
2006 Jul 09
5
Tip: searchable Rails api docs from within RadRails!
Just a tip for those of you using RadRails. If you install the new rubygems 0.9.0, you can type "gem rdoc --all --ri" at the command line. Then, open up RadRails, go to Window->Preferences->Ruby->Ri/rdoc and change your ri path to the path to gemri (which gemri). Finally, open up your RI Eclipse view and voila...indexed, searchable rails api docs at your finger tips! This
2006 May 18
4
Install Glitch
Ubuntu 5.10, Ruby 1.8.3. I installed rubygems, then tried rails, and get a tragic looking error at the end. Is this a problem? It looks related to rdoc. root@bonus:/usr/local/rubygems-0.8.11# gem install rails --include-dependencies Attempting local installation of ''rails'' Local gem file not found: rails*.gem Attempting remote installation of ''rails''
2009 Mar 29
2
[not problem] link creation for Wine questions
right, so if I install programs and they create Desktop links, Wine will create those links and actually use the program's ICO. how can I do this manually? TIA.
2006 Jul 08
10
A rant about parameters
Guys, I''ve been chasing a problem with country_select for the past few hours now. My intention was pretty simple...use the following line in a form: <p><label for="country_region">Country</label> <%= f.country_select :country_region, "United States" %></p> However, for the life of me, I couldn''t get it to work. I kept getting
2005 Nov 18
2
Migrate Ubuntu Rails App to Fedora?
I developed a small RoR app on my Ubuntu laptop and I just tried to migrate it to my "production" box which is Fedora FC3. I moved the entire rails app. I received this error when I tried to get the first page: [2005-11-17 15:36:00] INFO WEBrick::HTTPServer#start: pid=32546 port=3000 192.168.0.61 - - [17/Nov/2005:15:40:01 EST] "GET /freesql HTTP/1.1" 200 0 - ->
2006 Mar 23
6
[mongrel] [fedora5] install error " can''t find ruby libs"
Installed Fedora5. Installed Ruby 1.8.4. Installed rubygems. Installed rails. Created test app to verify that ruby and rails were working. When I attempted to install mongrel via: sudo gem install mongrel I get this error: Install required dependency daemons? [Yn] y Install required dependency gem_plugin? [Yn] y Building native extensions. This could take a while... can''t find
2006 Feb 06
7
Delaying initialization of associations until first access
Guys, Say I have the following: ----- class Person < ActiveRecord::Base has_one :house end class House < ActiveRecord::Base belongs_to :person attr_accessor :color end ----- Then I have the following code: ----- john = Person.new john.house.color = "Blue" john.save ----- What I would like to have happen, is that on first call to john.house, if house hadn''t been
2008 Nov 24
14
Problem with RubyGems installation
Hello, I am trying to install RubyGems on Ubuntu and i''m having trouble. I''ve downloaded rubygems 1.3.1 and when i run the sudo ruby setup.rb command I get the problem mentioned below. I''d really appreciate if someone can help me out. Thanks mkdir -p /usr/local/lib/site_ruby/1.8 mkdir -p /usr/bin install -c -m 0644 rbconfig/datadir.rb
2006 Jan 19
1
Rationale behind render opposed to render_action
Guys, What was the rationale behind moving to the swiss army-ish method of render(:X), as opposed to the various render_X methods that existed before? I find it easier to keep the render_X style in my brain, rather than trying to remember what the valid parameters to render() are. It''s also more code completion friendly. Just curious. Thanks, John -- Posted via
2006 Apr 03
0
documentation question (ri and binding vs. get_binding vd getBinding)
I was reading up on ERB documentation and a snippet on rhtml requiring the use of Object.get_binding caught my attention: ... rhtml = ERB.new("someTemplate") rhtml.run(someObject.get_binding) ... Curious about tools I have at my disposal to learn more about things I don''t know about Ruby, i typed the following into my DOS console: ri get_binding and got the following