Displaying 20 results from an estimated 2000 matches similar to: "index.erb vs rhtml"
2008 Oct 02
1
acts_as_taggable_on environment issues
Like most people, I''ve got two machines: one for development and one
for production. I''ve done everything I can to make sure the ruby/rails
environments are the same, but of course they''re not identical (I''ll
get into that in a moment). The error that I''m getting happens when I
call a method in a background task controller on the production
machine; I
2010 Apr 15
1
Problems with rake
I receive an error when I try to create or setup database using rake
command. Rake is installed.
Error: bash: /opt/local/bin/rake: /opt/local/bin/ruby: bad
interpreter: No such file or directory. Is it not in the path but how
come I can to gem list show the gems?
Please help
gem list
*** LOCAL GEMS ***
actionmailer (2.3.5, 2.2.2, 1.3.6)
actionpack (2.3.5, 2.2.2, 1.13.6)
actionwebservice
2010 Apr 11
10
rake db:create uninitialized constant Mysql::Error
I have yet to find a solution for this issue I have tried multiple
things that I have found on google, but yet have i found a solution. If
someone could help me and point me in the right direction I would be
much appreciated.
Thanks.
rake aborted!
uninitialized constant Mysql::Error
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)
** Invoke rails_env (first_time)
**
2010 Dec 06
57
Which RoR to run on Mac OS X for a particular RoR app.
I am extremely new to RoR, I am. I am slowly but surely learning Ruby
and the Rails concepts but the environment is confusing.
I have an application that was written for my company in RoR. It is on a
ubuntu server that is going to be shut down. I want to move the app to
my two Macs (one Leopard and one Snow Leopard). We want to keep the app
to demo a business concept but it can run locally
2011 Mar 16
19
Uninitialized constant Files::Magick -still around
Hi there,
I''m solving the problem about the plugin Magick. In my app in Gemfile
I''ve follwoing:
require ''rubygems''
require ''mongo''
require ''RMagick''
include Magick
and in a model Files:
class Files
def self.save(upload)
...
img = Magick::Image.read(''public/data/nature6.jpg'').first
end
end
2008 Apr 06
4
no more mongrel on leopard!
Hi! I''ve got a problem: just changed my mac, now I run leopard. Just
updated original gems to rails 2.0.2 and cleaned up each of them. But,
when I run script/server, there''s no more mongrel. It starts up webrick!
I want mongrel, since it''s better for debug.
How can I substitute it? Below is a sudo gem list:
actionmailer (2.0.2)
actionpack (2.0.2)
actionwebservice
2011 Mar 18
6
Could not find sqlite3
I am trying to get Ruby/Rails running on my mac but having some issues.
I created a new rails project "blog_test" trying to get something
working.
When I follow this guide
http://guides.rubyonrails.org/getting_started.html it says to do a
"db:create". This is where I get this error...
Could not find gem ''sqlite3 (>= 0)'' in any of the gem sources listed
2008 Jan 26
14
Introducing facebooker.yml
If you are using facebooker as a plugin, you can now have all your
configuration in one place, namely config/facebooker.yml. You can
create this file with rake facebooker:setup. It is also generated
when you install it as a plugin.
It has a similar setup to database.yml with sections for each
environment. You can also configure your ssh reverse tunnels.
If you are upgrading, make sure to
2008 Nov 07
11
Rails requires RubyGems >= 1.1.1 : problem
Hello,
On my local machine (Mac OS X 10.5.5), I get the following error when I try
to run script/server start :
"Rails requires RubyGems >= 1.1.1 (you have 1.0.1). Please `gem update
--system` and try again."
The Rails app was a former 1.2.6 upgraded to 2.1, and it worked fine.
I''ve run the rake rails:update command.
If I create a new Rails app, it starts with the command
2009 Jun 10
5
uninitialized constant ActiveSupport::Cache (NameError)
Hi
After having updated some GEMS I get `load_missing_constant'':
uninitialized constant ActiveSupport::Cache (NameError) on starting
the server of a freshly generated rails project.
Before, I already had Rails 2.3.2 projects succesfully running, now
all of them generate this error.
These are my GEMS:
actionmailer (2.3.2, 2.2.2, 2.1.2, 2.1.1, 2.1.0)
actionpack (2.3.2, 2.2.2, 2.1.2,
2009 Jul 20
9
rake error
When I run rake test:units I get this error:
292 tests, 350 assertions, 2 failures, 13 errors
rake aborted!
Command failed with status (1): [/usr/local/bin/ruby -I"lib:test" "/
usr/loc...]
This error just showed up yesterday --- I have no idea how I caused
it. Here is my gem list in case that helps:
actionmailer (2.3.2, 2.2.2)
actionpack (2.3.2, 2.2.2)
activerecord (2.3.2, 2.2.2)
2009 Jan 22
8
From Instantrails to the Mac
Hi,
I am a Newbie to Mac and Rails.
I have a rails apps made using instantrails in windows, and have
been trying to transfer it to a mac.
I am using Leopard and installed mac ports and Xcode.
I copied the folder from rails_apps and added all the gems.
Anything else I need to do? Any Ideas?
Thank you!
This is the set of errors that I am getting after starting the server:
Exiting
2009 May 29
1
Book Shelf app in 'Ruby on Rails Bible' book
I''m trying to follow through with the Book Shelf app that''s in the
''Ruby on Rails Bible'' book and I''m at a point where I''m trying to
install Ruby/Amazon. I downloaded the Ruby/Amazon and extracted it as
instructed. Now I''m at the step where I need to drop into a Ruby
console to verify the Ruby/Amazon installation.
In the console I
2011 Apr 16
17
Rails 3 Crashing On Windows 7
Hi guys,
I have Rails 3 running on Windows 7 with Ruby 1.9.2
Every now and again, my server crashes, and I see the following
information in the windows event log:
Faulting application name: ruby.exe, version: 1.9.2.180, time stamp:
0x4d5ee5ed
Faulting module name: msvcrt-ruby191.dll, version: 1.9.2.180, time
stamp: 0x4d5ee5ec
Exception code: 0xc0000005
Fault offset: 0x0011a00e
Faulting process
2009 Mar 22
1
Problem running autotest in rails 2.3
People,
I''m trying to run autotest on rails 2.3
I get a NoMethodError.
Here is what I see:
Sat Mar 21 20:47 /b/tmp/myfc23 maco$
Sat Mar 21 20:47 /b/tmp/myfc23 maco$ autotest
loading autotest/rails_rspec
./vendor/plugins/rspec/lib/autotest/rspec.rb:24:in `initialize'': undefined
method `failed_results_re='' for #<Autotest::RailsRspec:0x1205b88>
(NoMethodError)
2009 Apr 14
6
SQL Server via DBI/ODBC configuration
I have followed the cookbook on http://wiki.rubyonrails.org/database-support/ms-sql
but am having problems with the rails part. I can connect to the
database using sqsh so I think all the freetds plumbing is good. When
I try to connect to the db with a rake db:migrate or just using script/
console I get this error:
>> Client.find(:first)
DBI::InterfaceError: Unable to load driver
2015 Aug 21
2
Cannot print on Centos 6.7
Hello everyone,
I have been scouring the Internet for answers, wikipages, non-Centos
pages, and I am stumped.
I have a HP LaserJet P4014n. When I plugged it in via USB cable, it found
it as a P4014, but in any case, it simply wouldn't print, so I deleted it,
and tried to start from scratch.
When I manually add the printer, it seems all is well, but it won't
print a test page. In my
2007 Oct 30
7
RSpec Texmate Bundle errors
I''ve the same problem as Alastair when running rspec command :
http://lists.macromates.com/pipermail/textmate/2007-October/022585.html
../spec/mate/runner.rb:34:in `run'': undefined method `parse'' for
Spec::Runner::OptionParser:Class
I fixed this for me by changing the offending line to :
::Spec::Runner::CommandLine.run(argv, STDERR, stdout)
(see
2010 Mar 24
3
How to include a ruby gem environment.rb file?
I''m doing a Web Service Based on a page I found
(http://blog.complitech.net/web-services-basics-ruby-on-rails/) using
the rails version 2.3.4, the web service is already working, but when
working on a version Previous:
RAILS_GEM_VERSION = ''2 .0.2 ''unless defined? RAILS_GEM_VERSION
I can not run the service.
On the previous page, there''s a part that says:
3)
2010 Aug 29
1
Re: Trouble with libgsm on Mac OS X 10.6.2
Code:
Apple_PubSub_Socket_Render=/tmp/launch-mcYObM/Render
BASH=/bin/bash
BASH_ARGC=()
BASH_ARGV=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="2" [2]="17" [3]="1" [4]="release" [5]="i386-apple-darwin9.0")
BASH_VERSION='3.2.17(1)-release'
CLICOLOR=true
COLUMNS=270
COMMAND_MODE=unix2003
DIRSTACK=()