Displaying 20 results from an estimated 3000 matches similar to: "Problem launching WEBrick in Rails"
2011 Jul 18
1
rails server being aborted due to mysql lib file not available
Hi,
My system has the following :
MacOs Leopard
Rails 3
Ruby 1.9
Mysql 5.1.58
mysql2 ruby gems
My problem is that when i give "rails server", the task aborts with
the foll error
rails server/Users/nisha/.rvm/gems/ruby-1.9.2-p180@rails3/gems/
railties-3.0.5/lib/rails/script_rails_loader.rb:11: warning: Insecure
world writable dir /usr/local/bin in PATH, mode 040777
2013 Nov 26
2
'$ rake db:create' don't work!
Hey guys,
I''m new to learning RoR and I try to do a database with mysql and I
have a problem.
First I create a a folder in my desktop and after with command in the
terminal on Mac Os Mavericks I create a project:
rails new vota_prato -d mysql
after I will try to create a database with this command:
$ rake db:create
and I have this error:
MacBook-Pro-de-Romenig:vota_prato romenig$ rake
2011 Dec 08
3
Problem with running "WEbrick"
Hi
After I installed ruby 1.9.2p290(with rubyInstaller) on windows 7 and
connected MySQL to it ( I checked it
and it worked ) I installed rails then I create a project on
"C:\Users\Amiref\Documents\Sites\simple_cms"
with this order : "rails new simple_cms -d mysql"
then when I use "rails server" to run webrick I saw this error on
command prompt :
"rails.bat :
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
>
2013 Jul 13
1
Rails and MySQL
I''m trying to use MySQL instead of SQLite3. I have MySQL installed on my
pc. Do I need to ran something in the ruby to use MySQL?
C:\>rails new MySQLRestaurant --database=mysql
C:\>cd MySQLRestaurant
C:\MySQLRestaurant>rails generate scaffold review poster:string
date:datetime ar
ticle:text
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11-x86-mingw32/l
2012 Feb 08
3
An error occured while installing mysql2 (0.3.11), and Bundler cannot continue.
error information occurred when I execute "rails new demo1 --
database=mysql"
MY environment below:
Mac OS 10.4.11,
Ruby 1.8.7
Rails 3.2.1,
Gem 1.8.15
mysql5 Ver 14.14 Distrib 5.1.61, for apple-darwin8.11.1 (i386) using
readline 6.2
mysql (2.8.1)
Please help me, thx!
more detail message as follows:
Installing mysql2 (0.3.11) with native extensions
2013 Apr 13
2
running rails on my linux mint
Hi
i cannot start my rails server webrick and i m just start learning rails ..
the error i get is:
> /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/script_rails_loader.rb:11:
warning: Insecure world writable dir /sbin in PATH, mode 040777
/var/lib/gems/1.8/gems/bundler-1.3.5/lib/bundler/runtime.rb:216: warning:
Insecure world writable dir /sbin in PATH, mode 040777
=> Booting WEBrick
2012 Dec 25
3
ERROR : An error occurred while installing mysql2 (0.3.11), and Bundler cannot continue.
I am a php programmer, learning ruby on rails
I am using ubuntu 10.10. i am not so fine with linux.
i have installed ruby, gems etc.
I want to make app with using mysql.
I have used *$ rails new clogs_web_app -d mysql* to make app but
the process stops with this statement *Gem::Installer::ExtensionBuildError:
ERROR: Failed to build gem native extension.*
it give me error : *
An error occurred
2011 Oct 21
7
Error while install mysql2 in windows 7
hello i have problem while install gem mysql2 in windows 7 i have got
error
An error occurred while installing mysql (0.3.7), and Bundler cannot
continue. Make sure that ''gem install mysql2 -v ''0.3.7'''' succeeds before
bundling.
Please help me i want to codding with rails :)
--
Posted via http://www.ruby-forum.com/.
--
You received this message because
2012 Feb 06
3
Bundler - how to re-install all gems after os update?
I had a working Rails setup using RVM on Ubuntu 11.10 with /home on a
separate partition. I installed Ubuntu 12.04 (Alpha) on the root
partition, leaving the home partition unchanged. I now find that some
things don''t work, I think due to the fact that the system has been
updated and versions of libraries have changed. For example I get:
$ rails c
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 Aug 09
5
Bundle Install failing on deployment
Hi,
I have upgraded an app to 3.1.0.rc5 and everything is fine locally.
When I try to deploy with capistrano, bundle install fails with the
following output:
** [out :: westminster-agency.co.uk] Fetching source index for
http://rubygems.org/
** [out :: westminster-agency.co.uk] which: no sudo in (/usr/local/
sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin)
** [out ::
2011 Jun 21
2
`exec': wrong number of arguments (ArgumentError) when using bundle exec
Hi! I''m trying to make a migration, but when I do "rake db:migrate" tell me
this:
You have already activated rake 0.9.2, but your Gemfile requires rake 0.8.7.
Consider using bundle exec.
Then, I use a bundle exec, but I have other error:
`exec'': wrong number of arguments (ArgumentError)
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler/cli.rb:346:in
2013 Aug 29
5
Problem when using bundle exec rake with Launchd
Dear all,
I am developing a web harvesting server which requires regularly
website parsing. Since I use Mac 10.8 as my development environment, I
try to use Launchd to routinely wake up my parser. My parser was a bash
script which has only two lines:
1. cd $HOME/ProjectFolder
2. bundle exec rake dailyTask:dataParse
When directly execute the script under Terminal, there is no
problem.
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 Feb 20
2
Problem with mysql2 gem and Debian
Hi Guys,
I''m having an issue with deploying my application and the mysql2 gem.
I am developing on Windows 7 with Ruby 1.9.2 and Rails 3.0.3.
On my local machine in development environment the application runs
just fine. But when I want to deploy it on our production server I get
an error message from passenger.
"Please install the mysql2 adapter: `gem install activerecord-mysql2-
2010 Sep 23
3
Can't install mysql2 gem on Windows 7
I am new to Ruby and have tried and failed several times installing
mysql2 gem on my windows 7 OS. I checked several forums for solutions
but still couldn''t get that installed. can someone help my out please?
below is the error:
c:\>gem install mysql2
Building native extensions. This could take a while.
ERROR: Error installing mysql2:
ERROR: Failed to build gem native
2014 May 15
0
composite primary key - Rails 4.1
Hi,
I am facing issue with composite primary key
In my gem file I have the below entries -
gem 'rails', '>= 4.1.0.rc2'
gem 'mysql2'
gem 'rb-readline', "~> 0.5.1"
gem 'sdoc', '~> 0.4.0', group: :doc
gem 'spring', group: :development
gem 'bcrypt', '~> 3.1.7'
gem
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?
2011 Apr 20
6
rake db:create fails
Hello folks,
I´m here trying to find the way to solve my problem.
When i try to run
rake db:create or rake db:create:all
the process stops and the databases are not created.
I change the directives, putting --trace before the rake db:create and
the steps are
C:\appws\cookbook>rake db:create --trace
(in C:/appws/cookbook)
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)