Displaying 20 results from an estimated 70000 matches similar to: "rails: command not found"
2011 Jan 20
4
No command 'rspec' found
I installed rspec on Linux Ubuntu 10.04, but no command ''rspec'' is
found. Perhaps the PATH is wrong. What is the correct search path?
The following was copied from my terminal. Thank you for taking a look:
~$ sudo gem install rspec --version 2.0.0
~$ gem list --local
*** LOCAL GEMS ***
rspec (2.0.0)
~$ ls /var/lib/gems/1.8/gems
rspec-2.0.0
~$ printenv PATH
2009 Oct 06
7
rails: command not found on Debian lenny
I installed ruby gems from their website and installed rails using gem
install rails
I got a successful installed notification.
But when I tried to use rails command, it gave me command not found.
After I installed gems. I had to create a symbolic link otherwise gem
command wouldn''t work.
Anyone know how to get rails to work?
Thanks!!
2011 Aug 31
2
Rails 3 - Require - Path Not Found
I have:
Windows XP Professional SP3
Ruby 1.8.7
Rails 3.0.10
Bundler 1.0.15
ImageMagick 6.5.6 Q8
Rmagick 2.12.9
My gemfile:
gem ''rmagick-2.12.0-x86-mswin32'', ''2.12.0'', :path => ''c:/sites/
uplodify/vendor''
My controller:
require ''RMagick''
Here I have installed my rmagick gem:
2007 Dec 12
0
Mongrel-users Digest, Vol 23, Issue 4
Thanks for the help Sean. I managed to get the install fixed, but I''m
still having problems. When I do mongrel_rails start, the process just
gets stuck and never completes. If I interrupt it I get the
following...
** Ruby version is not up-to-date; loading cgi_multipart_eof_fix
/usr/lib/ruby/1.8/rubygems/source_index.rb:186:in `search'': Interrupt
from
2010 May 09
7
"File not found: lib" installing rails-3.0.0.beta3 on my Mac
I''ve always distrusted the ruby and rails installs on my Mac (oOS X
10.6.3) -- sudo gem cleanup can''t seem to get rid of old gem versions
(lots of Gem::InstallError: cannot uninstall).
Because of that, I don''t trust the rails beta3 install I just
completed. Here''s the story:
* config is Apple''s ruby 1.8.7 and gem 1.3.6.
* xcode is installed from
2006 Jan 20
0
Newbie installation problem: gem [command] --remote
Hi, i am a newbie to RoR. I downloaded Ruby 1.8.2-15 Windows installer
yesterday and trying to install following Curt Hibbs'' Rolling with Ruby
on Rails(http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html). My
OS is Win XP SP2 and the 1st step installation was fine.
D:\rg\xampp\ruby\bin>ruby -v
ruby 1.8.2 (2004-12-25) [i386-mswin32]
Next I was going to install rails remotely,
2010 Dec 26
1
Sqlite gem not found with rails3
Hello,
I am migrating a rails app to rails3, however I am hanging with an
error about gem not found.
Error message:
Could not find sqlite3-ruby-1.3.2 in any of the sources
(Bundler::GemNotFound)
Exception class:
PhusionPassenger::UnknownError
When I do
$ gem list sqlite3-ruby-1.3.2
*** LOCAL GEMS ***
(and the same result with sudo gem list )
However, when I do
gem list
2012 May 12
0
Running Ruby on Rails with cPanel/machighway.com not working
Hi All,
I am a first time Ruby on Rails user/developer – and am having
trouble setting it up on a web server. The hosting service I use is
www.machighway.com. Rails version is 2.3.14, ruby version is 1.8.7.
I tried following the tutorial at: http://guides.rubyonrails.org/v2.3.11/getting_started.html
Except for the main page – all my pages are not returning anything. I
would love it if
2009 Jun 17
2
validates_uniqueness_of fails on STI in Rails 2.3.2
I''ve got something like this:
class Position < ActiveRecord::Base
end
class CartItem < Position
validates_uniqueness_of :product_id
end
When I try to save CartItem I get this error:
ArgumentError: wrong number of arguments (1 for 2)
from
/home/joaz/.gem/ruby/1.8/gems/activerecord-2.3.2/lib/active_record/validations.rb:758:in
`exists?''
from
2009 Nov 03
2
Problem with gem install and rails update
Hi everyone.
I''m new to Rails and have been trying to learn something listening to
Ryan Bates'' podcast.
I have tried to install the authlogic gem, inserting the extension as
a dependency in the environment.rb file as requested.
But, when I run ''sudo rake gems:install'' I get an error: wrong number
of arguments.
I''ve pasted the trace blow.
Then
2007 Dec 04
0
Freezing Rails 1.2.6 & rubygems 0.95 Problems
Freezing to 1.2.6 appears to be broken right now for two reasons. My
environment is using rails 1.2.6 and rubygems 0.9.5 Attempting to
freeze to 1.2.6 with this will result in this output & error:
% rake rails:freeze:edge TAG=rel_1-2-6
...
** Invoke rails:freeze:edge (first_time)
** Execute rails:freeze:edge
A vendor/rails/railties
. . .
A vendor/rails/activesupport/MIT-LICENSE
2006 Apr 17
1
Error with installing rails/gems on ubuntu-dapper
I am getting an error when trying to install rails on dapper. It looks
like it partially installed something. Mainly the issue seems to be
with ''gems''?
I am using:
ruby-1.8.4
gems 0.8.11
Is this bad?
bbrown@england:~/rubygems-0.8.11$ sudo gem install rails
--include-dependencies
Attempting local installation of ''rails''
Local gem file not found: rails*.gem
2007 May 08
1
Can't get Ruby on Rails with Apache and FastCGI
Hi!
Environment
=========
Solaris 10
Apache 2.2.0 with fcgid_module
Ruby 1.8.4
Rails 1.2.3
I am trying to get FastCGI working. Initially I used "dispatch.cgi"
successfully but when I switched to "dispatch.fcgi" I get
====================================================
Application error
Rails application failed to start properly
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
>
2010 Jan 20
1
CRITICAL: Rails 3 error : parser.bundle unhandled exception!!!
kristian-mandrups-macbook-pro:rails3_apps kristianconsult$ rails my_r3
create
create README
create .gitignore
create Rakefile
create config.ru
create Gemfile
create app
...
kristian-mandrups-macbook-pro:my_r3 kristianconsult$ script/console
/Users/kristianconsult/.gem/ruby/1.8/gems/json-1.1.9/ext/json/ext/
parser.bundle: unhandled exception
2007 Jun 19
1
fastthread errors on Debian Etch
Hi all,
I am strangely getting errors on Debian Etch on a Intel server though
I had done an identical install of mongrel-1.0.1 on an amd64 version
of Etch.
While building fastthreads I get:
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
ruby extconf.rb install mongrel
creating Makefile
make
gcc -I.
2010 Mar 04
1
Newbie problem with installing rails.
Installed Ruby fine, works fine. Windows, 1.8.6
Fire up RubyGems to install rails.
gem install rails
Various success messages to screen.
Open a command line.
rails test
Ton of creates ... OK.
cd test
ruby script/server
Get a message saying I''m trying to run 1.3.2 and I''ve got 1.3.1 and I
should run gem update --system
Go to RubyGems and run ''gem update
2011 Sep 22
3
uninitialized constant Spec::Rails (NameError) when running spec command
I get the following error when trying to run a spec command on a model
test.
The command is :- C:\Rspec Test\spec\models>spec bank_account_spec.rb
The error is :-
c:/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-rails-1.3.0/lib/spec/rails/
matchers/ ar_be_valid.rb:2: uninitialized constant Spec::Rails
(NameError) from c:/jruby-1.5.0/lib/ruby/gems/1.8/gems/rspec-
rails-1.3.0/lib/spec/ra
2007 Jun 26
1
Installation issues - rails non-existant...
So, I installed ruby1.8 and gems via apt-get on Debian Etch and typed
the usual
"gem install rails --include-dependencies".
Got a success message in the process and proceeded to install the
postgresql-driver to connect to the database via
"gem install postgres".
I had forgotten to get the development-packages, though (which yielded a
lot of errors but told me that the
2006 May 18
1
Unnecessary Gem modules loaded under Rails 1.1.2
All,
Rails 1.1.2
Win XP Pro
Rubyful Soup 1.0.4
htmltools 1.0.9
I am terribly confused as to what pulling in a gem does with respect to
how many modules get loaded at runtime.
I am using two gems in my app, Rubyful Soup and htmltools.
RubyfulSoup requires one module from the htmltools gem
(html/sgml-parser).
My app requires the RubyfulSoup gem.
When I started my app, something was causing