Displaying 20 results from an estimated 50000 matches similar to: "Scripts and Rake"
2008 Mar 18
0
rake tasks
Hi All,
New to merb, I was wondering if there are any similar rake tasks to that
of the rails rake stats?
Im using merb version 0.5.3
Tried the aok task and am getting the following:
eoghan-js-Computer:test_app eoghanj$ rake aok
(in /project/merb/test_app)
/usr/local/lib/ruby/gems/1.8/gems/merb-0.5.3/lib/merb/version.rb:45:
warning: already initialized constant RELEASE
rake rcov
(in
2007 Dec 07
4
mrblog rake task fails
Hi all,
I''m trying to run the mrblog sample application but somehow the rake
task fails:
--
Los-Angeles:~/Projects/mrblog Ulf$ rake db:schema:load --trace
(in /Users/Ulf/Projects/mrblog)
rake aborted!
Don''t know how to build task ''db:schema:load''
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1472:in `[]''
2007 Sep 26
0
Fwd: error with schema_info when doing multiple migrations
Posting to merb list in case it is a merb problem. (?!??)
The error still happens with sequel 0.2.1.
---------- Forwarded message ----------
From: Kevin Williams <kevwil at gmail.com>
Date: Sep 23, 2007 10:26 AM
Subject: error with schema_info when doing multiple migrations
To: sequel-talk at googlegroups.com
I tried to post an issue to the project site but it kept giving me 500
server
2008 Mar 13
1
Merb Projects and Autotest
Hi!
I''m rather new to Merb, but I thought I''d give it a shot. I found that
autotest wasn''t running my specs when my models were changing. Maybe this
is because of how I have set up Merb, but in the even that it''s not just me,
I''ve adapted Autotest''s mappings for Rails and have attached my efforts to
this email. Unfortunately, you need to
2007 Aug 12
2
[PATCH] merb-rakefile-more-dist-byebye.diff
In rev 410, "rake db:migrate" doesn''t run because the Rake tasks are
still looking for dist/
This patch removes all the references to dist/ that I could find.
Ez, consider this a full copyright transfer from me to you on this
and future patches; I''ll sign something official if you need it.
-------------- next part --------------
A non-text attachment was
2007 Sep 22
9
skeleton and configs
Hi people, just thought I''d mumble out my thoughts on merb''s apps
directory structure and config concepts and see what other people are
feeling...
the app dir:
mvc/application is layed out as expected....maybe
without the mailer by default (another discussion)
the config dir:
I really think that it''s confusing to have such a
mixture of ways to configure some
2007 Mar 28
0
[recipe] How to get on Merb Edge
Hello,
My name is Olle, and I am new here. I''d like to add some detail to
Ez''s explanation in a previous email [1]. These are the steps I took
to get Merb running Merb Edge (is that what you call it?).
Start in the merb-root not in the dist-root.
# Create dist/framework, plus script/merb stub
rake merb:freeze
cd dist
rm -rf framework
# Replace dist/framework with trunk
2007 Mar 09
0
Merb + attachment_fu
Merbists,
I saw a note in the attachment_fu source code regarding supporting Merb[1]
as well as a post on the Caboose forum[2].
Has anyone gotten Merb working with Rick Olson''s attachment_fu to handle
uploads for a Rails app?
I''ve hacked together something, but it''s not pretty. Besides fixing the TODO
mentioned in the attachment_fu source code to support Merb
2007 Dec 13
2
Trying to use ActiveRecord STI but fails
Hi all,
I''m wondering about my sanity here. There''s probably something simple I
overlooked. First off, I have close to zero experience with Merb.
1. I configured use_orm :activerecord in config/dependencies.rb;
2. I have a file named app/models/measurement.rb which looks like this:
class Measurement < Observation
end
3. I have another file named
2008 Mar 02
0
Models are not initialised correctly with ''rake test'' in Merb 0.9.1
I''m using Sequel as my ORM and Test::Unit as my testing framework and
have the following model:
class Item < Sequel::Model
validates do
presence_of( :name, :uuid, :vendor_id, :vendor_reference, :amount,
:currency_code )
uniqueness_of( :uuid )
end
def initialize( *args )
super( *args )
self.uuid = UUID.random_create.to_s
end
end
As you can see I overwrite
2008 Jan 10
1
Merb constants
the constants update (http://pastie.caboo.se/137630) is cleaner... but... am
I right in thinking that rake tasks are now a bit buggered?
Looks like a search/replace was performed, but its now impossible to set an
environment for rake tasks?
chrisfarms
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2008 Apr 22
1
''dependencies'' and RedCloth
Hey gang.
Jed noticed an issue with the ''dependency''/''dependencies'' macro the other
day when working on the Collective wiki. Namely, if you make RedCloth a
dependency Merb gets a little cranky. I think I have this figured out when
doing some mods to Collective today too. However, before I go trying to fix
this in Merb, I wanted to run this by the community.
2007 Aug 31
3
Bootstrapping from SVN
Is there a simple way to bootstrap merb directly from the Subversion
repository, rather than first installing it as a gem?
I can do the following if I already have an old gem lying around:
merb -g testapp # using an old gem
cd testapp
rake merb:freeze_from_svn
Unfortunately, that means I''m using an old version of the generator. So for
example, when I just tried this,
2007 Aug 04
2
How do you run an app on "edge merb"?
I didn''t quite see a direct answer to Matt''s question regarding
running merb from SVN:
http://rubyforge.org/pipermail/merb-devel/2007-July/000132.html
In a merb application, is there something comparable to having rails
in the vendor/ folder of a rails app?
Thanks,
Duane Johnson
(canadaduane)
2007 Mar 13
2
running merb locally
Stupid question, but is there a way to run merb locally, without installing
it as a gem? I don''t mean freezing it into a merb app, but checking out merb
and being able to run it without installing the gem first.
The reason I ask is that I''m working on some debugging stuff and it''d be
helpful to be able to modify the source code, run it, modify, run, and so
on. (And yes,
2007 Sep 22
3
merb_sequel raketasks not working?
I''m trying to run on trunk. When I run "rake -T" I get an error:
undefined local variable or method `full_config'' for Merb::Orms::Sequel:Module
I''m not 100% sure that I haven''t messed something up, so I hesitate to
cry "bug" without checking with everyone. Is anyone else seeing this?
P.S. I''m running merb trunk installed as a gem,
2008 Jan 18
5
How do I pass form values from POST controller specs?
Hi there
I just started my first Merb app and I''m running into some weird
things in Specs. When I do:
describe "create action" do
it "should create a new project" do
project_params = {:name => ''bekkunin''}
Project.should_receive(:create).with(project_params)
controller, action = post(''/projects'', :project
2007 Sep 04
5
Xml templates...
I was looking in using an xml_builder template to do something like:
blee.xerb
xml.blees do
<% for blee in @blees %>
xml.blee = blee.name
<% end %>
end
It looks like the xml_builder template can''t expand the erb tag.
It this not the correct way to expand and xml template ?
Thanks !
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Aug 12
0
[PATCH] [TINY] make scripts executable
Super simple patch to chmod 755 the scripts dir in the generator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: merb-executable-scripts.diff
Type: application/octet-stream
Size: 510 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/merb-devel/attachments/20070811/c1f6d24b/attachment.obj
2008 Jan 14
0
Making failing view specs easier to troubleshoot
I just had a problem that had me stumped for an hour. All of a sudden
all of my view specs were failing, and I couldn''t get good
troubleshooting information from the rspec output. The output from
running `rake specs` was a bunch of HTML from
app/views/exceptions/internal_server_error.html.erb, but there wasn''t
enough info there to diagnose my problem. It just said