Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I'm trying to install the capybara gem on OS X. The issue is I am running MAMP, and do not wish to run rails due to potential conflicts. How can i install a gem? Where would a Gemfile even be without a application folder?
I don't know what kind of conflicts you expect from running Rails app and MAMP.
But if you have ruby install on your mac then you simply can install gem with:
gem install capybara
Although I can't understand how would you use it out of rails app environment.
RVM will be definitely better.
After you will install RVM run this:
rvm use 2.2.0#my_gemset --create
gem install capybara
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
What is the real purpose of installing composer and node.js, and the npm install?
composer is the dependency manager for php laravel framework. Look at this link for more infomation on this: https://www.tutorialspoint.com/laravel/laravel_installation.htm
Node js : like #ceejayoz said, it is not mandatory for laravel but may be needed to hook up some external tools.
If by non install you meant npm install, npm is the package manager for node js (npm stands for nodejs package manager). This is a tool that lets you install several packages that work with nodejs. According to the npm website, npm lets you discover and re-use over 470,000 free code packages in the npm Registry.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
When I got to make a clean install of my system I asked myself, again, this question.
What is the best way tools to use for my local development, install MAMP or install the stack with homebrew?
Even though 'best' is highly relative depending on what each and everybody needs and how they like to work, I would like to get some thoughts from people who tried them both, what they finally chose and why.
Personally, I chose this time to not use MAMP and install php, mysql and (not yet) phpmyadmin using homebrew.
The pros, it's simple and fast to install, even better to update. Painfull to update MAMP.
The cons, having the homebrew.mxcl.mysql daemon running and having to manually start-stop processes like apache and mysql while there is just a button on MAMP.
But still, how about installing and using both?
Would I enjoy the best of both worlds or am I looking for troubles and headaches?
Thanks y'all...
I did this a hundred of times... !
Using MAMP or WAMP is fair enough for beginners but you'll stick to their configuration(s) and tricks which make you a bit dependent of their products. This is only my opinion but I would prefer to install a homebrew configuration.
When installing services such as MySQL, PHPMyAdmin, Apache+PHP or NGINX+PHP/PHP-FPM you will learn much more things. You'll be independant as you go through the installation and read the documentations. You can also simplify the work for futher installation by:
1) Creating some general pre-set configuration files
2) Creating your own installation script(s)
And voila !
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Back in November I installed my own PHP setup, for version 5.4.9. I thought I had removed it, but apparently not. In December I reinstalled it with yum install php54, and all its packages.
Now I have a problem where CLI seems to be using the custom PHP install, and the main site is using the yum install. I want both the CLI and the site to use the yum install, which is now 5.4.10.
When I do php -v in the CLI, it shows 5.4.9, so I do know it is using the wrong PHP install. This is causing a lot of issues because the custom install didn't have mysqli installed with it, and it had ftp disabled.
Does anyone know how I can remove the custom install and relink the CLI to the new yum install?
I am using CentOS.
How did you install the "custom" one? This is a very broad question, but here's some general advice:
Where is it installed? which php can tell you. You can use this to figure out how to uninstall it. For instance, it could be in /usr/local or /opt.
Then, edit your $PATH variable to put the place where the PHP you want is before the one you don't want. This will make the PHP you want run first, at least.
If you compliled the custom PHP, you might be able to remove it with something like make uninstall.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
My ultimate, simple goal, is to install Wordpress.
Unfortunately, Wordpress requires PHP 5.2.4 or greater, while the server my site is hosted on is only running 5.2.17. When I contacted Earthlink, they said they couldn't update it, but that I could.
However, after a little bit of searching, I'm not sure where to begin. I have very little command line experience, and no Linux experience. I'm not even sure what flavor of Linux they're using. Does anyone know of any walkthrough guides or tutorials?
The odd thing is, Earthlink has a Wordpress installer built in to their control center (I'm opting for an FTP install, because I want to install in a subdomain). So alternatively, can I get away with installing on the server with PHP 5.2.17? If they're doing it, why can't I?
Thanks,
Scott
I don't think you understand PHP versions. PHP 5.2.17 is a newer version than 5.2.4. Wordpress should work just fine on 5.2.17. Have you run into issues while installing it?
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
So I'm trying to get Tidy2.0 installed on my Karmic, following this guide:
http://www.howtoforge.com/forums/archive/index.php/t-7395.html
I figured everything would work, but it seems the source for Tidy2.0 is no longer live:
http://support.office-shadow.com/installer/tidy2.0.tar.gz
That site is still live though (office-shadow.com, namely), but it doesn't seem like they're hosting the extension anymore. Thus, I'm hoping someone here has it sitting somewhere on a box. Please? Help?
Thanks.
sudo aptitude install php5-dev libtidy-dev
#you may have to install other libs, like gcc, build-essential, etc.
#see the guides on how to compile PHP, for instance
svn co http://svn.php.net/repository/php/php-src/branches/PHP_5_3/ext/tidy/
cd tidy
phpize
./configure
make
sudo make install
Basically, I just replaced http://support.office-shadow.com/installer/tidy2.0.tar.gz with the repository location. If you're using PHP 5.2, replace PHP_5_3 with PHP_5_2.