Displaying 20 results from an estimated 26 matches for "locomotive2".
Did you mean:
locomotive
2008 May 16
0
attachment_fu and/or rmagick on osx -- weird error
...etadata %>
2: <li>
3: <% if defined? repeat %>
4: <a href="javascript:void(0);"
Trace of template inclusion: /personal_pages/your_locker_door.html.erb
RAILS_ROOT: /Users/philsmy/development/BSG
Application Trace | Framework Trace | Full Trace
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/RubyInline-3.6.7/lib/inline.rb:78:in
`mkdir''
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/RubyInline-3.6.7/lib/inline.rb:78:in
`rootdir''
/Applic...
2007 Nov 15
6
Link_to popup divorced from controller?
Here''s my case:
Using a link_to popup window to show a related help file of an element
on a page.
The problem:
Window pops up perfectly, but refuses to carryover @instance variables
in the controller that I referenced in the link_to command.
The tests:
- I have the right controller/class, because it renders a specific
template, which is what it does.
- I have the right template/view,
2007 May 07
1
attachment_fu seems to be searching the wrong location for my images
...hoto.public_filename
end
retval
end
For some reason, Product.photo_filename keeps returning my $HOME
directory:
No such file or directory - "/Users/stamosunas"
The whole trace is below... it seems to be in the attachment_fu code
itself where there is a problem:
/Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/i386/
lib/ruby/gems/1.8/gems/RubyInline-3.6.3/lib/inline.rb:75:in `mkdir''
/Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/i386/
lib/ruby/gems/1.8/gems/RubyInline-3.6.3/lib/inline.rb:75:in `rootdir''
/Applications/Locomotive2...
2008 Mar 06
0
rake spec aborting
...rb"
"spec/views/works/new.html.erb_spec.rb"
"spec/views/works/show.html.erb_spec.rb" --options
"/Users/oliver/Sites/portfolio/spec/spec.opts" failed
/Users/oliver/Sites/portfolio/vendor/plugins/rspec/lib/spec/rake/spectask.rb:184:in
`define''
/Applications/Locomotive2/Bundles/custom_rails2.locobundle/framework/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1003:in
`verbose''
/Users/oliver/Sites/portfolio/vendor/plugins/rspec/lib/spec/rake/spectask.rb:153:in
`define''
/Applications/Locomotive2/Bundles/custom_rails2.locobundle/framework/lib/ruby/gem...
2007 Mar 23
0
Error - Conflicting types for parameter containers
...tract_request_environment''
/Users/stamosunas/workspaces/ruby/mgs/config/../vendor/rails/
actionpack/lib/action_controller/routing.rb:1256:in `recognize''
/Users/stamosunas/workspaces/ruby/mgs/config/../vendor/rails/railties/
lib/dispatcher.rb:40:in `dispatch''
/Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/i386/
lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/rails.rb:84:in
`process''
/Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/i386/
lib/ruby/1.8/sync.rb:229:in `synchronize''
/Applications/Locomotive2/Bundles/standardRa...
2006 Aug 17
3
Ferret locks up when adding items to an index
...e same version of Ferret on the
same platform (Locomotive under OS X) and they''re not seeing the same
behavior. Anyone have any ideas?
I have tried reinstalling Ferret, and both Ferret and Locomotive.
Here''s the difficult to read stack trace:
from /Applications/Locomotive2/Bundles/rails112.locobundle/
i386/lib/ruby/gems/1.8/gems/ferret-0.9.5/lib/ferret/analysis/
tokenizers.rb:49:in `next''
from /Applications/Locomotive2/Bundles/rails112.locobundle/
i386/lib/ruby/gems/1.8/gems/ferret-0.9.5/lib/ferret/analysis/
token_filters.rb:21:in `next''...
2006 Aug 02
4
Model still using mysql
When calling a Result.find_by_content on my model, I get the following
error:
Mysql::Error: Table ''db.results'' doesn''t exist: SHOW FIELDS FROM results
Yes, I remembered to put acts_as_ferret. Any ideas?
Trace:
/Applications/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/abstract_adapter.rb:120:in
`log''
/Applications/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapt...
2007 Apr 09
0
Problem with Ferret on OS X with Locomotive
...Locomotive 2.0.8 with Rails 1.2.3 for development. It
works great. I recently installed Ferret 0.11.4 as a gem. The
installation seemed to go fine. No error or warning messages. I
setup a test rails app to try Ferret, and the server won''t start. The
error I get is
/Applications/Locomotive2/Bundles/rmagickRailsJan2007_x86.locobundle/
framework/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret_ext.bundle:
Failed to load /Applications/Locomotive2/Bundles/
rmagickRailsJan2007_x86.locobundle/framework/lib/ruby/gems/1.8/gems/
ferret-0.11.4/lib/ferret_ext.bundle (LoadError)
from...
2006 Jul 31
0
rescue_action_in_public useless to capture low level errors
...capture and handle low levers errors like
this one?
Thanks in advance.
Alain Ravet
Error screen contents:
Can''t connect to local MySQL server through socket ''/tmp/mysql.sock''
(2)
RAILS_ROOT: xxx/test_recover/public/../config/..
/Applications/__my/__dev/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/mysql_adapter.rb:331:in
`real_connect''
/Applications/__my/__dev/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record...
2006 Dec 08
4
Using custom stem analyzer giving mongrel errors
...rails/railties/lib/dispatcher.rb:60:in
`reset_application!''
/Users/raymond/Rails/cart/config/../vendor/rails/railties/lib/dispatcher.rb:116:in
`reset_after_dispatch''
/Users/raymond/Rails/cart/config/../vendor/rails/railties/lib/dispatcher.rb:51:in
`dispatch''
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/rails.rb:84:in
`process''
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/1.8/sync.rb:229:in
`synchronize''
/Applications/Locomotive2/Bundles/standardRa...
2006 Jul 28
3
Forms: handle foreign keys (AssociationTypeMismatch)
...d in a select box. But
when I submit the form, I get the following error:
ActiveRecord::AssociationTypeMismatch in BookingsController#new
Country expected, got String
RAILS_ROOT: /Users/Josh/Webwork/psyguideorg/public/../config/..
Application Trace | Framework Trace | Full Trace
/Applications/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/associations/association_proxy.rb:134:in
`raise_on_type_mismatch''
/Applications/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/ass...
2006 Jul 11
2
Ferret 0.9.4 C extensions and Macbook Pro
...erenced from: /usr/bin/gcc
Reason: image not found
make: *** [analysis.o] Trace/BPT trap
ruby extconf.rb install --remote ferret
creating Makefile
make
gcc -fno-common -O -pipe
-I/Users/ryan/Desktop/building/min/framework/include -fno-common -pipe
-fno-common -fno-common -I.
-I/Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/1.8/i686-darwin8.6.1
-I/Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/1.8/i686-darwin8.6.1
-I. -O -pipe -I/Users/ryan/Desktop/building/min/framework/include -c
analysis.c
make install
gcc -fno-common -O -pipe
-I/Users/ryan/Desktop...
2007 Feb 20
2
rails 1.2.1, locomotive and backgroundrb
Hi
I just tried to move my project to rails 1.2.1 on my locomotive
development setup. It seems that backgroundrb is not willing to start
up anymore. If I switch locomotive back to 1.1.6, everthing is fine.
This is the error I get while attempting to start backgroundrb:
/Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/
powerpc/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'': no such file to load -- slave (LoadError)
from /Applications/Locomotive2/Bundles/
standardRailsJan2007.locobundle/powerpc/lib/ruby/site_ruby/1.8/
r...
2006 Dec 15
1
:job_key acting weird?
...ool.rb:36:in `dispatch''
/Users/caifara/Desktop/polders/vendor/plugins/backgroundrb/server/lib/
backgroundrb/thread_pool.rb:22:in `dispatch''
/Users/caifara/Desktop/polders/vendor/plugins/backgroundrb/server/lib/
backgroundrb/middleman.rb:199:in `new_worker''
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/
powerpc/lib/ruby/1.8/drb/drb.rb:1552:in `perform_without_block''
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/
powerpc/lib/ruby/1.8/drb/drb.rb:1512:in `perform''
/Applications/Locomotive2/Bundles/standardRailsSept2006...
2006 Dec 30
2
error of "no such file to load -- ferret_ext"
I''ve installed the latest version of Ferret (0.10.13) on Mac OS X 10.4.8
(Tiger) and I''m developing using Locomotive2. I installed with:
$ gem install ferret
I have a ferret_test.rb file:
----begin---------
require ''rubygems''
require ''ferret''
include Ferret
index = Index::Index.new(:path => ''/opt/search-index'')
----end-----------
I get an error when I run...
2007 Nov 29
4
collection.build or collection.create gives "ArgumentError: wrong number of arguments (1 for 0)"
...name"=>"", "end_at"=>nil,
"updated_at"=>nil, "published_at"=>nil, "user_id"=>nil,
"created_at"=>nil}, @new_record=true>
>> s.tasks.build
ArgumentError: wrong number of arguments (1 for 0)
from /Applications/Locomotive2/Bundles/
standardRailsMar2007.locobundle/i386/lib/ruby/gems/1.8/gems/
activerecord-1.15.3/lib/active_record/associations/
has_many_association.rb:13:in `initialize''
from /Applications/Locomotive2/Bundles/
standardRailsMar2007.locobundle/i386/lib/ruby/gems/1.8/gems/
activerecord-1.15.3/lib...
2007 Oct 05
7
Trouble with text_field_tag
I am trying to implement a basic login page:
login.rhtml
1 <fieldset>
2 <% form_tag do %>
3 <label for="name">Name:</label>
4 <%= text_field_tag :name, params[:name] %>
5 <label for="password">Password:</label>
6 <%= password_field_tag :password, params[:password] %>
7 <%= submit_tag
2007 Feb 27
15
Ferret 0.11.1-rc2
Hey guys,
Just released Ferret 0.11.1. Hopefully this will fix *most* of the
problems people were having. Now that I know gcc hides stack overflows
on Ubuntu because -fstack-protector is set, I won''t get caught by that
one again. Anyone know any other gotchas I should be aware of on
Ubuntu.
Please try the new version and let me know if you are still having
problems with it. I have until
2006 Sep 25
9
acts_as_ferret highlight
I am getting nil returned when doing the following:
r.highlight(@condition, :field => ''body'')
''r'' is an instance of the a_a_f model. ''body'' is a tokenized saved
field.
I am running latest ferret and a_a_f trunk. Am I doing something wrong?
--
Posted via http://www.ruby-forum.com/.
2006 May 05
3
exception_notification plugin not sending mails in development on localhost
Hi everyone,
So, I''ve got exception_notification working now, but not in
development mode on localhost. In my ApplicationController, I''ve
added:
local_addresses.clear
Shouldn''t that be enough?
Thank you!
Sean