Displaying 20 results from an estimated 3000 matches similar to: "Bundle installs/Cannot run dbconsole"
2011 Feb 21
1
authlogic problem
I can''t get authlogic to work.
(https://github.com/binarylogic/authlogic)
i''ve installed it,
i''ve put the following in environment.rb:
config.gem "authlogic"
''gem list'' gives:
*** LOCAL GEMS ***
abstract (1.0.0)
actionmailer (3.0.3, 2.0.2)
actionpack (3.0.3, 2.0.2)
activemodel (3.0.3)
activerecord (3.0.3, 2.0.2)
activeresource (3.0.3,
2010 Sep 28
1
Run 'rails console' no problem, but not 'rails dbconsole': Couldn't find database client: psql.
It''s one of those things that seems like it should work but does not. My
rails app (and ''rails console'') clearly knows where my data is as I can see
my data.
When I run ''rails dbconsole'' I can not get in, I get this error: Couldn''t
find database client: psql. Check your $PATH and try again.
Up to now I just log in to pgsql directly and I am
2010 Dec 08
1
NoMethodError: `bytesize' for 200:Fixnum (with Rails-3.0.3)
Thanks to Rails developer team.
I tried Rails3 along this guide:
Ruby on Rails Guides: Getting Started with Rails
http://edgeguides.rubyonrails.org/getting_started.html
and I met the problem described as following.
...Any ideas?
===========
Environment:
===========
$ ruby -v
ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-darwin9.8.0]
$ rails -v
Rails 3.0.3
===========
Steps for reproduce:
2006 Nov 04
0
gem install sqlite3-ruby error
when i install typo on debian, appear error like this, could you tee
me how to fix this bug?:
debian:~# gem install sqlite3-ruby
Need to update 4 gems from http://gems.rubyforge.org
....
complete
Select which gem to install for your platform (i486-linux)
1. sqlite3-ruby 1.1.0 (mswin32)
2. sqlite3-ruby 1.1.0 (ruby)
3. sqlite3-ruby 1.0.1 (mswin32)
4. sqlite3-ruby 1.0.1 (ruby)
5. sqlite3-ruby
2010 Mar 24
2
server wont start
In my command line I type script/server and I get the following error
below:
/usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:826:in
`report_activate_error'': RubyGem version error: rack(0.9.1 not ~> 1.0.1)
(Gem::LoadError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:260:in `activate''
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:67:in `gem''
from
2005 Feb 09
1
cant map foreign key in list view
Hi
I have been struggling to get a foreign key in a list map to a readable
value in a lookup table
I have a list of projects and each project has a project_manager.
Project.rb
class Project < ActiveRecord::Base
has_one :project_manager, :class_name => "Users", :foreign_key =>
"manager_id"
end
The association above sais that a project_manager is in
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
2012 Oct 21
0
rails g problem
When I enter rails g, I get the bunch of logs behind.
Any idea what I''m missing?
I though it''s trying to install minitest, so I manually installed it.
Still this error persists.
$ rails g
gem install minitest
/Library/Ruby/Gems/1.8/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'': no such file to load -- minitest/unit
2011 Oct 30
2
Could not find rails (>= 0) amongst [bundler-1.0.21]
Hello, I''m new to Ruby and unix/linux development (although been
building .net apps for years).
I''ve almost completed my trek to install Rails ... looks like I have one
final hurdle. After installing rails I try the ''rails -v'' command and
it fails. Any help here would be deeply appreciated.
Here''s the output from my bash session:
bash-3.2$ ruby
2011 May 15
0
Upgrading to Rails 3.1
I''m working on updating my rails 3.0.5 app to rails 3.1.0.beta1 and I
seem to be running into a problem when doing `rake rails:update` when it
runs `rake rails:update:javascripts`
Here is my bundle:
Gems included by the bundle:
* RedCloth (4.2.7)
* actionmailer (3.1.0.beta1)
* actionpack (3.1.0.beta1)
* activemodel (3.1.0.beta1)
* activerecord (3.1.0.beta1)
* activeresource
2010 Sep 07
1
unicorn_rails and rails 2.3.8
First off, I love unicorn. Thanks to all who have worked on it.
For the first time, I am trying to run a rails 2.3 app with unicorn. I don''t understand what is not set correctly. I have rails 2.3.8 and dependencies installed. I am sure it is something simple.... See output below.
Much thanks!
Matt
config/environment.rb
...
RAILS_GEM_VERSION = ''2.3.8'' unless defined?
2012 Jan 15
2
DEPRECATION WARNING: Passing a template handler in the template name is deprecated. (rspec + haml)
I upgraded a small project that I had created on 3.1.3 to 3.2.0.rc2.
Running rspec on it brings about a large amount of these messages:
DEPRECATION WARNING: Passing a template handler in the template name is
deprecated. You can simply remove the handler name or pass render :handlers
=> [:haml] instead. (called from block (2 levels) in <top (required)> at
2011 May 06
1
scaffold didn't work
i am using rails -v 3.0.7.when i tried "rails generate scaffold try
name:string number:decimal" , it gave following error message
invoke active_record
/usr/lib/ruby/1.8/yaml.rb:133:in `load'': syntax error on line 7, col
2: ` pool: 5'' (ArgumentError)
from /usr/lib/ruby/1.8/yaml.rb:133:in `load''
from
2012 Jun 14
1
Cucumber/RSpec ::: Capybara? Webrat What am I using??
Hey everybody
I''m currently reading through the Pragmatic Programmers RSpec book, and
I really enjoy it.
But I’m facing some problems because of the fact that the book is
already some years old, I guess. I have installed rvm and use Ruby
1.9.3, and I didn’t really get some Rails code examples to work
properly, so I tried it with a 1.8.7 installation, but there I had some
other problems
2011 Aug 15
3
- WEBrick server refuses to launch
Running Ruby 1.8.7, Rails 3.0.7 on a Windows 7 machine - tried going
through an upgrade to Ruby 1.9.2 over the weekend, but ran into
issues, so have since gone back to 1.8.7. After restoring my app and
re-installing all of the gems, the application finally launches with
rails s:
=> Booting WEBrick
=> Rails 3.0.7 application starting in development on http://0.0.0.0:3000
=> Call with -d
2011 May 25
1
can't load hpricot gem in rails 3
This is in windows ..
So from irb, I can load hpricot ok. (ruby 1.8.7)
C:\Users\Laurence\rails-play\plug-test>irb
irb(main):001:0> require ''hpricot''
LoadError: no such file to load -- hpricot
from (irb):1:in `require''
from (irb):1
irb(main):002:0> require ''rubygems''
=> true
irb(main):003:0> require
2012 Dec 28
3
git push heroku master error
allo vous tous vois l''erreur
Counting objects: 66, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (52/52), done.
Writing objects: 100% (66/66), 26.30 KiB, done.
Total 66 (delta 3), reused 0 (delta 0)
-----> Ruby/Rails app detected
-----> Installing dependencies using Bundler version 1.3.0.pre.2
Running: bundle install --without development:test
2010 Dec 08
1
Help on install act_as_ferret on windows XP
Hi There!
Im trying to install act_as ferret on win xp, with this
environment:
winXP
ruby : 1.8.7
rails: 2.3.8
gem list:
abstract (1.0.0)
actionmailer (3.0.1, 2.3.8, 1.3.3)
actionpack (3.0.1, 2.3.8, 2.3.2, 1.13.6, 1.13.3)
actionwebservice (1.2.6, 1.2.3)
activemodel (3.0.1)
activerecord (3.0.1, 2.3.8, 2.3.2, 1.15.6, 1.15.3)
activeresource (3.0.1, 2.3.8)
activesupport (3.0.1, 2.3.8, 2.3.2, 1.4.4,
2010 Dec 10
0
Encoding issues when uploading files
Hello everybody,
I have some troubles with uploading files in my Rails project.
I use Rails 3, Ruby 1.9.2, rack 1.2.1, and both webrick / passenger on
apache
I was investigating and have isolated the strange behaviour on a
simple empty project:
view:
<% form_tag({:action => ''upload''}, :multipart => true) do %>
<%=text_field_tag :desc %>
2011 Sep 18
0
Two Separate Issues: rails generate
Hi folks.
I am just starting rails and have two current issues. I have installed everything, I think, and (first) I''m having permissions feedback upon rails generate:
> $ rails generate
> /Library/Ruby/Gems/1.8/gems/railties-3.1.0/lib/rails/script_rails_loader.rb:11: warning: Insecure world writable dir /Library/WebServer/Documents in PATH, mode 040777
>