similar to: Script/Server working but Script/Console not working

Displaying 20 results from an estimated 10000 matches similar to: "Script/Server working but Script/Console not working"

2009 Mar 21
6
script/console: "no such file to load -- application.rb (MissingSourceFile)"
Here''s what I get when I try to use the console with the current facebooker: First I make a simple app: rails foo -d mysql cd foo script/plugin install git://github.com/mmangino/facebooker.git Then I go to config/environment.rb and change the rails version to ''2.2.2'' Then I run the console: script/console and I get: [17:56][herdrick:~/rails/foo]$ script/console
2008 Jun 30
3
script/console sqlite3
I hope this is in the right place, if not just point me to the right place, please. I''m running through this tutorial: http://developer.apple.com/tools/developonrailsleopard.html and everything went swimmingly until I got to the point where I had to do some db stuff in script/console. I enter what the tutorial tells me to vendor1 = Vendor.create(:name => ''Parties R
2009 Oct 04
2
no such file to load -- restClient (MissingSourceFile) HELP
i don''t get what is going on here. if i run the restclient command that starts an irb with restclient it works fine but when i try to load it from environment.rb with require ''rest_client'' this is what i get... it''s driving me batty. /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'': no such file to load --
2009 Apr 06
1
Seeking help with basic installation
Hi all, Please help me.In my first attempt to creat a simple controller and working with hello world program.I got some error though I have my action and view correctly....... In general..When I type http://localhost:3000/ I can get the welcome page.But when I see the "About your application Envinorment"..I get some error as following.. MissingSourceFile in
2009 May 11
3
daemons load activesupport 2.2.2 instead of 2.1.0, causing failure
Hi, I have a couple of daemons that im trying to setup to be run for my app. The environment load is as follows.. ENV["RAILS_ENV"] ||= "development" require File.join(File.dirname(__FILE__), "/../../config/environment") And the error I get is #<LoadError: no such file to load -- active_support> #<Gem::Exception: can''t activate activesupport (=
2006 May 03
2
How do you use the ''vendor'' directory with 3rd party libraries?
Hi, I''m wondering how to use the ''vendor'' directory in a Rails app. I know that you can put plugins and engines into the ''vendor/plugins'' directory and that svn:externals can be used for that, but I was wondering how & where I put a 3rd party library? My specific case is the pdf-writer code, which I''d rather have inside my app than as a
2007 Jan 20
2
Rails 1.2.1 console not working
I''m running Rails 1.2.1, Ubuntu Server 6.10 and my console isn''t running... same project checked out via SVN runs in console on my Windows machine. error: brian@rails-server:~/work/mediabump$ ruby script/console Loading development environment. /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/console.rb:25:in `exec'': No such file or directory - irb -r
2010 Mar 03
2
Memcached: "no such file to load -- memcache-client" when running script/console
Hi folks. I''ve started down the memcached path and everything was running grand until I decided to start up my console. I have manually installed libevent 1.4.13 and memcached 1.4.4 into /usr/local, following which I sudo gem installed memcache-client and SystemTimer. development.rb has been modified to do caching with the mem_cache_store. The memcached process seems to work and my
2006 Dec 29
2
Gems looking in the wrong dir
Hello, When I tested out SVN 1987, puppetmasterd barfs because gems is looking in puppet/rails/lib no puppet/rails. This is under FC6 with gems/rails installed from source. The simple fix for me was to create the directory lib and link the files in /puppet/rails there. .r'' Original error: # puppetmasterd --debug /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
2007 Jan 28
0
tzinfo on dreamhost - help?
Hey everyone - I googled till my face was blue and finally managed to update my setup at dreamhost to run "local" gems. Installed the tzinfo gem from a mirror and updated my app to Rails edge. I fired up the console in my app to check if my subsequent install of tzinfo worked out and here''s the output. $ ruby script/console Loading development environment. >> gem
2005 Nov 18
2
Migrate Ubuntu Rails App to Fedora?
I developed a small RoR app on my Ubuntu laptop and I just tried to migrate it to my "production" box which is Fedora FC3. I moved the entire rails app. I received this error when I tried to get the first page: [2005-11-17 15:36:00] INFO WEBrick::HTTPServer#start: pid=32546 port=3000 192.168.0.61 - - [17/Nov/2005:15:40:01 EST] "GET /freesql HTTP/1.1" 200 0 - ->
2008 Apr 21
2
problem on running the server
hi all, an application that was written in ror is running in my off and i have to set it up in my local machine for some enhancement work.after setting it up in my local machine i started the server but its showing error like this :- => Booting WEBrick... ./script/../config/../vendor/rails/railties/lib/commands/servers/webrick.rb:12: warning: already initialized constant OPTIONS
2008 Oct 22
0
active_adaptor (MissingSourceFile)
Hi, Need a small help. Which package has "active_adaptor"? Below is detailed error message. The line "require ''active_adaptor''" is failing in compiler.rb. /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'': no such file to load -- active_adaptor (MissingSourceFile) from
2006 Aug 29
2
"Broken pipe" and "no such file to load -- irb"
I just switched my rails app, which I had previously been running on my pc, to my linux server and have decided to use mongrel. However, since doing so I get an error when I first access the app saying "no such file to load -- irb". After I refresh this error goes away, but I keep getting the following errors in my logs, and I''ve noticed that certains things, like sessions and
2007 Jun 14
4
Can''t run RSpec files in TextMate
Hi Not sure if this is the place to ask this or not. I''ve upgraded to RSpec 1.0.5, installed the latest TextMate bundle, but whenever I do "Run Behaviour Descriptions in selected files/directories" I get this: /Users/ashleymoran/Library/Application Support/TextMate/Pristine Copy/ Bundles/RSpec.tmbundle/Support/lib/spec_mate.rb:18:in `run_files'': private method
2009 Sep 23
6
Dreamhost launch issues. What gems are used in my rails app?
Hi guys, I made a quick app for a family member to be deployed on Dreamhost (low budget). It''s my first time deploying on DH so I''m not familiar with the restrictions. I''m having an issue where I''ve been able to get git on both systems and used capistrano to deploy the app. However migrations fail. I also tried exporting my local staging mysql schema and
2007 Sep 11
0
ruby script/console hangs on cygwin
>ruby -v script/console ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-cygwin] Loading development environment. What I did was 1) install latest cygwin files 2) download and install rubygems from <http://rubyforge.org/frs/? group_id=126> 3) gem install rails --include-dependencies rails test cd test ruby script/console How can I debug this ? It looks like it''s hanging forever.
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
2006 Nov 22
1
rspec_on_rails (MissingSourceFile)
Hi there, I''ve installed rspec, rails plugin & generators thusly: $ sudo gem install rspec $ sudo gem install rspec_generator $ sudo gem install zentest -v 3.4.1 $ ./script/plugin install svn://rubyforge.org/var/svn/rspec/tags/REL_0_7_2/vendor/rspec_on_rails/vendor/plugins/rspec $ ./script/generate rspec $ ./script/generate rspec_model ModelName With Rails version: $ rails
2006 Aug 23
8
acts_as_ferret with Mongrel and Edge Rails
Hi there, Has anyone tried acts_as_ferret with Edge Rails and Mongrel? When I install the plugin to a project that has Edge Rails frozen, and the Mongrel gem installed, I can''t start the server. There''s no error, it just doesn''t start. I''ve used acts_as_ferret in the past with WEBrick, and stable Rails releases without a hitch. If I remove the