search for: mygem

Displaying 4 results from an estimated 4 matches for "mygem".

Did you mean: mygam
2011 Jul 20
0
Testing Gems
...ng exists, what sort of things would be best used and considered to do this. This sort of thing seems useful to me and my team, and we''d happy consider putting some time into creating such things. I''m thinking something in rspec/shoulda along the following lines: describe "MyGem" do describe "generators" do it {should generate :Rakefile} it "should have helpers in Rakefile" do generated(:Rakefile).should include "Bundle::GemHelper.install_tasks" end end end this would be for testing paths in the generated files...
2007 Sep 19
49
plugin dependencies
Hello all, The topic of plugin dependencies has come up before and it doesn''t seem to have been addressed by core or core doesn''t seem to think it''s an issue. I''ve looked at the current edge code and don''t see anything new, so if I''ve missed something *please* let me know. The following article makes mention of a require_plugin
2011 May 29
4
Model load time
...ils 3.1.0.rc1 on ruby 1.8.7 My application models are: Curso Legislacao Usuario And I have another model that is loaded from a gem Im trying to build: Cidade My gem is actually a simple engine: require ''active_record'' require ''my_gem/app/models/cidade'' module MyGem class MyGemEngine < Rails::Engine config.to_prepare do puts ActiveRecord::Base.descendants end end When I start the server it prints, as expected: => Booting Mongrel => Rails 3.1.0.rc1 application starting in development on http://0.0.0.0:3000 => Call with -d to detach =&...
2010 Apr 09
9
gem install rails (Errno::ENOENT) No such file or directory
I have two PCs, one with Windows XP and another with Windows Vista. I''m working as an administrator in both computers. I''m using Ruby 1.8.7 and Rubygems 1.3.6. When I try to install Rails I get this error: C:\>gem install rails ERROR: While executing gem ... (Errno::ENOENT) No such file or directory - C:/Users/Jesús Dugarte I have installed Rails several times before